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

Can Bamboo plan branch management, re-create branch plans that were auto-deleted?

Mike Curwen NL April 9, 2014

We use Bamboo's plan branches and the auto-management is on. So the text on the UI says:

Bamboo will automatically create Plan Branches when it detects new branches in your version control system and automatically remove Plan Branches from Bamboo after a specified period of inactivity. Detection of new branches runs every 5 minutes

Observed and desired behaviour:

  • New git branch is created, Bamboo creates new plan branch.
  • git branch has lots of activity, plan branch kicks off builds.
  • git branch has no activity for our configured 15 days, plan branch is deleted.

Aww, it doesn't have this behaviour:

  • Git branch receives a commit - :( Bamboo doesn't re-create the plan branch and fire a build.

In other words, we'd prefer the behaviour to be: create new plan branch on new or updated git branches, if no plan branch exists for that git branch. Or - can I enable this, and if so, how?

3 answers

3 votes
AlvinL December 2, 2014

The answer to the original question is: nope

I see that https://jira.atlassian.com/browse/BAM-12161 has been created for this issue. From the comments, it looks like Atlassian isn't really planning on implementing this feature. Please vote for the ticket. If enough users do so, hopefully they'll change their minds.

1 vote
Jesper Skytte Hansen September 29, 2014

+1000 for this issue We're using both Stash and Bamboo, and have set the Pull Request to only be merged when we have at least one successful build. When a branch is deleted in Bamboo and not re-created, we're not able to get a successful build, and I have to disable this check, merge that pull request and enable the check again. If it is not possible to have Bamboo re-create the branch automatically, is there (or will there be) a command to create the branch manually, such that it is not necessary to override these checks?

1 vote
Louwrens September 25, 2014

We would also be very much interested in this option to recreate the plan branch. As a work-around we set the auto-clean up delay to zero (for never clean up).

Also, why is it so that branch-detection is by polling every 5 minutes? We don't like to wait. Can't we change this or configure it to work with a trigger like with auto-builds with new commits?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events