Jenkins 2.332.3
Git Plugin 4.11.2
Windows Server 2019
Microsoft Open JDK 11.0.15
Released As:
git plugin 4.11.3
When attempting to clone a github repository through a FreeStyle project, we are encountering the following error -
FATAL: Illegal char <:> at index 5: https://github.com/FOO-ORG/FOO-PROJECT.git
java.nio.file.InvalidPathException: Illegal char <:> at index 5: https://github.com/FOO-ORG/FOO-PROJECT.git
at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
at java.base/java.nio.file.Path.of(Path.java:147)
at java.base/java.nio.file.Paths.get(Paths.java:69)
at hudson.plugins.git.GitSCM.abortIfSourceIsLocal(GitSCM.java:1399)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1282)
at hudson.scm.SCM.checkout(SCM.java:540)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1215)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:645)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:517)
at hudson.model.Run.execute(Run.java:1896)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
Finished: FAILURE
Rolling back to version 4.11.1 fixes the issue and we are able to clone without issue. Obviously I'd prefer we are on the latest version at all times, but we are unable to test or deploy to production with the latest version of the plugin in use.
is duplicated by
JENKINS-68575Getting Illegal char InvalidPathException for Git plugin
Closed
relates to
JENKINS-68576Fatal error with 2.16.1, is working with 2.16
You are visitor 01402673 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.