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

Git plugin could support pruning invalid remote branch references

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Over time the workspace git repository will accumulate a lot of invalid remote branch references – ones that have been deleted from the remote repository, but are still present in refs/remotes/*.

      The git solution to this is to run `git remote prune <git.repo.name>`.

      If this could be an option to use either periodically or before each build, it would be really useful.

        Attachments

          Activity

          hobodave hobodave created issue -
          abayer Andrew Bayer made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 137934 ] JNJira + In-Review [ 204640 ]

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              hobodave hobodave
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: