[users at bb.net] Assigning builds to specific workers?

Chris Spencer chrisspen at gmail.com
Wed Sep 19 22:08:57 UTC 2018


How do you specify a worker to be assigned a build for a specific branch?

I'd like to automate deployments to my staging server, so whenever someone
commits to my "staging" branch, and all tests pass, I'd like to append a
build step that deploys these changes. To ensure that multiple workers
don't try to deploy at the same time, I want only my first worker to be
given the task of building changes for the staging branch.

I can't find anything in the docs that explicitly mentions how I might do
this.

I thought I might be able to use the "nextBuild" parameter on the
BuilderConfig in my master.cfg, and give it a function to skip the build if
it's for staging, but not on the right worker, but it looks that's only run
on the master and not all the workers, so that won't work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20180919/22655c1d/attachment.html>


More information about the users mailing list