Plotting alternative code metrics in Jenkins

This recipe details how to plot custom data using the plot plugin (https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin). This allows you to expose numeric build data visually.

Jenkins has many plugins that create views of the test results generated by builds. The analysis-collector plugin pulls in the results from a number of these plugins to create an aggregated summary and history (https://wiki.jenkins-ci.org/display/JENKINS/Analysis+Collector+Plugin). This is great for plotting the history of standard result types such as JUnit, JMeter, FindBugs, and NCSS. There is also a SonarQube plugin (http://docs.codehaus.org/display/SONAR/Jenkins+Plugin) that supports pushing data to SonarQube (http://www.sonarsource.org/ ...

Get Jenkins Continuous Integration Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.