Coverity Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID coverity Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Mar 31, 2014
mailer (version:1.4)
Source Code
Issue Tracking
Open Issues
Ken Dang (id: kdang)
Usage Installations 2013-Apr 682
2013-May 713
2013-Jun 715
2013-Jul 764
2013-Aug 788
2013-Sep 780
2013-Oct 825
2013-Nov 840
2013-Dec 843
2014-Jan 907
2014-Feb 939
2014-Mar 979

This plugin integrates Jenkins with the Coverity Integrity Manager and Coverity Static Analysis tools.

Official build located at:

Compatibility with Coverity Connect

Plugin version Coverity Integrity Manager/Connect version
1.2.4 and earlier 5.4 to 6.5
1.2.5 to 1.2.6 6.0.3.hotfix and later, excluding some intermediate versions
1.2.7 6.0.0 to 6.5
1.3.0 6.5.0 and later


The Coverity plugin for Jenkins performs 3 functions:

  • It can transparently invoke the Coverity Static Analysis tools during your build (optionally)
  • It can fail the build if defects are found matching certain criteria
  • It reports found defects after the build

Getting started

  • Install the plugin using the Plugin Manager, and restart Jenkins
  • Go to the global configuration page ( Manage Jenkins > Configure System)
  • If the Coverity Static Analysis tools are not on the PATH, configure the location (for the master) here.
  • Add connection details for any number of Integrity Manager instances you want to use. Click ‘check’ to validate your settings.
  • For any node where Coverity Static Analysis is not on the PATH (and is on a different location than on the master), configure the location on the node configuration page.

Job Setup

  • Create the job, by creating it from scratch or copying from an existing job
  • Under Post-build actions, check ‘Coverity’
  • Select the Integrity Manager instance, project and stream relevant for this job
  • If you want the plugin to invoke cov-build/cov-analyze/cov-commit-defects for you, check ‘Perform Coverity build, analysis and commit’. You can add additional arguments for each of these tools, and configure the intermediate directory used (all optional).
  • If your build already invokes Coverity, leave the checkbox unchecked.
  • If you want to fail the build when defects are found, check the corresponding checkbox. By default all defects are considered, but you can specify filters. Every filter should match for a defect to be included.

Now start your build. After the build has completed, a link to Coverity Defects will be available on the build page. On the project page, a graph with historical defect counts will be visible (as soon as more than one build has been performed).


When you encounter problems while using the plugin, please provide the following information:

  • What you were doing when the problem occurred
  • The error message
  • The Jenkins server log file (the location is dependent on the container you use)
  • The content of ‘Manage Jenkins > System Information’ (Jenkins root/systemInfo)
  • The configuration file for the job (Jenkins root/jobs/job name/config.xml)
  • The global configuration file for Jenkins (Jenkins root/config.xml)
  • In case of problems while saving the job configuration, a screenshot before submitting, and the browser you are using


Version 1.3.1 (March 31, 2014)

  • Changed method for determining Static Analysis version (BZ 61464)
  • Allowed Coverity Plugin to accept similar version of Coverity Connect and Analysis , but different patches  (BZ 62013)
  • Increased maximum number of defects shown in job page to 3000 (BZ 60322)
  • Allowed older versions of Static Analysis work with new versions of Coverity Connect (BZ 62196)

Version 1.3.0 (December 19, 2013)

  • Improve documentation
  • Increase maximum number of defects shown in job page to 1000 (BZ 55368)
  • Add support for 'Mixed Domain' (any language) streams (BZ 57461)
  • Add support for Coverity Analysis 7.0.0 (BZ 55618)
  • Don't fail the build if analysis and defect checking are both disabled (BZ 49096)

Version 1.2.7 (August 12, 2013)

  • Improve compatibility with older versions of Connect/CIM. (BZ 54854)

Version 1.2.6 (July 24, 2013)

  • Allow overrides for analysis/commit settings for an individual job (BZ 47499, BZ 45728)
  • Add support for cov-emit-java --webapp-archive
  • Add support for FxCop/MSVSCA results (BZ 50247)
  • Add automatic searching for C# assemblies
  • Fix a bug where builds would hang when JDKs were automatically installed (BZ 50669)
  • Fix a bug that caused linux/solaris executables to called as if they were on windows (BZ 55117)
  • Improve error message when a configured stream is absent in CIM/Connect (BZ 54068, BZ 51304)

Version 1.2.5 (June 28, 2013)

  • Upgrade Coverity web services code to v5. (BZ 51322)

Version 1.2.4 (May 20, 2013)

  • Redo the previous fix from 1.2.3, as it broke some workflows. (BZ 52107)

Version 1.2.3 (May 10, 2013)

  • Fix a NullPointerException that occurred when the build/analyze/commit checkbox was unchecked. (BZ 52034)

Version 1.2.2 (April 29, 2013)

  • Add an option for specifying the commit port of a CIM instace manually, as a workaround for an issue with committing defects. (BZ 51458)

Version 1.2.1 (April 29, 2013)

  • Fix a NullPointerException during C# builds. (BZ 50321)

Version 1.2.0 (March 25, 2013)

  • Allow configuration of multiple streams and languages for each job. The appropriate analysis and commit steps will be run for each. (BZ 47499)

Version 1.1.5 (February 4, 2013)

  • Fix a bug where normally hidden streams would be available for selection in configuration (BZ 49226)
  • Add a field for blacklisting executables from being wrapped by cov-build (BZ 38025, BZ 47534, BZ 48921, JIRA JENKINS-14834)
  • Add an option to hide the defects chart (BZ 47524)
  • Update checkers list to match 6.5.0 checker documentation (BZ 48917)

Version 1.1.4 (January 14, 2013)

  • Add an option to not fetch defects after commit (BZ 47226)
  • Allow static analysis binaries to be specified on a per-job basis (BZ 47224)


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

Add Comment