-
Bug
-
Resolution: Duplicate
-
Major
When working with many short-lived feature branches, Jenkins can start to eat up a lot of disk space by leaving old workspaces around from old builds.
This seems to be especially true with the Pipeline Multibranch Plugin. When that plugin deletes the job for a branch when the branch is deleted, it should simultaneously clean up any of the workspaces created for that branch job (e.g. "feature-foo", "feature-foo@2", "feature-foo@3", etc).
- duplicates
-
JENKINS-2111 removing a job (including multibranch/org folder branches/repos) does not remove the workspace
-
- Resolved
-
- is related to
-
JENKINS-22240 Workspace folder not renamed/deleted when renaming job
-
- Open
-
[JENKINS-34177] Delete workspaces when deleting a job
Epic Link | New: JENKINS-35386 [ 171179 ] |
Component/s | New: core [ 15593 ] | |
Component/s | Original: workflow-plugin [ 18820 ] | |
Assignee | Original: Jesse Glick [ jglick ] | |
Labels | Original: workflow | New: multibranch workflow workspace |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
Summary | Original: Pipeline Multibranch Not Cleaning Workspaces | New: Delete workspaces when deleting a job |
Link | New: This issue is related to JENKINS-22240 [ JENKINS-22240 ] |
YES! Actually I want to limit a multi-branch pipeline to only keep the 3 most used branches around (like master, and two currently used feature branches).
A "Number of most frequently used branches to keep" setting would be awesome IMO.