-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
OS X 10.10.1, Ubuntu 14.04.1
If the Configuration Matrix's Name field is empty, the build will immediately fail with:
java.io.IOException: Failed to mkdirs: /ubuntu-x86_64 at hudson.FilePath.mkdirs(FilePath.java:1154) at hudson.model.AbstractProject.checkout(AbstractProject.java:1258) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) at hudson.model.Run.execute(Run.java:1759) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
The line right before makes it seem like it's trying to build in the root directory (probably creating an invalid path somehow):
Building remotely on ubuntu-x86_64 (linux) in workspace /ubuntu-x86_64
When I set the Name to "slaves" (why do I need to set a name anyways?), the line will be:
Building remotely on ubuntu-x86_64 (linux) in workspace /home/jenkins/workspace/myproject/slaves/ubuntu-x86_64
[JENKINS-26141] Failed to mkdirs IOException if Configuration Matrix's Name is empty
Description |
Original:
If the Configuration Matrix's Name field is empty, the build will immediately fail with: java.io.IOException: Failed to mkdirs: /ubuntu-x86_64 at hudson.FilePath.mkdirs(FilePath.java:1154) at hudson.model.AbstractProject.checkout(AbstractProject.java:1258) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) at hudson.model.Run.execute(Run.java:1759) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) The line right before makes it seem like it's trying to build in the root directory (probably creating an invalid path somehow): Building remotely on ubuntu-x86_64 (linux) in workspace /ubuntu-x86_64 When I set the Name to "slaves" (why do I need to set a name anyways?), the line will be: Building remotely on ubuntu-x86_64 (linux) in workspace /home/jenkins/workspace/myproject/slaves/ubuntu-x86_64 |
New:
If the Configuration Matrix's Name field is empty, the build will immediately fail with: {code} java.io.IOException: Failed to mkdirs: /ubuntu-x86_64 at hudson.FilePath.mkdirs(FilePath.java:1154) at hudson.model.AbstractProject.checkout(AbstractProject.java:1258) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) at hudson.model.Run.execute(Run.java:1759) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code} The line right before makes it seem like it's trying to build in the root directory (probably creating an invalid path somehow): {code} Building remotely on ubuntu-x86_64 (linux) in workspace /ubuntu-x86_64 {code} When I set the Name to "slaves" (why do I need to set a name anyways?), the line will be: {code} Building remotely on ubuntu-x86_64 (linux) in workspace /home/jenkins/workspace/myproject/slaves/ubuntu-x86_64 {code} |
Workflow | Original: JNJira [ 160131 ] | New: JNJira + In-Review [ 180264 ] |