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
It looks like you're new here. Sign in or register to get started.