[Buildbot-devel] more than one factory per builder?
Greg Ward
gerg.ward+buildbot at gmail.com
Wed Oct 24 18:51:09 UTC 2007
> Is it possible to have more than one factory per builder? I have a set of
> "clobber" steps that run nightly from a periodic scheduler, it'd be nice to
> use the same builders but a different factory (sharing many of the same
> steps) depending on which scheduler the change came from (the other
> scheduler would be from checkins and run "depend" builds).
I haven't tried this myself, but what about just factoring out the
common build steps? E.g. if you are using 0.7.6:
clobber_step = ShellCommand(name="clobber", command=["clobber"])
...
factory1.addStep(clobber_step)
...
factory2.addStep(clobber_step)
Obviously if you have many such common steps, it might be worthwhile
to factor them out as a list and add them to each factory in a loop.
Or maybe not, if the selection/order of common build steps varies from
factory to factory. It's up to you. Nice having a high-level
general-purpose programming language to write config files in, isn't
it? Can you imagine doing this in XML? >shudder<
Greg
More information about the devel
mailing list