PureCoverage plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

No Information For This Plugin

PureCoverage plugin reports coverage results from Rational PureCoverage tool (c++ coverage tool).
The plugin takes flat text file ('export' file) as input so you need to make your build export PureCoverage report in this format.

Tested with large report files.

Limitations:

  • NOTE - After spending a number of hours pulling my hair out -> this plugin version only works on the text output from the UNIX version of purecov, NOT on the windows output from 'coverage.exe' - the formats are totally different.
  • I only use it with free-style project-type jobs so I cannot grant it works with maven2 project-type jobs.
  • It doesn't accumulate reports in case there are multiple report files

Compilation 6th May 2010:

  • NOT completely tested! (so not checked in...)
  • Code 'https://svn.dev.java.net/svn/hudson/trunk/hudson/plugins/pure-coverage' @ revision 30769
  • This plugin was originally coded against Hudson '1.258'. I have successfully recompiled against '1.356', after:

From \pom.xml, Completely removing:

    <!-- Finally, the slowest repository of them all -->
    <repository>
      <id>hudson-libs</id>
      <url>https://hudson.dev.java.net/source/browse/*checkout*/hudson/hudson/main/lib</url>
      <layout>legacy</layout>
      <releases>
        <enabled>true</enabled>
        <!-- only look for jars here when they are not present locally -->
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>

To CoveragePublisher.java adding:

@Override
public BuildStepMonitor getRequiredMonitorService()
{
	return BuildStepMonitor.BUILD;
}

Labels

Edit
plugin-report plugin-report Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Add Comment