I don't know what is the best way to get PMD results displayed on Jenkins project page.
The documentation is not very clear about that and it seems it's not automatically added.
So here is what I am doing :
- Adding PMD, CPD, MEtrics plugins to my pom.xml as described on the wiki
- Configuring my project to run goals : clean install site (without 'site' goal my results are not published)
- Add some plugins to Jenkins :
With this I'm getting PMD report and chart, Java NCSS report and chart and Duplicate Code report and chart.
I'm not sure if it's the best way to get these reports (running maven goal 'site') so I'm looking for feedback and comments about how you are doing this for yourselves.
Thanks for your comments.