[Buildbot-devel] Error using WithProperties in ShellCommand description

John Stile john at stilen.com
Thu Oct 2 02:48:54 UTC 2008


On Wed, 2008-10-01 at 21:11 -0400, Charles Lepple wrote:
> On Oct 1, 2008, at 8:24 PM, Dustin J. Mitchell wrote:
> 
> > On Wed, Oct 1, 2008 at 4:41 PM, John Stile <john at stilen.com> wrote:
> >>          description=[WithProperties("%(branch)s")],
> >>          descriptionDone=[WithProperties("%(branch)s:-trunk")]
> >
> > Unfortunately, you can't use WithProperties in these fields.
> > WithProperties only applies to strings sent to the buildslave, and
> > they are "expanded" at that time.
> 
> 
> That said, you could subclass ShellCommand, and override the  
> createSummary method to set descriptionDone at build time.

I spent some time trying to do this.  
In fact, I haven't got too far. 

Is there a better way to get the branch and revision in the waterfall's
description and descriptionDone?

 





More information about the devel mailing list