[Buildbot-devel] Re: Re: release clock started. Still problems with properties

Niklaus Giger niklaus.giger at member.fsf.org
Tue May 23 10:58:29 UTC 2006


Brian Warner wrote:

>> Then I tried to use the properties. I can only use the 'slavename'. All
>> others get me exceptions. My master.cfg had entries like this:
> 
> We probably need some better examples in the docs. Many of the lines
> you've commented out have incorrect syntax:
> 
>>         #WithProperties("build-%(branch)",  "branch"),  "branch",
> 
> This should be expressed as:
> 
>  WithProperties("build-%(branch)s"),  "branch",
> 
> (note the additional 's', and the lack of additional arguments to
> WithProperties)
> 
<..>
> Try this syntax and see if it works better. I'll add these notes to the
> docs.
Thanks a lot. This works better. But the property mentioned in the
texinfo "buildnumber" is not working. Did you forgot to add a setProperty 
in  buildbot/process/base.py as I did see there a setProperty for all the
other properties.

Best regards and many thanks for your explanation.
----
Niklaus Giger 





More information about the devel mailing list