I want to retrieve a custom capability value defined in the 'Bamboo Administration' -> 'Server Capabilities'
in a ChainActionSupport.
What class should I use?
Hi,
You should be able to inject the com.atlassian.bamboo.v2.build.agent.capability.CapabilityContext class into your action. This returns you any capabilities available at the time of calling. As your ChainActionSupport class runs on the server, you will get the server capabilities.
Cheers,
Brydie
Thank you for your advice.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.