I am using jenkins ver. 1.429 on Debian Squeeze or ubuntu. My job uses
the html publisher. (Publish HTML reports).
I have 7 reports defined. If one of the 7 reports is not there, (let's
say report #3), because the test seg faulted and no report was
produced. Then the html publisher prints this on the console log:
[htmlpublisher] Archiving at PROJECT level /home/jenkins/jobs/2.0Agent-Tests/workspace/fossology/src/copyright/agent_tests/Unit/results to /home/jenkins/jobs/2.0Agent-Tests/htmlreports/Copyright_Coverage_Results
ERROR: Specified HTML directory '/home/jenkins/jobs/2.0Agent-Tests/workspace/fossology/src/copyright/agent_tests/Unit/results' does not exist.
Now report 4,5,6 and 7 never get published. To me this is a defect in
the publisher. It should publish everything it can and for files or
directories that don't exist or are empty, well then no report gets
published for that report and it keeps going down the list of reports
trying to publish them.
Another issue with the html publisher is the cryptic message that
appears if a given report directory is empty:
[htmlpublisher] Archiving at PROJECT level /home/jenkins/jobs/debugUnitTests/workspace/fossology/src/testing/reports/unit to /home/jenkins/jobs/debugUnitTests/htmlreports/Unit_Test_Results
ERROR: Directory '/home/jenkins/jobs/debugUnitTests/workspace/fossology/src/testing/reports/unit' exists but failed copying to '/home/jenkins/jobs/debugUnitTests/htmlreports/Unit_Test_Results'.
In this case the unit directory is empty, is there some reason the message cannot reflect that? It turned out to be a
defect in my code, but it took a while because I kept thinking it was a Jenkins issue.
If I need to file a defect, please let me know where to file it and I'll be happy to.
---
Mark Donohoe
OSPO, HP
FOSSology.org