The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events