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

Execute bash script from Bamboo

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 29, 2020


I am trying to execute several simple bash commands from the Script task in bamboo, but with no luck, I've searched all related answers on the topic, but this didn't help, unfortunately. for instance. 

I also tried 

bash /path/to/some/shell/script/on/bamboo/server/

I need to rm -rf the directory and then move the build directory from bamboo instead. 

I am using bamboo user, the directory owner is bamboo, I even tried to change folder permissions to 777 just for the test, but all the time I receive "Permission denied" in the script task.

I tried to echo $"USER" at the begging of the script, and it gives me the correct result - the user is bamboo. 

I am a little bit confused, could you please help me?

My Bamboo version is 7.1.1

Ubuntu 18.04

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events