The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

George Kovoor
October 9, 2011

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2011

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

stat /xyz/xyz

doesn't work?

George Kovoor
October 9, 2011

stat /xyz/*

doesn't work......

is there support for wildcard characters?

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2011

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

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

George Kovoor
October 9, 2011

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

George Kovoor
October 9, 2011

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

TAGS
AUG Leaders

Atlassian Community Events