-
Bug
-
Resolution: Fixed
-
Medium
-
None
When assigning agents to an environment, agents that are not able to complete all the tasks required are still listed. Our documentation states that "Only agents applicable to the deployment environment will be available for selection," which is not true.
In my test instance, I removed the Ant Capability^agent.png from one of my Remote Agents, and [added a task for Ant to my environment^antneeded.png]. However, the agent it is still listed as a "capable server" when looking at either the tasks view^tasksview.png
for my deployment environment, or when setting a dedicated agent^dedicated.png
for the environment.
This is problematic because Bamboo will chose a capable agent if you do not set a dedicated agent. This is from the "Edit agents" page:
If you do not assign an agent to this deployment, one will be chosen at run time according to standard requirement/capability mappings.
If an agent cannot perform all of the tasks because it lacks a capability, it should not be listed. Moreover, Bamboo will still attempt to use this server, and if it does, the deployment will fail needlessly.
rajinel.prasad@optiver.com.au Unfortunately this fix does not work for Cloud instances. Any other suggestions in this case?