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?
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...
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
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!
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