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!