-
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
-
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.