Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,099
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events