Plot Plugin

Plugin Information

Plugin ID plot
Latest Release 1.3
Latest Release Date Jul 20, 2010
Changes via Fisheye In Latest Release
Since Latest Release
Maintainer(s) Nigel Daley (id: nidaley)
Issue Tracking Open Issues

This plugin provides generic plotting (or graphing) capabilities in Hudson.
This plugin will plot data across builds. Plots for a particular job (or project) are configured in the job configuration screen, where each field has additional help information. Data for the plots are pulled from Java properties files in your build workspace after each build completes. Each plot can have one or more lines (called data series). Data for each plot is stored in a CSV file within the job's root project directory.

Here is an example of the plots generated by this plugin:

Example Usage to generate detailed PMD reports

Attached is a Perl script which generates more detailed "summaries" out of PMD report files. We use this for several code analysis projects, all named trunk.codeanalysis.prefix.

To have all resulting plots at one page, give all Plots the same plot group. Because each code quality has its very own range, define each on a separate plot, not as an additional data series.

Change Log

Version 1.3 (Jul 20, 2010)
  • Configurable graph style for each plot.
  • Read data from XML files (issue #2796).
  • Read data from CSV files (issue #2899).
  • Update code for more recent Hudson.
Version 1.2 (Sep 24, 2008)

Labels:

plugin-report plugin-report Delete
plugin-ui plugin-ui Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Dec 27, 2009

    Richard says:

    I don't see any perl script here? How do I know what format of data file to gen...

    I don't see any perl script here? How do I know what format of data file to generate?

    1. Jan 20, 2010

      Ray Thompson says:

      The explanation of the file format is found in configuration of the job. Click o...

      The explanation of the file format is found in configuration of the job. Click on the blue help icon for "Data series file" and you will see:

       Mandatory. Specifies the path to the Java property file (key=value pairs), relative to the workspace root, that contains the data value for this data series. The file must contain a YVALUE property and may optionally contain a URL property. If present, the URL will be opened when the data point on the plot is clicked.
      The specification of this file can use wildcards likebuild/report/*/report.properties but only the first file resolved by the wildcard will be used. See the @includes of Ant fileset for the exact format.
      For example, a properties file might look like:
        YVALUE=3.342
        URL=http://foo.bar/
      
  2. Feb 23, 2010

    Cees Bos says:

    I have 2 questions: When will version 1.3 be released? What format is require...

    I have 2 questions:

    • When will version 1.3 be released?
    • What format is required for XML or CSV files? It is not described in the tickets. Only properties file format is described.
  3. Mar 09

    Charles Chan says:

    Is anyone maintaining this plugin? When will an next update be released?

    Is anyone maintaining this plugin?

    When will an next update be released?

  4. Jul 08

    Vladimir Jovic says:

    It is not possible to adjust the plot. For example, I need a difference between ...

    It is not possible to adjust the plot. For example, I need a difference between builds. Is there a way to do this?