Make a bamboo script task execute #!/bin/bash or /bin/ksh

Good day

Could someone please explain to me how this can be achieve?

We are running:

Bamboo version information
Version5.11.1.1
Build number51117
Build date 4/28/16

and need to run /bin/bash or /bin/ksh in Bamboo script task. I have tried the solution in the other post listed in the site, but did not seem to work. Please help!!!! :( I cant seem to find the link for the action below:

- extracted from https://community.atlassian.com/t5/Bamboo-questions/Making-a-Bamboo-Script-execute-using-bin-bash/qa...

 add a new builder from the builders admin menu {URL}/admin/agent/viewBuilders.action

2 comments

Sam Hall Community Champion May 12, 2017

Hi Julio, is this a dupllicate of your question from earlier here?:

https://community.atlassian.com/t5/Bamboo-questions/Making-a-Bamboo-Script-execute-using-bin-bash-or-bin-ksh/qaq-p/586627

There's no need to post the same thing as both a question and discussion.

Probably better if people just respond to your original question rather than here. 

Try something like this

/usr/bin/env ksh <<EOF

echo "Hello, World!"

EOF

Comment

Log in or Sign up to comment
Community showcase
Asked yesterday in Data Center

Hi! I'm Cameron Deatsch, enterprise enthusiast and Head of Server at Atlassian. AMA!

Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. At our European Summit just a few weeks ago, I spoke about the latest regarding our Server and Data center products and o...

11,545 views 2 4
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