[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.254s [INFO] Finished at: Tue Mar 14 04:02:49 CST 2017
[INFO] Final Memory: 8M/20M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project helloworld: Error creating properties files for forking; nested exception is java.io.IOException: Permission denied -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [JENKINS] Archiving /var/lib/jenkins/workspace/Login/helloworld/pom.xml to helloworld/helloworld/1.0-SNAPSHOT/helloworld-1.0-SNAPSHOT.pom channel stopped Finished: FAILURE
看你log里有,
java.io.IOException:Permissiondenied
是不是Jenkins服务启动的用户没有权限写造成的,你检查一下目录权限吧.
项目的目录所有者就是jenkins服务启动的用户jenkins版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。