windows server 2003 - Jenkins - "Failed to mkdirs", when starting a build -


i trying set jenkins on remote machine. have installed , ready go when try run job, following error:

started user anonymous building in workspace c:\program files\jenkins\"c:\documents , settings\administrator\my documents\pbnb_cli" java.io.ioexception: failed mkdirs: c:\program files\jenkins\"c:\documents , settings\administrator\my documents\pbnb_cli"     @ hudson.filepath.mkdirs(filepath.java:1093)     @ hudson.model.abstractproject.checkout(abstractproject.java:1247)     @ hudson.model.abstractbuild$abstractbuildexecution.defaultcheckout(abstractbuild.java:624)     @ jenkins.scm.scmcheckoutstrategy.checkout(scmcheckoutstrategy.java:86)     @ hudson.model.abstractbuild$abstractbuildexecution.run(abstractbuild.java:530)     @ hudson.model.run.execute(run.java:1740)     @ hudson.model.freestylebuild.run(freestylebuild.java:43)     @ hudson.model.resourcecontroller.execute(resourcecontroller.java:88)     @ hudson.model.executor.run(executor.java:234) email triggered for: sending email trigger: sending email to: ts@web.com error sending following valid addresses: ts@web.com finished: failure 

does have idea why might happen?

this line tells everything:

building in workspace c:\program files\jenkins\"c:\documents , settings\administrator\my documents\pbnb_cli"

that above not valid path no matter how @ it. without seeing configuration (and not providing any...) can guess messed up.

so, let's guess:

  • c:\program files\jenkins\ jenkins_home on windows.
  • a workspace c:\program files\jenkins\jobs\[jobname]\workspace i.e %jenkins_home%\jobs\%job_name%\workspace
  • your workspace path has neither (obvious) jobname, nor word workspace. you've tried alter workspace location.
  • you pasted line "c:\documents , settings\administrator\my documents\pbnb_cli" (as is, quotes) somewhere shouldn't have. let's keep guessing.

probable guess:

  • under job configuration -> advanced project options ->advanced... button, there entry titled use custom workspace
  • if pasted "c:\documents , settings\administrator\my documents\pbnb_cli" in there, quotes, it's not taking absolute path, , thinks it's relative path, , relative paths start %jenkins_home%, explain c:\program files\jenkins\"c:\documents , settings\administrator\my documents\pbnb_cli" error
  • you should paste desired custom workspace without quotes, c:\documents , settings\administrator\my documents\pbnb_cli, , work.

an alternative

  • alternatively, under manage jenkins -> configure system -> advanced... button, there entry titled workspace root directory.
  • my guess is, have ${jenkins_home}"c:\documents , settings\administrator\my documents\pbnb_cli" in there. explain current state.
  • you should fix default value of ${item_rootdir}/workspace

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -