[Buildbot-devel] Error using WithProperties in ShellCommand description

Charles Lepple clepple at gmail.com
Thu Oct 2 01:11:47 UTC 2008


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.

-- 
Charles Lepple
clepple at gmail







More information about the devel mailing list