[Anthill-pro] Recipient generator
'CommittingDevelopers'delieversempty list.
Steve Boone
sbb at urbancode.com
Tue Mar 18 08:35:21 CST 2008
Ronald,
are you seeing builds getting correctly marked successful or failure?
On 3/11/08, Ronald Barrett <ronald.barrett at venyon.com> wrote:
>
> Hi Steve,
>
> I have configured the Lifecycle as you commented and re-added it to the
> job. This job is in the job library, if that makes any difference. I am
> attaching a bitmap with the 'Most Resent Status Assignments' and the 'Recent
> Activity' tables. I can only see the match of the 'success' status in the
> Status Assignments to the complete in the Recent Acitvities. I tried adding
> a few Statuses to see if that would make any difference but it hasn't
> changed.
>
> The only other thing I can think of is the scripts used to set the status
> at the end of the build. This is what we are using to set a failure.
>
>
> *return* Fail.unless(
> Logic.and(
> Logic.not(
> Logic.or(
> Output.contains("BUILD FAILURE"),
> Output.contains("BUILD ERROR")
> )
> ),
> ExitCode.is(0)
> )
> )
>
>
>
> Regards,
>
>
>
> Ron
>
>
>
>
>
> ------------------------------
> *From:* anthill-pro-bounces at lists.urbancode.com [mailto:
> anthill-pro-bounces at lists.urbancode.com] *On Behalf Of *Steve Boone
> *Sent:* Montag, 10. März 2008 20:42
> *To:* AnthillPro user and support list.
> *Subject:* Re: [Anthill-pro] Recipient generator
> 'CommittingDevelopers'delieversempty list.
>
> Ronald,
>
> Did you change your changelog step, to use the "success" status? If you
> chose failure, then it will look back to the last failed build, and only
> look for changes from there.
>
> You should have
>
> -Added the lifecycle model to the job.
> -Selected "Success" for your Change Log Start Status.
>
> Maybe I misunderstood? Are you saying you have it configured this way and
> it is still erroring?
>
> On 3/10/08, Ronald Barrett <ronald.barrett at venyon.com> wrote:
> >
> > Hi Eric,
> >
> > The life cycle had the stati success, failue, and archived. I addded the
> > lifecycle to the job ( in the job library ) and am still getting this in the
> > changelog setp:
> >
> >
> > change-log-summary: com.urbancode.vcsdriver3.ChangeLogSummary {
> > changeSetCount: 0
> > changeCount: 0
> > latestChangeSetUser: null
> > latestChangeSetDate: 1970-01-01 01:00:00 +0100
> > }
> >
> >
> > If I change the 'change log start status' to 'failure' I get a message
> > in the log to the effect that the change log step was skipped as this is the
> > first build.
> >
> >
> > Regards,
> >
> > Ron
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: anthill-pro-bounces at lists.urbancode.com [mailto:
> > anthill-pro-bounces at lists.urbancode.com] On Behalf Of Eric Minick
> > Sent: Montag, 10. März 2008 17:45
> > To: AnthillPro user and support list.
> > Subject: Re: [Anthill-pro] Recipient generator 'Committing
> > Developers'delieversempty list.
> >
> > Ron,
> >
> > It sounds like you might be missing statuses in your life cycle. Could
> > you check to see if the lifecycle you have selected has any statuses in it?
> > If it does, I would drop the existing changelog step and re-add it.
> >
> > If you are missing the statuses, you would need to add some (like
> > "successful" for successful builds) and add an assign status step at the end
> > of your builds that assigns the status of the build to successful if
> > everything has passed.
> >
> > Regards,
> >
> > Eric
> >
> > Ronald Barrett wrote:
> > > The Get changelog start status is set to 'Make Selection', as there is
> > > no other selection to make and the Quiet period is set to 'Change Log
> > > Quiet Period'
> > >
> > > Ron Barrett
> > >
> > > ----------------------------------------------------------------------
> > > --
> > > *From:* anthill-pro-bounces at lists.urbancode.com
> > > [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of *Steve
> > > Boone
> > > *Sent:* Montag, 10. März 2008 17:13
> > > *To:* AnthillPro user and support list.
> > > *Subject:* Re: [Anthill-pro] Recipient generator 'Committing
> > > Developers'delievers empty list.
> > >
> > > Ronald,
> > >
> > > On your get changelong step, there is a "Get changelog start status" ,
> > > what do you have that set too?
> > >
> > > Also, how do you have your Quiet Period configured on the project?
> > >
> > > Regards,
> > > Steve Boone
> > >
> > > On 3/10/08, *Ronald Barrett* <ronald.barrett at venyon.com
> > > <mailto:ronald.barrett at venyon.com>> wrote:
> > >
> > > Hi,
> > >
> > > I am working on setting up notifications and am unable to get the
> > > Committing Developers Recipient generator to deliever a list of
> > > commiting developers.
> > >
> > > I am not sure if I missed something in the documentation or what
> > > but I can't get this to work. I would like to use this for
> > > notifying our Developers of new builds and there status but don't
> > > want to spam everyone.
> > >
> > > I updated the script to use the
> > > UserLookup.getAllContributors(workflow) as the
> > > UserLookkup.getAllContributers has been depricated.
> > >
> > > We are using AnthillPro 3.4.10 and our repository is Subversion.
> > > I have noticed that my Change Log step generally delivers the
> > > following results.
> > >
> > > change-log-summary: com.urbancode.vcsdriver3.ChangeLogSummary {
> > > changeSetCount: 0
> > > changeCount: 0
> > > latestChangeSetUser: null
> > > latestChangeSetDate: 1970-01-01 01:00:00 +0100
> > > }
> > >
> > > If use same command that is run by AnthillPro on the command line
> > > I get the following:
> > >
> > > svn log ...
> > >
> > > ----------------------------------------------------------------------
> > > --
> > >
> > >
> > > If I run the svn info command I get something like this:
> > >
> > > Revision: 1234
> > > Node Kind: directory
> > > Last Changed Author: <username>
> > > Last Changed Rev: 3456
> > > Last Changed Date: 2008-03-10 10:26:52 +0100 (Mo, 10 Mrz 2008)
> > >
> > >
> > >
> > > Have I missed something?
> > >
> > >
> > > Ronald Barrett
> > > Senior Software Engineer
> > >
> > >
> > >
> > > VENYON GmbH
> > >
> > >
> > >
> > > Email: ronald.barrett at venyon.de <mailto:ronald.barrett at venyon.de>
> > > Willy-Brandt-Platz 2 Phone +49 89 45 21 33 102
> > > 81829 Muenchen Fax +49 89 45 21 33 100
> > > Germany
> > >
> > >
> > >
> > > Geschäftsführer: Oliver Pannke - Sitz der Gesellschaft: München -
> > > HRB 163208
> > > (Amtsgericht München)
> > >
> > >
> > >
> > > _______________________________________________
> > > Anthill-pro mailing list
> > > Anthill-pro at lists.urbancode.com
> > > <mailto: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/20080318/506f1793/attachment.htm
More information about the Anthill-pro
mailing list