-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins LTS 2.319.1
GitHub Branch Source 2.11.4
When a multibranch pipeline job, the deleted branches and closed PRs get striked-out but they do no get removed automatically. This results in disk space being consumed for those obsolete branches and PRs. Orphaned Stategy is set as 'Discard old items' checked, with no values in 'Days to keep old items' or 'Max # of old items to keep'.
However, when I manually trigger "Scan Repository Now", all striked-out branches and PRs get removed.
Why are those branches/PRs not getting deleted instead of just being striked out ? How can the cleanup be handled automatically ?
- relates to
-
JENKINS-60677 Option to cancel builds when orphaning items
-
- Resolved
-
[JENKINS-68259] Cleanup of deleted branches and closed PRs does not happen automatically
Link |
New:
This issue relates to |
Summary | Original: Cleanup of deleted branches and closed PRs doe not happen automatically | New: Cleanup of deleted branches and closed PRs does not happen automatically |
This would be valuable for non-GitHub branch sources as well. Implementation strategies were discussed in
JENKINS-60677, which was however resolved without this feature.