The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have Bamboo plan A and Bamboo plan B with branches B1, B2, B3.
How can I set plan A to automatically trigger plan B and all it's branches?
@Vladimir Mikhailov The plan B can be the child plan for plan A. You can configure this via the dependency tab in the setting of plan A
I don't think there is a way to trigger for all branches in plan B. You can trigger with a default branch that is configured via the default linked repository attached in plan B
I have very complicatedly tuned plan B with many branches just to override 1-3 variables (don't wanna multiply plans and support in case of any minor change all of them). And I want every build of Plan A to trigger plan B and all it's branches.
I think it is this ticket https://jira.atlassian.com/browse/BAM-12451 that will be never implemented... But very useful.
I have found checkbox in plan configuration Dependency:
[ ] Enable dependencies for all branches of this plan
(Dependencies are triggered for branches only if there is a branch with the same name within the dependent plan)
But looks like it does not work at all
Yeah i don't think it will unless you write a script at the end of plan A to trigger the rest api to trigger the build of plan B for both 3 branches B1, B2, B3. I think that will be feasible
the reason for having this option enabled for all branch plans is not to reconfigure every time the Parent plan A. Now I have 3 branch plans, but most probably a lot of other guys from Team will create soon ~100... No ideas how to trigger rest API to trigger all branches without mentioning exact names, regexp is most probably will not work...
We know that many of you have been asking for Long Term Support versions for Bamboo, as managing large, complex instances can require plenty of lead time and planning to prepare for an upgrade. To ...