[Anthill-pro] Set ChangeSet to Perforce

Steve Boone sbb at urbancode.com
Fri Jul 27 08:59:56 CDT 2007


Uldis,

To be able to specify the changeset, at the time you start a build will
require a workflow property.  Properties can be set by using
${property:changeset}

In your source configuration, set your label script to be your property.
One you have your property set, you will also need to configure your
property in your workflow.  Go to the workflow you wish to use the property
with, and click the properties tab, and then New Property.  Here you can
enter the name of your property (in this example, "changeset") and a value.
You will also want to check the "user may override" box, and most likely
(since you are using this as a changeset) the "is required" box.

Changelogs will not be created until after the first build, and then,
depending on the status you have chosen for the changelog you may not get
one until your first successful build.  You can edit this setting from the
Main tab of your build job.

Regards,
Steve Boone




On 7/27/07, Uldis Karlovs-Karlovskis <uldisk at ctco.lv> wrote:
>
> Yes I`ve got the point that ChangeSet & Label terms are missed in Anthill
> -
> they are not the same in Perforce but this works (don`t know about real
> labels).
>
> So for every needed changeset I need to copy new project or create one
> label
> script for all projects which somehow gets the number of needed changeset.
> The best thing would be the field in dashboard to build project with
> specific ChangeSet number or with Latest source (default). Are there any
> suggestions or other solutions?
>
> One other problem where I`m stucked in is error on "Get ChangeLog" step in
> every project on every buildlife " INFO  199 2 - First build life of
> project
> ACTP. Get change log step skipped."
>
> Uldis, C. T. Co
>
> -----Original Message-----
> From: anthill-pro-bounces at lists.urbancode.com
> [mailto: anthill-pro-bounces at lists.urbancode.com] On Behalf Of Eric Minick
> Sent: ceturtdiena, 2007. gada 26. jūlijā 18:26
> To: AnthillPro user and support list.
> Subject: Re: [Anthill-pro] Set ChangeSet to Perforce
>
> Hi Uldis,
>
> I believe the suggestion is to edit the source configuration in your
> project rather than the populate workspace step in the job.
>
> -- Eric
>
> Uldis Karlovs-Karlovskis wrote:
> > As I said before - I`ve tried to set changeset number manually but then
> it
> > is trimmed and sync anyway works with @head (to be correct - on
> commandline
> > this argument is removed at all so it syncs to head). To be correct -
> I`ve
> > tried number witch is binded to ChangeSet without any wildcards and '@'
> > because this symbol adds AntHill.
> >
> > In Configuration there is a comment: " Specify a date that will be used
> to
> > populate the workspace.
> > Format is: yyyy.MM.dd HH:mm:ss z.
> > You can use a script here." so this is not surprising me but I would be
> > grateful for workaround.
> >
> > Uldis, C. T. Co
> >
> > -----Original Message-----
> > From: anthill-pro-bounces at lists.urbancode.com
> > [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Jason
> Schatz
> > Sent: ceturtdiena, 2007. gada 26. jūlijā 17:32
> > To: AnthillPro user and support list.
> > Subject: Re: [Anthill-pro] Set ChangeSet to Perforce
> >
> > Uldis,
> >
> > I believe if you place the ChangeSet Number in the label script field it
> > will use the @<ChangeSet> value instead of @<date>.
> > Hopefully that is what you were looking for.
> >
> > Let me know if you have any other issue or if this doesn't solve your
> > problem.
> >
> > Thanks,
> > Jason
> >
> > Uldis Karlovs-Karlovskis wrote:
> >
> >> Hello!
> >>
> >>
> >>
> >> Is it possible to sync with Perforce to specific ChangeSet not Date
> >> Time witch Format is: yyyy.MM.dd HH:mm:ss z.
> >>
> >> I`ve tried to set changeset number manually but then it is trimmed and
> >> sync anyway works with @head
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Uldis
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Anthill-pro mailing list
> >> Anthill-pro at lists.urbancode.com
> >> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >>
> >>
> >
> > _______________________________________________
> > Anthill-pro mailing list
> > Anthill-pro at lists.urbancode.com
> > http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >
> >
> > _______________________________________________
> > Anthill-pro mailing list
> > Anthill-pro at lists.urbancode.com
> > http://lists.urbancode.com/mailman/listinfo/anthill-pro
> >
> >
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070727/16b3a160/attachment.htm


More information about the Anthill-pro mailing list