java.io.IOException: Failed to mkdirs:

1,369 views
Skip to first unread message

Sanjay Sharma

unread,
Jun 13, 2017, 8:17:37 AM6/13/17
to Jenkins Users
Hi All,

Can anyone please look into this why I am getting this issue in console output

Started by user admin
Building in workspace /Users/amit/Documents/workspace/bt.ios.com
java.io.IOException: Failed to mkdirs: /Users/amit/Documents/workspace/bt.ios.com
 at hudson.FilePath.mkdirs(FilePath.java:1169)
 at hudson.model.AbstractProject.checkout(AbstractProject.java:1279)
 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
 at hudson.model.Run.execute(Run.java:1728)
 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
 at hudson.model.ResourceController.execute(ResourceController.java:98)
 at hudson.model.Executor.run(Executor.java:405)
Finished: FAILURE


Thanks,
Sanjay

Mark Waite

unread,
Jun 13, 2017, 8:49:21 AM6/13/17
to Jenkins Users
Most likely there is a permission problem on that directory on that agent.  The user account running the Jenkins agent does not have permission to write to that directory.  Check the permissions and make corrections as needed.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c75987b7-b1c7-4fd7-bc71-49cb837e48cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages