0
votes

I am using the CoverageConverter.exe (Code coverage tool for .net apps) plugin for generating code coverage xml file and ReportGenerator.exe (1.9.1.0) to generate html reports for code coverage. Configured HTML Publisher plugin (1.3) to display html reports for code coverage. Jenkins version - 1.569

Html files are archived to the below location by Jenkins after the build C:\Program Files (x86)\Jenkins\jobs\Job_name\htmlreports\HTML_Report\

HTML publisher creates the link with /job/job_name/HTML_Report/index.html

HTML Publisher plugin creates the link on the dashboard but after clicking the link unable to see the report and it's shows the below error: Status Code: 404

Exception: Stacktrace: (none)

3

3 Answers

3
votes

Issue has been resolved. Reports was in htm format.

0
votes

Copy the HTML file to your workspace after its generated.

Copy /y C:\Archive\HtmlCoverage.html %WORKSPACE%
0
votes

HTML file is already present in %WORKSPACE%. From this folder HTML publisher is archiving to C:\Program Files (x86)\Jenkins\jobs\Job_name\htmlreports\HTML_Report\