How to configure Selenium HTML Reports in Jenkins

user1741005 picture user1741005 · Oct 26, 2012 · Viewed 16.9k times · Source

We have a Java MOJO configured in Jenkins. Once the code is build in CI, surefire reports would be generated. We have Junit and Selenium test cases to test the application.

I need to present the results coming from the test cases in a HTML format. Is there any plugin available for Jenkins to display the content in HTML format?

Answer

Anil Kumar C picture Anil Kumar C · Oct 26, 2012

First you need to install the Selenium HTML Report Plugin. If you are not aware of installing the plugin, use this link

After installing the Selenium HTML report plugin, Add the post build script to generate the HTML content from the surefire reports. Use the following screenshot for configuring the HTML plugin..

Configuring the SeleniumHTML Report plugin in Jenkins

Change the ProjectRoot with your MOJO