Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,878
Community Members
 
Community Events
176
Community Groups

How can I prevent Bamboo branch plans from executing upon creation?

I want a release branch to be created from my release build so it's available for developers to create any needed hotfix branches.   However, I don't want the (newly created release branch) branch plan to execute just upon branch creation.  Only upon the first commit (via pull request from hotfix branch)

How can I stop that execution upon creation?

2 answers

0 votes

Unfortunately the option to "Don't execute upon initial branch detection" is not yet available - please watch and vote for the following issue to raise Atlassian's priority to address this limitation:

0 votes
Foong Atlassian Team Jan 18, 2019

The latest Bamboo have the option When pull request is created for Automatic branch creation.

Which mean the release branch plan will only be created in Bamboo if there is a pull request created.

For more information, refer to Automatic branch management

Understand and thanks for the thought but that doesn't do the job.  My release branch (created upon merge with master) is to be 'branched from' for any potential hotfix branches.  This release branch needs to be present to avoid confusion if hotfixes are needed (creating a hotfix branch from the release branch).  I want the new release branch plan created upon release branch creation but not executed.  Then upon hotfix pull request merge into the release branch, I want the branch plan to execute automatically. 

I attempted your change, making the branch plan to be created only upon pull request.  The results were not what I wanted and a little concerning:

- A branch plan was created... from the hotfix branch, not the release branch.

- No branch plan was created for the release branch

This leaves me with having multiple hotfix branches/plans (which may not ever be integrated back to master) and each coming from the base release .vs. building upon each other in a release branch (without additional scripting).

I just want a 'Don't execute upon initial branch detection' option

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events