Details
-
Bug
-
Resolution: Invalid
-
Medium
-
None
-
5.9.7, 5.13.2
-
None
-
Severity 3 - Minor
-
Description
SUMMARY
Bamboo deletes plan branches after expiry period if a VCS branch had been deleted, even if that VCS branch had been recreated afterwards.
SCENARIO
- VCS branch created in repository, e.g. "B1"
- Bamboo detects the branch and creates a plan branch for it
- VCS branch "B1" deleted from repository
- Bamboo detects the deletion of "B1", disables plan branch and schedules it's deletion
- VCS branch "B1" recreated in repository
- Bamboo ignores it and deletes the plan branch after expiry period (e.g. 7 days)
- Bamboo will never re-create plan branch for "B1" automatically
WORKAROUND
- use different branch name
- (available after
BAM-16505) after the plan branch is deleted (after expiry period), manually re-create it in Bamboo
FIX SUGGESTION
Detect that a VCS branch had been recreated and react, e.g.:
- re-enable plan branch & no longer schedule it for deletion, or
- create a new plan branch for it, keeping the old one still in queue for deletion
Attachments
Issue Links
- was split from
-
BAM-16505 Branch clean up deletes new branch if the name is the same with previously deleted branch
- Closed