Is there any way of assigning a particular build to a remote agent?


#1

Is there any mechanism I can use to assign particular builds to particular remote agents? I’m intending for one time use of each agent.

For example, if I had three jobs from the same plan running concurrently, I would like each of them to run on the specific agent spawned for it.

So far I have tried:

  1. Setting capabilities on agents and requirements on jobs - Didn’t work because all concurrent builds receive the same requirement on the parent plan

  2. Dedicated agent mechanism - Only seems to work for dedicating agents to Project, Plans or Jobs. Not for
    a specified build number