[Buildbot-devel] addstep question

Duncan Ferguson duncan_j_ferguson at yahoo.co.uk
Fri Apr 27 15:00:07 UTC 2007


That looks perfect, thanks.  Didn't spot it in the manual before.

   Duncs

On 27 Apr 2007, at 15:54, Charles Lepple wrote:

> On 4/27/07, Duncan Ferguson <duncan.ferguson at altinity.com> wrote:
>> I have set up an SVNPoller and factory to build a set of packages,  
>> but I
>> would like to include the branch name as part of the step, i.e.
>>
>> opsview.addStep(
>>         shell.ShellCommand,
>>         command=["make","VERSION=<branch name or 'trunk>"],
>> )
>>
>>
>> Is this possible in BuildBot 0.7.5?  Is there some kid of macros
>> substitution available for this kind of thing?
>
> sounds like you're looking for "step.WithProperties", which
> interpolates strings with build properties (and I think the branch can
> be used, although it may be empty if it's the default branch).
>
> -- 
> - Charles Lepple





More information about the devel mailing list