Executing script on bamboo

Aisha August 13, 2019

I want to execute a script file which is stored in the server where I would like my WAR files deployed. It is one of the tasks within the bamboo deployment. What should be my working directory?

1 answer

0 votes
edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2019

Hi @Aisha ,

Bamboo sets it's own working directory based on job key.

For example:

/home/Bamboo-home/xml-data/build-dir/<job>

Specifying Bamboo's working directory

You can also paste your script in the Bamboo script task instead of referencing on server. 

Script Task

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events