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

Bamboo Spec Deployment Project. Add new environment without replacing existing environment



Thanks for looking at this post. I am working on a use case where i have various build/deployment plans and many environments already created manually from the front end and i want to use Bamboo spec to dynamicaly add a new environment to all the deployment plans in the system. I am able to create a deployment plan using existing plan key etc but in the case of exisiting deployment plans if i just put the new Environment object in environments() method it deletes the existing environments. I can add all the existing environment object along with the new Environment object in environments() on Deployment Object but i believe it just replaces and recreates the existing environments which i dont want as i am not sure it retains the history for existing ones. Idealy i dont want to touch existing environments at all as PROD is one of them. Any Help would be great.



K Sat

1 answer

0 votes


As long as environment in Bamboo and in Specs match, the existing environment will not be removed, only updated, with all the history retained.

You can use 'View as Java Specs' option in deployment configuration to get the code for all existing environments. Just copy-paste it.

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

171 views 0 4
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