0 Replies Latest reply on Jun 23, 2011 2:36 AM by Mickael Ruellan

    Displaying Flex PMD results in Jenkins running Flex Mojos

    Mickael Ruellan Level 1

      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.