Jenkins : Measurement Plots Plugin

Plugin Information

No information for the plugin 'measurement-plots' is available. It may have been removed from distribution.

Plot measurements embedded into the standard output and error streams of tests.


Searches standard output and standard error of test reports for measurements of the form:

<measurement><name>My Measurement</name><value>42.0</value></measurement>

These measurements will be associated with the test objects they are found within.

Measurement Format Requirements

The <measurement> must be:

  • on one line
  • within the standard-output or standard-error tags in the JUnit output
  • escaped (they're essentially a nested mini-document)



Example of a Complete Input JUnit File

Notice that the XML-like syntax for the measurement has to be escaped in the <system-out> element.

<?xml version="1.0" encoding="UTF-8"?>
    <testsuite name="package">
       <testcase name="case" time="0"/>
&lt;measurement&gt;&lt;name&gt;Length (m)&lt;/name&gt;&lt;value&gt;0.5&lt;/value&gt;&lt;/measurement&gt;
&lt;measurement&gt;&lt;name&gt;Time (s)&lt;/name&gt;&lt;value&gt;0.2&lt;/value&gt;&lt;/measurement&gt;</system-out>

Example of Multiple Measurements on a Test Object

Example of a Measurement Graph


Global Configuration


Project Configuration

For a project to use the Measurement Plots plugin, you need to enable it in the project configuration page:

Post-build actions > Publish JUnit test result report > Additional test report features > Measurement Plots

Version History

0.1 (Apr 7, 2010)

  • Initial public release

0.0 (Apr 3, 2010, Unreleased)