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

Be able to clean workspace before retrying git fetch

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      We use Jenkins' Git plugin to run our tests, but we prefer not to clean workspace before each build and reuse the code in the workspace instead. This makes testing much faster. Unfortunately, sometimes the Git information on the workspace gets corrupted and git fetch no longer works (unrelated to the Git plugin). This means that future build on that workspace will fail unless the workspace is cleaned.

      It would be very good if Jenkins' Git plugin had the ability to clear the workspace before doing a retry.

        Attachments

          Activity

          Show
          ki82 Christian Bremer added a comment - 300$ is up for grabs for solving this issue at https://freedomsponsors.org/issue/614/be-able-to-clean-workspace-before-retrying-git-fetch?alert=SPONSOR

            People

            • Assignee:
              Unassigned
              Reporter:
              henriquer Henrique Rodrigues
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: