You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
We have recently begun experimenting with enabling automatic plan branch creation when a pull request gets created.
However, we are struggling with how that then relates to multiple versions of software. Naturally, over time, we have to add/remove some aspect of our build plans. When we hit one of these times, we currently create a new build plan as a copy of the first and make the appropriate changes to it. We can create a linked repository that points to the appropriate branch (develop, etc) for the new version. The old plan remains in case a patch/hotfix is needed.
However, with the pull request branch creation option enabled, now both build plans create a plan branch and run when a pull request is entered.
A more specific example: You have three branches defined:
There is a Bamboo plan pointed to master. There is another Bamboo plan pointed to develop to build the new components being added. A pull request then gets entered to merge the feature/add-something branch into develop.
Bamboo then creates feature/add-something plan branches in BOTH the "master" and "develop" plans. The master one checks out the feature/add-something commit and attempts to build it, failing.
This seems like it would be a common occurrence. How are others dealing with this type of a situation?
I know this question is a bit old, but I think it worths to link relevant information here. This problem could bee solved with the implementation of the following feature request:
Anyone that thinks this feature is relevant might want to vote on the above feature request to give more visibility to it.