jenkins the definitive guide

(Jeff_L) #1

Figure 6.20. Installing the HTML Publisher plugin


This plugin is easy to configure. Just go to the “Post-build Actions” section and tick the “Publish HTML
reports” checkbox (see Figure 6.21, “Publishing HTML reports”). Next, give Jenkins the directory your
HTML reports were generated to, an index page, and a title for your report. You can also ask Jenkins
to store the reports generated for each build, or only keep the latest one.


Figure 6.21. Publishing HTML reports


Once this is done, Jenkins will display a special icon on your build job home page, with a link to your
HTML report. In Figure 6.22, “Jenkins displays a special link on the build job home page for your
report”, you can see the easyb reports we configured previously in action.


Figure 6.22. Jenkins displays a special link on the build job home page for your report

Free download pdf