Ask a Question

Customized .html reports How to view in Jenkins

ManuT
Occasional Contributor

Customized .html reports How to view in Jenkins

Am I able to view the customized .html reports in jenkins which are generated in one of the project folders after each test run? I know TestComplete had a plugin to show the TestComplete summary report directly on jenkins after the job is run. But, I am not using TestComplete report. I created my own .html reports which are generated and stored in one of the project folders after each run. I would like to know whether it is possible to show the my reports on jenkins after the Test run. If possible, please let me know the process to do that. 

 

For your information, I have generated the reports just by using javascript and is written inside the TestComplete itself.

3 REPLIES 3
baxatob
Community Hero

Hi,

 

Install HTML Publisher plugin to Jenkins. Then add a post-build action to your job. Select Publish html report and setup required options.

ManuT
Occasional Contributor

Hi baxatob,

 

I have installed html publisher plugin. But, when i run the build it is displaying the source code in jenkins instead of .html page. 

If I try to open directly from jenkins folder, for instance C:\Program Files (x86)\Jenkins\jobs\Test\builds\21\htmlreports\HTML_Report it is displaying the report fine.

 

Please, help me how to resolve this.

baxatob
Community Hero

Hi,

 

Check your HTML report for compliance to Content Security Policy of Jenkins 

cancel
Showing results for 
Search instead for 
Did you mean: