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

Wipe out repository & force clone option is broken since GIT plugin version 2.0

XMLWordPrintable

      When using the "Wipe out repository & force clone" option after upgrade to GIT plugin version 2.0 jobs fail with the error "ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.".

      We are seeing this issue on multiple Jenkins installations in combination with the Gerrit Trigger plugin.

      Example job log:

      Triggered by Gerrit: https://.../12345
      Building remotely on .. in workspace /.../job_name
      Wiping out workspace first.
      Cloning the remote Git repository
      Cloning repository ssh://...:29418/...
      git --version
      git version 1.8.4
      ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
      Finished: FAILURE
      

            ndeloof Nicolas De Loof
            epkabeg Andréas Berg
            Votes:
            10 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: