Running scripts in bamboo..... A pain..

Is there any way to get Bamboo use the correct path while executing a command. It appears that it adds some quote to a path and ends up displaying "no such file or directory" . For example to run stat on a location /xyz/xyz is there any thing that needs to be done. Is there any documentation on this ..

1 answer

1 accepted

1 vote
Accepted answer

Hmm, so creating a Script Task with an Inline Script:

stat /xyz/xyz

doesn't work?

stat /xyz/*

doesn't work......

is there support for wildcard characters?

Have you typed it in as the script body (correct) or script arguments (incorrect)?

It should work, it's an oridnary shell script.

I have got a set of files under script directory, supprising on checking out these files using bamboo , it loses execute attribute. Fair enough now I am trying to apply these attribute using inline script. here the problem is that it can never find these files.

for example stat ${}/* == No such file or directory

any help is much appreciated.


You are right I have typed it in argument, I just discovered scripts I am playing with this . Is there any documentation on how to setup Bamboo for make build system.

Thanks very much for your help

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,381 views 21 17
View question

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you