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

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 ${bamboo.build.working.directory}/* == No such file or directory

any help is much appreciated.

Thanks

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,321 views 0 5
Read article

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