-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins ver. 1.634
HTML Publisher plugin ver. 1.11
HTML directory to archive: empty
Index page[s]: current.xhtml
Report title: Last Report
I have a master-slave, the workspace is only the slave. It contains my xhtml files and several folders which contain other files. HTML Publisher will copy those folder's over as well. In my case these folders are 300MB each, so it takes considerable time.
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at PROJECT level C:\Users\userid\Jenkins\workspace\MYJOB to C:\Jenkins\jobs\MYJOB\htmlreports\Last_Report
Thanks for taking the time to report! This is not a bug however, there is no proper way to handle this as HTML reports often generate linked pages in addition to generate css, js, and images in the same directory, so the only way to handle these resources is to archive the parent directory of the report.
If your report is being placed in the workspace, simply add a shell step after the report is generated to create a directory and copy/move the relevant files (which only you can know about, HTML Publisher can't know which files in your workspace are related to the report), and then publish that directory
I hope this helps!