We have a build system where the job from Jenkins runs on one node, but the build on that node then runs processes on two other machines outside of Jenkins' control. I would prefer that the job state which three nodes it is using and reserve their executor. This way I could have three "pools" of machines, and I could run a job on any machine in the first pool, and it uses any available node from the two other pools. I wonder if there's an existing way to request two other nodes of different labels, waiting until they have an executor of course.
Basically, can a job dynamically reserve another node's executor?
Is there another way to do this such that a job has dynamically reserved three machines of different labels?