I'd like to setup a couple of my remote Bamboo agents to exclusively run a particular plan and not be available for any of my other plans. So for example if I have 10 remote agents set up with phpunit then any plan that requires phpunit sees all these 10 agents as potentially available to run on. But I want to set aside 2 of my remote agents to be sort of unavailable to run phpunit type plans unless the plan being executed is specifically "My Important Integration Plan".
I know you can set a required custom variable like "agent_name" should equal "bamboo.agent.8". But this only makes it so that "My Important Integration Plan" now only runs on bamboo.agent.8, but it doesn't prevent any of the other plans from still using bamboo.agent.8". Besides I want "My Important Integration Plan" to run on either bamboo.agent.8 or bamboo.agent.9.
Is there a way I can exclude certain agents from certain plans?
Thanks Przemek. Looks like the plugin "Group Agent" might solve this for me: https://marketplace.atlassian.com/plugins/com.edwardawebb.bamboo-group-agent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately the Group Agent Plugin isn't available for Bamboo 5.x, is there an alternative?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'd have to:
There'll be a better way of doing this with Bamboo 5 (not sure if the UI for this will be exposed, but it will be doable).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can this be done with Bamboo 5? I've been trialling it and it's a feature I think is sorely missing. The plugin linked in the other comment isn't supported for Bamboo 5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This capability is really important to our company as we begin to roll out Bamboo to our enterprise. I was looking through the latest APIs and noticed I can add a BuildAgentRequirementFilter to Bamboo via plugin. The API has a strong warning that this is for internal use only and writing these incorrectly can severly impact Bamboo's operation.
Taking that warning in stride:
In some ad-hoc experimentation with this API on a dev instance, I noticed that I can return an empty collection of agents from this filter but the plan is still queued on the default agent -- doesn't run, but blocks the queue from other plans running. I can return a null collection which results in a stack trace in the log, but the plan is not queued. What is the proper way to implement such a filter or is there an alternative API to restrict which plans can run on a given agent?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.