I am setting up a Bamboo build plan which has two repositories. One is for the source, the 2nd repo holds some build scripts that are common across many build plans. I want to have the plan build automatically when the source repo is committed to. If I set the plan to use the 'Stash Repository Triggered' option, the plan is building when either repo is committed to. I don't want the plan to build if the script repo changes.
Is there a way to set up the plan so that it only triggers of off a single repo? It appears that if I use the Polling trigger I could select only one repo to poll, but I'd like to still use the Stash hooks.
Thank you for your question.
You could use "Exclude changesets" where you can enter a regular expression to match the commit messages for changesets that should not start a build.
Please, refer to Linking to source code repositories - Stash documentation for further information.
Alternatively, you could create two plans and make one dependent from another.
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
Rafael P. Sperafico
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...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot