Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,481
Community Members
 
Community Events
168
Community Groups

Change capability_key during job

Hi,

we are using a bamboo-plugin, which needs a custom capability key with a specific installation path. But the installation is getting done during the job, so I have to reset the capability key to the new location of the installation. 

I googled and tried to find a solution, but could not find any. Maybe you guys have any ideas.

Cheers

 

1 answer

1 accepted

0 votes
Answer accepted

Hi @berkan_oeztuerk,

If I understood you correctly, you are trying to configure a capability that will be installed during a build and you don't know the path of it before its installation. Can you confirm that?

If this is the case, the only solution I can think of right now is:

  1. Set the custom capability path with a fixed location prior to the build.
  2. Configure your plugin to use that capability.
  3. Before the plugin runs (after the capability installation is done), make sure you create a symbolic link connecting the fixed path configured before with the new one where your binary will be found.

I hope that makes sense.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events