[Buildbot-devel] addstep question

Charles Lepple clepple at gmail.com
Fri Apr 27 14:54:02 UTC 2007


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