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.
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.