[Buildbot-devel] using properties in factories to control creation of steps?
Jim Rowan
jmr at computing.com
Sat Jul 6 03:40:02 UTC 2013
Hi,
I have a variable-length list of items that I want to process. There
are a few buildsteps that I'd execute for each one...
I want to the do the moral equivalent of
<set items from a property>
for i in items:
factory.addStep(ShellCommand(... do something with $i)
...
I didn't try it, but my understanding is that this won't work since
the property isn't available at the time the configuration is read.
Is there an idiom that does? In my search I saw that the Chromium
buildbot sources have a buildfactory class that may do something like
this, but I couldn't follow how it might work.
(We're on 0.8.6p1)
More information about the devel
mailing list