Feature branch builds should only execute unit test stage automatically

In my bamboo instance I have configured a build plan that builds the master branch and all Feature-Branches ("feature*") automatically.

To reduce load on the build machines I want to configure the plan, so that within a feature branch build only the first (unit test) stage of the build will be executed automatically. The second (integration test) stage should have to be executed manually by the developer if needed.

How can I do that within one build plan? Or is the only solution to create another build plan?

(Bamboo v5.6.2)


1 answer

1 accepted

2 votes

Yes, you will have to create another build plan I guess. And since it is about integration tests, maybe you don't need one for each feature branch but have one only for the master?

i.e. the plan branches will only execute unit tests. Master branch will also execute only the unit tests. Then you have an integration build plan, which is also pointed to master, that will execute integration tests. Will that work?

OK, it seems as if another build plan is needed. I think I will copy the existing "master" build plan for the feature-branch builds and reconfigure this copy so that the second stage needs manual interaction. Another nice feature would be, if the second stage could be triggered by the content of the commit comment ("my commit test (IT)"). So the developer doesn't need to go to the bamboo gui to start the stage...

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,815 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you