-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Jenkins (2.348), Windows Server 2016
Mercurial Plugin 2.16.1
FATAL: Illegal char <:> at index 4:
http://repository:5000/GuiDev/Simba.DataGrid.ChooserService
java.nio.file.InvalidPathException: Illegal char <:> at index 4:
http://repository:5000/GuiDev/Simba.DataGrid.ChooserService
at sun.nio.fs.WindowsPathParser.normalize(Unknown Source) at sun.nio.fs.WindowsPathParser.parse(Unknown Source) at sun.nio.fs.WindowsPathParser.parse(Unknown Source) at sun.nio.fs.WindowsPath.parse(Unknown Source) at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source) at java.nio.file.Paths.get(Unknown Source) at hudson.plugins.mercurial.MercurialSCM.abortIfSourceLocal(MercurialSCM.java:617) at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:576) at hudson.scm.SCM.checkout(SCM.java:540) at hudson.model.AbstractProject.checkout(AbstractProject.java:1217) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:647) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:519) at hudson.model.Run.execute(Run.java:1897) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442)
- relates to
-
JENKINS-68562 Error when Building Project - FATAL: Illegal char <:> at index 5:
-
- Closed
-
Similar issue in the git plugin when running on Windows controllers. Work around is to use the "escape hatch" that disables the security fix to prevent URLs and local directories for checkout on the controller.
hudson.plugins.mercurial.MercurialSCM.ALLOW_LOCAL_CHECKOUT=true