Is it possible to override password in Bamboo SSH task

Ashish Panwar April 11, 2019

Hi All,

We have a situation in our Bamboo plan , where we need to do ssh to two different Linux machine based on release branch ( build for older code happens on lets say BuildMachine1 and for new code happens on BuildMachine1 ).

Bamboo Server connect via ssh to build server in order to execute this.

 

Now for 2 different release we need to connect to 2 different machine ,keeping the jobs/tasks same.

In SSH task, we can over ride SERVER_HOSTNAME , but its not possible to provide password on run time.So in this case somebody has to update all the ssh tasks manually to run build for 2 different branches. 

Not at all a good option !!

Can you please help in case we can achieve this in some other way.

1 answer

0 votes
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 15, 2019

Create two different SSH tasks and then use this app Conditional tasks for Bamboo to disable one of it depending on the branch

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events