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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

170 views 1 3
Join discussion

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