===========================================================
FATAL: Failed to mkdirs: /Users/chenqing/Sqy/iOSProject/cyou/Svn/Cos/CosXCode_lxh/test-reports
java.io.IOException: Failed to mkdirs: /Users/chenqing/Sqy/iOSProject/cyou/Svn/Cos/CosXCode_lxh/test-reports
at hudson.FilePath.mkdirs(FilePath.java:1093) 在用jenkins 集成的时候遇到这个错误 。。
解决办法:修改文件的读写限制
输入命令查看# ls -l 发现无法写入
drwxr-xr-x chenqing staff Aug : Classes
-rw-r--r-- chenqing staff Aug : [email protected]
.......
drwxr-xr-x chenqing staff Aug : Unity-iPhone.xcodeproj
drwxrwxrwx chenqing staff Aug : dirname
输入命令#chmod -R 777./
再次查看时
drwxrwxrwx chenqing staff Aug : Classes
-rwxrwxrwx chenqing staff Aug : [email protected]
.....
drwxrwxrwx chenqing staff Aug : Unity-iPhone.xcodeproj
drwxrwxrwx chenqing staff Aug : dirname
这时就正常了。。再次回到jenkins 编译 不会再出现
FATAL: Failed to mkdirs: