Triggers for environments



I would like to ask for some suggestions in the next case. Thanks!

I have to implement this automatic CI/CD pipline in Bamboo:

-build+unit tests

-deploy to Dev

-run e2e tests on Dev

-if successful, deploy to QA

-run e2e tests on QA

-if successful, deploy to Staging.


I have created:

-1 build plan for "build+unit tests"

-1 deployment project with 3 environments

-3 separate build plans for e2e tests, each of them has a successful deployment to Dev, QA, Staging as a trigger 

So far so good.

But, I cannot figure out how to create a trigger on QA environment to start deployment only if my plan with e2e tests are green on Dev.

I have found 4 available triggers on environment level, but none of them allow to use a different plan (in my case a plan with e2e tests) as a trigger.

Did I misunderstand a concept of project/plans/environments/ triggers? Do you have ay idea how to solve this?


1 answer

Out of the 4 triggers, there is "after successful build plan" trigger. But the trigger doesnt give you the option to choose a different plan, it takes the source plan by default.

Just a thought. You can create another deployment project "B" with QA env only. Then add your trigger to "B" to start after successful build. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events