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

Suvankar Dey March 23, 2018

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
Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 7, 2018

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
AUG Leaders

Atlassian Community Events