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

Adding a new Environment to an existing deployment project

Edited

Hi,

I would like to add a new Environment to an existing deployment project using java bamboo-specs.   I passed to the PlanIdentifier the same existing bambooProjectKey, the same bambooPlan key and the same name, instead of creating a new environment it overrides the existing published one.  That is not what I want.  i want to add the existing deployment and add new environments.

Deployment rootObject = new Deployment(new PlanIdentifier(bambooProjectKey, bambooPlanKey),
deploymentName)

Is there a way to add new environment to an existing published deployment project?  

This is urgent.  Your help is really appreciated.

 

Thank you

 

1 answer

1 accepted

1 vote
Answer accepted

You can export existing deployment project to specs code in the UI. Copy & paste the code and add new environment.

Ok, I will try it.  Thank you Marcin

Suggest an answer

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

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

541 views 1 17
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