[Buildbot-devel] access sendchange --property in an extend process.factory.BuildFactory
Dustin J. Mitchell
dustin at v.igoro.us
Mon Feb 27 16:21:34 UTC 2012
On Mon, Feb 27, 2012 at 10:13 AM, Jonathan Schedler <jschedler at imvu.com> wrote:
> My solution seems cheesy. Is there an orthodox way to dynamically change
> command parameters used in a buildstep based on which properties are set
> using buildbot sendchange --property=key:value? For example, I have a build
> step that is essentially 'python compile.py' by default. I want to
> use buildbot sendchange --property=dryrun:true and change that buildstep to
> be 'python compile.py --dryrun'
Yes - generally that involves customizing the steps themselves with
properties (WithProperties or, in 0.8.6, Interpolate). If there are
cases where a particular step should be skipped (which doesn't seem to
be the case here), then you might use doStepIf.
Dustin
More information about the devel
mailing list