I have a bunch of remote agents and a bunch of projects with different plans. Some of the plans specify that a agent needs a capability (in this case just a variable set to true) to be able to build the plan, which works as suspected.
Unfortunally if you don't specify this capabiliy in you plan, bamboo will take any remote agent it thinks is capable of performing the running the plan.
In my setup the remote agents are managed by individual teams, and they don't like to wait on their build, because other projects are using thier agent.
Is there a way I can make the agent check if a condition is fulfilled and ignore plans that don fulfill the requirements?