[Buildbot-devel] triggering a build on a particular slave

Vitali Lovich vlovich at gmail.com
Wed Jan 28 16:11:22 UTC 2015


Hi,

I’m trying to set something up but I’m not sure if it’s possible (or perhaps there’s a better suggestion).
I’m trying to create a generic trigger step & then have a project fire a trigger N times.  I have that part working.
The part I’m trying to solve is that sometimes I want to restrict the set of slaves for a particular trigger.
In other words, a project might say “trigger a build with this property & restrict it to machine X”.

Background:
I have a post-merge build that checks out master & queries it for the next steps to run.
This triggers a generic step that does the same except it gives the project back the parameters it gave from the query.
The idea is that I can run N post-merge tasks that are parallelized.

For example, it might be requested to run very expensive regression tests as well as build & tests in a deployment environment.
The idea is the project can request an arbitrary list of tasks.  The expensive regression test we want to limit to a particular machine whereas
all the other steps we can just grab from the pool of available slaves.

Thanks,
Vitali



More information about the devel mailing list