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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
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,828 views 0 6
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