java.io.ioexception failed to mkdirs jenkins xcode || jenkins 无法创建新文件

===========================================================
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  22 chenqing  staff      748 Aug 21 18:05 Classes
-rw-r--r--   1 chenqing  staff  1035851 Aug 21 18:05 Default-[email protected]
.......
drwxr-xr-x   8 chenqing  staff      272 Aug 22 14:11 Unity-iPhone.xcodeproj
drwxrwxrwx   2 chenqing  staff       68 Aug 22 14:35 dirname

输入命令#chmod -R 777./

再次查看时

drwxrwxrwx  22 chenqing  staff      748 Aug 21 18:05 Classes
-rwxrwxrwx   1 chenqing  staff  1035851 Aug 21 18:05 Default-[email protected].....
drwxrwxrwx   8 chenqing  staff      272 Aug 22 14:11 Unity-iPhone.xcodeproj
drwxrwxrwx   2 chenqing  staff       68 Aug 22 14:35 dirname

这时就正常了。。再次回到jenkins 编译 不会再出现

FATAL: Failed to mkdirs:
时间: 2024-08-14 07:34:01

java.io.ioexception failed to mkdirs jenkins xcode || jenkins 无法创建新文件的相关文章

hadoop错误java.io.IOException Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being available to try

错误: java.io.IOException: Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being available to try 原因: 无法写入:我的环境中有3个datanode,备份数量设置的是3.在写操作时,它会在pipeline中写3个机器.默认replace-datanode-on-failure.policy是DEFAULT,如果系统中的dat

ElasticsearchException: java.io.IOException: failed to read [id:0, file:/data/elasticsearch/nodes/0/_state/global-0.st]

from : https://www.cnblogs.com/hixiaowei/p/11213143.html 1.以前装过elasticsearch,重新安装elastic search ,报错 [2019-07-19T14:32:10,720][ERROR][o.e.g.GatewayMetaState ] [master-node] failed to read local state, exiting... org.elasticsearch.ElasticsearchExceptio

Reason: java.io.IOException: Failed to create dir

do: mkdir -p /usr/share/activemq/activemq-data/localhost/KahaDB3 chmod 777 -R /usr/share/activemq/activemq-data/localhost/KahaDB /etc/init.d/activemq start check : netstat -an | grep 61614 tcp        0      0 :::61614                    :::*        

Jenkins报错Caused: java.io.IOException: Cannot run program "sh" (in directory "D:\Jenkins\Jenkins_home\workspace\jmeter_test"): CreateProcess error=2, 系统找不到指定的文件。

想在本地执行我的python文件,我本地搭建了一个Jenkins,使用了execute shell来运行我的脚本,发现报错 [jmeter_test] $ sh -xe D:\tomcat\apache-tomcat-8.5.20\temp\jenkins4583980269774421650.sh The system cannot find the file specified FATAL: command execution failed java.io.IOException: Crea

Job Submission failed with exception 'java.io.IOException

在hive上执行如下sql: select a.product_id, a.merchant_id, b.category_id from pm_info a join product b on (a.product_id=b.id) where a.is_deleted=0 and a.product_is_gift=0 and a.can_sale=1 and a.can_show=1 and b.is_deleted=0 and b.PRODUCT_IS_GIFT=0; 出现错误,错误如下

解决方案--java执行cmd命令ProcessBuilder--出错Exception in thread "main" java.io.IOException: Cannot run program "dir d:\": CreateProcess error=2(xjl456852原创)

当我尝试在java中通过ProcessBuilder运行window的cmd命令时出现错误: public static void main(String [] args) throws IOException { ProcessBuilder builder = new ProcessBuilder(); Process process = builder.command("dir d:\\").start(); InputStream inputStream = process.g

java.io.IOException: Cannot run program "/opt/jdk1.8.0_191/bin/java" (in directory "/var/lib/jenkins/workspace/xinguan"): error=2, No such file or directory

测试jenkins构建,报错如下 Parsing POMs Established TCP socket on 44463 [xinguan] $ /opt/jdk1.8.0_191/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/opt/maven-3.6/boot/plexus-classworlds-2.5.2.jar:/opt/maven-3.6/conf/log

Hive报错 Failed with exception java.io.IOException:java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:user.name%7D

报错信息如下 Failed with exception java.io.IOException:java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:user.name%7D 解决方法: 编辑 hive-site.xml 文件,添加下边的属性 <property> <name>system:java.io.tmpdir<

java.io.IOException: read failed, socket might closed or timeout, read ret: -1

近期项目中连接蓝牙之后接收蓝牙设备发出的指令功能,在连接设备之后,创建RfcommSocket连接时候报java.io.IOException: read failed, socket might closed or timeout, read ret: -1错误.以下说一下我的解决方法,希望对各位有一点帮助. private BluetoothSocket mSocket; <span style="white-space:pre"> </span>priva