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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.