This question is in reference to Atlassian Documentation: Dedicating an agent
Dedicating agents to a particular deployment project do not allow that project tasks to run on other available agents even if other available agents meet all requirements for those tasks. This is what is currently happening for one of my depployment projects.
My understanding is that you can force deployment projects/any bamboo build jobs to run on specific agents by defining custom requirements that match agent capabilities, and also that you can dedicate agents to run only certain specific jobs/deployment tasks.
So in my case, i have few agents that we dedicate to run our build projects and deployment projects every time we have one created. So we got a new deployment project and it showed 25 agents available to run it. But we wanted it to run on only our 10 dedicated agents, so we defined custom requirement matching those agent capability and dedicated those 10 agents for this deployment project as well. Then it showed 10 agents capable to run it, but after removing the custom requirement, as per my understanding it should now show availability of 35 agents ,instead of 10, but to my surprise it still shows only 10 agents capable to run it.
Kindly let me know if my understanding is incorrect , because i couldn't find any bamboo documentation that illustrates this. I only see how you can force run jobs/deployment projects on certain agents or how you can dedicate your agents to run only specific jobs/deployment tasks.
Thanks,
Ashley