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

Adding a new Environment to an existing deployment project

Dounia M_ A_ March 6, 2021

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
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2021

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

Dounia M_ A_ March 9, 2021

Ok, I will try it.  Thank you Marcin

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events