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
Posted 13 hours ago in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

18 views 0 1
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