-
Bug
-
Resolution: Fixed
-
Critical
If you create a DefaultDeadBranchStrategy with 0 days to live, and 0 builds to keep, you can easily create a situation where a branch can be deleted while a job on it is active.
When branches are re-indexed, the project will be deleted and interrupt active jobs.
I believe a more appropriate course would be to wait for a branch indexing to run while the project is inactive, a state which once entered it shouldn't leave since the branch was deleted (unless it were recreated).
- is related to
-
JENKINS-32783 Deleting a project does not stop all running builds
-
- Resolved
-
- links to
[JENKINS-25240] DeadBranchStrategy should avoid deleting projects with active jobs
Labels | New: 2.0 |
Priority | Original: Minor [ 4 ] | New: Critical [ 2 ] |
Assignee | Original: Matthew Moore [ mattmoor ] | New: Jesse Glick [ jglick ] |
Labels | Original: 2.0 | New: 2.0-planned |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Link |
New:
This issue is related to |
Component/s | New: cloudbees-folder-plugin [ 18137 ] | |
Component/s | Original: branch-api-plugin [ 18621 ] | |
Labels | Original: 2.0-planned | New: 2.0-planned multibranch |
Remote Link | New: This issue links to "PR 44 (Web Link)" [ 14081 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |