Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Still unable to deploy to more than one server ?

Hi,

I'm a beginner to Bamboo, so I may missed something. But from what I found, it is not possible to deploy to more than one server per environment, right ?

 

How my deployment looks like : 

  • run a couple command via ssh on  a linux box
  • scp some files into that box
  • run some more commands using ssh

 

the commands, username, sshkey, ... are the same on all of my nine servers, the only think I have to change is the hostname. Do I really have to create 9 "environments" ?

 

If yes, why is it called "environment" ? should be called "server", it would lead to less confusion, I mean for me, an environment should is like Production, Test, Acceptance, ... and each environment should be able to contain multiple servers.

 

Giving that, how can I handle deployment to multiple servers without having to maintain 9 different set of tasks (because, yes, the ssh commands I set in my tasks WILL change)

 

I guess I'm not the only one with such an use case, any advice ?

 

PS. I've tried with the REST API but unfortunately it is not possible to set a variable on a deploy plan, only on a build plan, see https://community.atlassian.com/t5/Bamboo-questions/How-to-send-environment-variables-to-bamboo-deployment-REST-API/qaq-p/726013

1 answer

0 votes

Hi! 

I hope the latest version 6.8.0 will cover your request

https://confluence.atlassian.com/bamboo/bamboo-releases-671089224.html

Also, please, have a look
on marketplace or

https://github.com/atlassian-api/atlassian-python-api

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

573 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you