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

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

      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
      

          [JENKINS-20231] Wipe out repository & force clone option is broken since GIT plugin version 2.0

          Andréas Berg created issue -
          Andréas Berg made changes -
          Description Original: 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
          New: 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:
          {code}
          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
          {code}
          Nicolas De Loof made changes -
          Link New: This issue is duplicated by JENKINS-20257 [ JENKINS-20257 ]
          Nicolas De Loof made changes -
          Link Original: This issue is duplicated by JENKINS-20257 [ JENKINS-20257 ]
          oeuftete made changes -
          Link New: This issue is related to JENKINS-20502 [ JENKINS-20502 ]
          Mark Waite made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151753 ] New: JNJira + In-Review [ 207069 ]

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

              Created:
              Updated:
              Resolved: