Skip navigation
Currently Being Moderated

Displaying Flex PMD results in Jenkins running Flex Mojos

Jun 23, 2011 2:36 AM

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 :

   - https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin

   - https://wiki.jenkins-ci.org/display/JENKINS/DRY+Plugin

   - https://wiki.jenkins-ci.org/display/JENKINS/JavaNCSS+Plugin

   - https://wiki.jenkins-ci.org/display/JENKINS/PMD+Plugin

 

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.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points