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

Dan Kegel dank at kegel.com
Mon Nov 18 19:38:13 UTC 2013


/me loves max_builds=1.

On Mon, Nov 18, 2013 at 11:29 AM, Steve Hoelzer <shoelzer at gmail.com> wrote:
> 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
>
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing
> conversations that shape the rapidly evolving mobile landscape. Sign up now.
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel




More information about the devel mailing list