Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68259

Cleanup of deleted branches and closed PRs does not happen automatically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor 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 ?

            Unassigned Unassigned
            richmond Rich
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: