[Buildbot-devel] Schedule Builds sequentially

Steve Hoelzer shoelzer at gmail.com
Sat Apr 12 03:52:16 UTC 2014


On Fri, Apr 11, 2014 at 12:25 PM, Nachaat Hassis <nachaat05 at yahoo.fr> wrote:
> Hello,
> i was trying to execute Bulds sequentially but i didnt find a good hint
> in the documentation ..
> I have one Master and many slaves with multiple Builds each ..
> My goal is to execute a list of Builds sequentially even if the previous
> Build has FAILURE as a result.
> When Build1 finishes, Build2 starts. When it finishes, Build3 starts..
> etc ..
> The Result of the Build is irrelevant for the execution of the next build ..

If you're asking how make all builds on all slaves to be sequential, I
don't know how.

If you're asking for builds on each slave to be sequential, but allow
slaves to build in parallel, that's easy. Set the 'max_builds'
parameter of slaves to 1, like so:

    c['slaves'].append(BuildSlave('slavename', 'slavepw', max_builds=1))

Steve




More information about the devel mailing list