[Buildbot-devel] sharing buildsteps
seefeld at sympatico.ca
Wed Nov 21 22:02:55 UTC 2007
Brian Warner wrote:
> But since the original steps are just being used as templates to create new
> ones, if you don't need to modify the steps (just re-use them), you should be
> able to do the following safely:
> checkout = Darcs(repo, stuff)
> test = ShellCommand(stuff)
> package = ShellCommand(otherstuff)
> f1 = BuildFactory()
> f2 = BuildFactory()
> Is that the kind of functionality you're talking about?
Yes, precisely. I hadn't realized the steps didn't have any state beyond
the parameters passed to construction. Thanks !
...ich hab' noch einen Koffer in Berlin...
More information about the devel