-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: Windows XP
Upgraded to 1.334 and encountered a problem with using a custom workspace:
FATAL: Failed to mkdirs: D:\devtools\Hudson\N:\
java.io.IOException: Failed to mkdirs: D:\devtools\Hudson\N:\
at hudson.FilePath.mkdirs(FilePath.java:744)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1004)
at
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:431)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:378)
at hudson.model.Run.run(Run.java:1176)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:123)
I have the custom workspace set to N:\ which is a substed drive on a Windows XP
machine. Not sure if the substing is relevant, but figured I'd mention it (I'm
guessing not). Rolling back to 1.333 fixed the issue for me.
This is caused by:
https://hudson.dev.java.net/source/browse/hudson?view=rev&rev=23656
It does check for absolute path, so it shouldn't append your N:\ onto the root
dir of the node... however, the check for absolute is "[A-Za-z]:
.+" which
means it assumes there is at least one character after the backslash.. in your
case there is none. I'll change it to .* so your path here will be recognized
as absolute.