Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Change capability_key during job

Deleted user November 13, 2019

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
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 19, 2019

Hi @[deleted],

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
AUG Leaders

Atlassian Community Events