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

Multiple Stages and Deployment need to happen in between stages

arun4d
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 4, 2018

Hi 

How to achieve the following use case with in Single plan.

Plan >>

           (Master branch) Stage 1 >> Deployment (Env Master ) >> Stage 2 >> Stage 3 

           (Feature branch) Stage 1 >> Deployment (Env Feature )>> Stage 2 >> Stage 3 

 

Thanks

Arun 

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 16, 2018

Hi @arun4d,


This configuration can be achieved in a Bamboo Deployment, but it is not automatic. Any environment can run separatedly and build an specific branch configured in your environment trigger. This is what you can do:

  1. Create the env master
  2. Add a trigger (After successful build plan or other) for the master branch as described here:
  3. Create the env feature
  4. Add the trigger for the feature branch as shared here: Deployments from branches - Atlassian Documentation .

If you want a different feature branch to trigger a deployment you will need to add another trigger for that branch.

Usually, environments are not defined per branch, but per virtual/physical environment where you want to deploy your code (e.g. QA, Production, etc). Multiple iterations of the application development and testing could be handled by your plan and the deployment ideally would handle the release candidates and releases or any bugfix that needs to be also released to the end user. That would not happen for all your feature branches, but for specific branches where you need to fix something and deploy.

There is a similar thread about this in this community post: Branch usage in deployment project. There you can find also a feature request that intends add the automatic deployment handing per branch. Please add your comments there and vote o that issue if that represents your needs.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events