Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

199 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you