jenkins html Publisher:目录存在,但复制失败 [英] jenkins html publisher: directory exists but failed copying to
问题描述
我在 Jenkins-Job失败上尝试了答案,但是它没有帮助我.
有人有其他不同的答案吗? Jenkins安装在Ubuntu 12.04的tomcat下.我已将其配置为使用CVS存储库进行构建.当我尝试进行新构建时,由于以下错误而失败.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:34.392s
[INFO] Finished at: Mon Aug 19 12:32:14 IST 2013
[INFO] Final Memory: 13M/206M
[INFO] ------------------------------------------------------------------------
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/workspace/DataIngestionTool/target/site/jacoco to /usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/builds/2013-08-19_12-28-39/htmlreports/Jacoco_Coverage_Report
ERROR: Directory '/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/workspace/DataIngestionTool/target/site/jacoco' exists but failed copying to '/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/builds/2013-08-19_12-28-39/htmlreports/Jacoco_Coverage_Report'.
ERROR: This is especially strange since your build otherwise succeeded.
Build step 'Publish HTML reports' changed build result to FAILURE
Finished: FAILURE
我是否缺少任何用户权限?
我尝试提供对
的完全读写访问权限/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/builds/
文件夹,但仍然无济于事:(
我不知道如何向登录的jenkins用户授予权限.有人可以帮助我解决这个问题吗?预先感谢!
如果排除磁盘空间和权限,则可能是配置问题.
出现错误是因为 HTML Publisher插件复制了0个文件.可能只是您的输入配置不正确.
您能检查一下您的问题(/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/workspace/DataIngestionTool/target/site/jacoco)并检查要复制的文件是否在该路径下吗?>
如果没有,在/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/builds/2013-08-19_12-28-39/下有什么?
I've tried the answer on Jenkins-Job fails but it didn't helped me.
Has anyone any different answer? Jenkins is installed on Ubuntu 12.04 under tomcat. I have configured it to make a build with CVS repository. When i am trying to make a new build it fails due to the below error.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:34.392s
[INFO] Finished at: Mon Aug 19 12:32:14 IST 2013
[INFO] Final Memory: 13M/206M
[INFO] ------------------------------------------------------------------------
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/workspace/DataIngestionTool/target/site/jacoco to /usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/builds/2013-08-19_12-28-39/htmlreports/Jacoco_Coverage_Report
ERROR: Directory '/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/workspace/DataIngestionTool/target/site/jacoco' exists but failed copying to '/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/builds/2013-08-19_12-28-39/htmlreports/Jacoco_Coverage_Report'.
ERROR: This is especially strange since your build otherwise succeeded.
Build step 'Publish HTML reports' changed build result to FAILURE
Finished: FAILURE
Am i missing any user permissions?
I've tried giving full read-write access to
/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/builds/
folder but it still doesn't help :(
i don't know how to give permissions to a logged in jenkins user. Can anybody help me in resolving this issue? Thanks in advance!
If you ruled out disk space and permissions, then the problem is probably configuration.
The error comes because the HTML publisher plugin copied 0 files. It could just be that your input configuration was incorrect.
Can you check your worskpace (/usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/workspace/DataIngestionTool/target/site/jacoco) and check that the files you want to copy are under that path ?
If not, what do you have under /usr/local/tomcat/webapps/jenkins/jobs/Data_Ingestion_Tool/builds/2013-08-19_12-28-39/ ?
这篇关于jenkins html Publisher:目录存在,但复制失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!