[Buildbot-devel] run a build on multiple host

Vitali Lovich vlovich at gmail.com
Wed Feb 4 08:49:56 UTC 2015

I have a similar problem & I think I solved it basically the way you described:

For all my slaves I need to run it on, create a builder named “Deploy {}”.format(slave name)
Then they would be configured to only run on that 1 slave.

Then I would have a Deploy builder that can run on any slave that would Trigger all my individual
Deploy builders for each slave.
Then when I need to deploy, I just trigger Deploy.

I don’t think there’s anything more elegant than that unfortunately as a build is pretty tightly coupled to the slave it was
picked to run on.


> On Feb 4, 2015, at 12:34 AM, 154193912 at qq.com wrote:
> Guys, 
> Is there an elegant way to run a 'Build' on multiple slaves?
> I am trying to configure Buildbot as a deploy framework for our java web apps.
> I tried to deploy a package with one 'Build' from another 'Compile & Package Build', 
> it seems that only one of the slaves I set for the 'Deploy Build' will do the real deploy job.
> That is not what I am expecting.
> What I think, 
> 'Compile & Package Build'
>     svn ==checkout==> package slave ==upload==> master
> 'Deploy Build'
>     master
>     |
>     +--  deploy slave 1 : [download package, backup old package, deploy]
>     +--  deploy slave 2 : [download package, backup old package, deploy]
>     +--  deploy slave 3 : [download package, backup old package, deploy]
> I already came up with a silly solution, when the 'Compile & Package Build' finishes,
> it triggers a 'Tiggerable Scheduler', which then triggers a set of 'Tiggerable Scheduler's,
> it sounds like a function call to a list of functions.
> There will be so many builds in waterfall page, if I continue add more apps deploy 
> using this method.
> I just don't feel like I am doing it the right way.
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/_______________________________________________ <http://goparallel.sourceforge.net/_______________________________________________>
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net <mailto:Buildbot-devel at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel <https://lists.sourceforge.net/lists/listinfo/buildbot-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150204/569be94d/attachment.html>

More information about the devel mailing list