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

JulioAmerica May 12, 2017

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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. 

edwin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 12, 2017

Try something like this

/usr/bin/env ksh <<EOF

echo "Hello, World!"

EOF

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events