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.
It's a little counter intuitive and poorly documented, but dedicating an agent is a two-way street. If an agent is dedicated to a build plan, that agent will only run that plan's builds, and that plan will only run on that agent.
This is why whenever possible we try to use capabilities to define what agents a plan should run on, and avoid dedicating agents.
Thanks Tim for the prompt reply.
So does that mean if we dedicate an agent A to run x, y, z plans/deployment projects, then both things happen:-
1) x,y,z can only run on agent A, even if there are other agents capable to run them.
2) Agent A can only run x,y,z unless dedicated to run other plans/deployment projects
So from this i can make sure that i don't need to define custom requirements on these plan jobs/deployment tasks, if i have dedicated agents to run them.Because you meant that would ensure these plans will always run on those agents only.
Is that right?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs