[Buildbot-devel] Build in series, not parallel?

Steve Hoelzer shoelzer at gmail.com
Mon Nov 18 19:29:38 UTC 2013


On Mon, Nov 18, 2013 at 12:25 PM, Jeff Rizzo <riz at tastylime.net> wrote:
> Having needed to do something similar myself, I discovered the
> "max_builds" parameter to BuildSlave() - I set it to 1, and only one
> build at a time is scheduled.
>
> Like so:
>
>      c['slaves'].append(BuildSlave('slavename', 'slavepw', max_builds=1))

Thanks, that's exactly what I need.

I also just found another option: Interlocks.

    http://docs.buildbot.net/current/manual/cfg-interlocks.html

Interlocks are very flexible, and therefore more complicated to
configure, but they could be used to get the behavior I was looking
for.

Steve




More information about the devel mailing list