Java.io.ioexception failed to mkdirs Jenkins Xcode | | Jenkins cannot create a new file

Source: Internet
Author: User
Tags cos

===========================================================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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.