Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,922
Community Members
 
Community Events
168
Community Groups

How to use "Run customize build" option for SSH task?

When we want to run a single SSH task for multiple env, is there any way to pass parameter in SSH task while running through "run customize build" option ?

1 answer

0 votes

Hi Suvankar,

There appears to be no option to pass custom parameters to an SSH task.

If your intention is to connect to multiple environments via SSH, what you can do is to use a Script task and define your custom environment using plan variables in Configure plan -> Variables(tab) and define the environment hostname like below 

host= env1hostname

and use this variable in your script task

ssh://${bamboo.host}

Now, you can choose Run customized and give a hostname of your preference to override the hostname variable for that build. See Triggering a plan build manually for more info

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

304 views 0 7
Read article

Atlassian Community Events