===========================================================fatal:failed to Mkdirs:/Users/chenqing/Sqy/iOSProject /cyou/svn/cos/cosxcode_lxh/test-reportsjava.io.ioexception:failed to Mkdirs:/users/chenqing/sqy/iosproject/cyou/ Svn/cos/cosxcode_lxh/test-reportsat Hudson. Filepath.mkdirs (filepath.java:1093)
This error is encountered when integrating with Jenkins.
Workaround: Modify the file read/write restrictions
Enter Command View # ls-l found unable to write
Drwxr-xr-x AChenqing Staff748The + -: toClasses-rw-r--r--1Chenqing Staff1035851The + -: todefault-[email protected]... .. drwxr-xr-x8Chenqing Staff272The A -: Oneunity-iphone.xcodeprojdrwxrwxrwx2Chenqing Staff theThe A -: *DirName
Input command #chmod-r 777./
When viewed again
Drwxrwxrwx AChenqing Staff748The + -: toClasses-rwxrwxrwx1Chenqing Staff1035851The + -: todefault-[email protected]
.....
drwxrwxrwx8Chenqing Staff272The A -: Oneunity-iphone.xcodeprojdrwxrwxrwx2Chenqing Staff theThe A -: *DirName
It's normal at this time. Back to Jenkins again the compilation will no longer appear
Fatal:failed to Mkdirs:
Java.io.ioexception failed to mkdirs Jenkins Xcode | | Jenkins cannot create a new file