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

Git clone fails since git client plugin 1.17.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-client-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.605
      Ubuntu 14.04 within a docker container
    • Similar Issues:

      Description

      When updating from 1.16.1 to 1.17.0 I suddenly get the following exception when cloning a workspace:

      Cloning the remote Git repository
      remote: Counting objects
      remote: Compressing objects
      Receiving objects
      Resolving deltas
      Updating references
      Checking out Revision 991f2e24d0b9b02801369a4a1297d08b2b923ef8 (origin/master)
      FATAL: String index out of range: -1
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      	at java.lang.String.substring(String.java:1955)
      	at hudson.plugins.git.GitChangeSet.isoDateFormat(GitChangeSet.java:179)
      	at hudson.plugins.git.GitChangeSet.parseCommit(GitChangeSet.java:118)
      	at hudson.plugins.git.GitChangeSet.<init>(GitChangeSet.java:89)
      	at hudson.plugins.git.GitChangeLogParser.parseCommit(GitChangeLogParser.java:73)
      	at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:67)
      	at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:44)
      	at hudson.plugins.git.GitChangeLogParser.parse(GitChangeLogParser.java:25)
      	at hudson.scm.ChangeLogParser.parse(ChangeLogParser.java:57)
      	at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:906)
      	at hudson.model.AbstractBuild.access$600(AbstractBuild.java:107)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:621)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      	at hudson.model.Run.execute(Run.java:1751)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:89)
      	at hudson.model.Executor.run(Executor.java:240)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ndeloof Nicolas De Loof
                Reporter:
                cbeikov Christian Beikov
              • Votes:
                8 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: