<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>How do you specify a worker to be assigned a build for a specific branch?</div><div><br></div><div>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.</div><div><br></div><div>I can't find anything in the docs that explicitly mentions how I might do this.</div><div><br></div><div>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.<br></div></div></div></div>