Find plugins

Klocwork Community
2.3.3Minimum Jenkins requirement: 1.614ID: klocwork

Plugin Information

Plugin ID



In Latest Release
Since Latest Release

Latest Release
Latest Release Date
Required Core

2.2 (archives)
Aug 01, 2017
matrix-project (version:1.4)
structs (version:1.7, optional)
scm-api (version:2.1.1, optional)
dashboard-view (version:2.0, optional)
workflow-job (version:2.0, optional)
workflow-basic-steps (version:2.5, optional)
job-dsl (version:1.58, optional)
junit (version:1.5)

Source Code
Issue Tracking
Pull Requests

Open Issues
Pull Requests
Michael Baron (id: michaelbaron)
Jacob Larfors (id: jlarfors)
Andreas Larfors (id: andreaslarfors)



2016-Aug 778
2016-Sep 787
2016-Oct 781
2016-Nov 819
2016-Dec 800
2017-Jan 814
2017-Feb 836
2017-Mar 867
2017-Apr 936
2017-May 989
2017-Jun 972
2017-Jul 965

This plugin automates Klocwork analyses. For up-to-date documentation please visit the Emenda website: http://emenda.com/jenkins-klocwork-docs



Maintained by Emenda

Latest features:

  • Pipeline support
  • Job-DSL support
  • Klocwork Cross-Project Synchronisation
  • Incremental Diff Analysis & Quality Gateway

Note on Deprecation in v2.0+

Please note that in v2.0 we added new functionality to the plugin. Instead of updating (and possibly breaking) the old parts of the plugin we added completely new functionality. We will not remove any existing functionality but have marked it as Deprecated and will not actively add new features to it. Instead we recommend that you start using the new features, as detailed in the documentation. We hope that the new features are better and easier for you to use!


Please contact Emenda support for requests or help with the plugin: support@emenda.eu


Version 2.2

  • New feature: support for Java diff analysis
  • Major bug fix: resolved issue were global license server settings were passed to integration analysis step even if blank
  • Major bug fix: updated the integration quality gate query to allow users to specify grouping:on if they wish

Version 2.1

  • Minor bug fix: resolved potential NPD when checking threshold values

  • Minor bug fix: updated the wiki link in the plugin pom.xml
  • Major bug fix: updated Klocwork api library to make use of Jenkins environment variables

Version 2.0

  • Simplified creation of Klocwork static analysis jobs or tasks
  • Supports Klocwork full, incremental and incremental diff analysis
  • Allows job success criteria to be connected to static analysis results via a Quality Gateway
  • Provides per-checkin CI analysis of just the changed files for minimum analysis times
  • Support for Jenkins Pipelines
  • Support for Job-DSL

Version 1.24.6

  • Merged various changes and bug fixes from Emenda
  • Added support for use of variables in configuration
  • Updated the version of kwjlib for Klocwork API usage
  • Updated the global settings so that it uses the Klocwork tool in the path

Version 1.18

* Fix reoponed JENKINS-29673 - Klocwork plugin does not work in a master/slave configuration

Version 1.17

* Fix JENKINS-29673 - Klocwork plugin does not work in a master/slave configuration

Version 1.16.3

* Avoid errors when building on slaves
* Avoid error 500 when restarting jenkins
* Avoid NPE from old version of config.xml which doesn't contain the tag <webAPI>

Version 1.16.2

* Clean code by applying IDEA format and by removing unused code
* Use SCM features for changelog

Version 1.16.1

* Changing Jenkins version to be Java 7 compliant

Version 1.16

* Enabled multiple build specification files
* Removed Dashboard portlet component to also remove dependency on dashboard view plugin
* Added SSL support
* Build graph previously incorrectly removed, now re-instated
* Fixed Multiconfiguration project bug in Publisher

Version 1.15

* Enabled embedded Klocwork results in Klocwork v9.6 and later.
Achieved using kwjlib to retrieve issues from Klocwork Web API, which are
put into an XML file by KloXMLGenerator and then parsed as before

Version 1.14.1

* Allowing Klocwork publisher to appear in maven job

Version 1.14

* Fixed NullPointerException and added compiler options

Version 1.13

* Fix reopened JENKINS-12861 - klocwork - update to recognize 9.5.x xml schema

Version 1.12

* Fix JENKINS-12861 - klocwork - update to recognize 9.5.x xml schema

Version 1.11

* Merge pull request - Add compatibility with Klocwork v9.6

Version 1.10

* Fix JENKINS-13668 - Klocwork Plugin Fails if no KW Issues

Version 1.9

* Fix JENKINS-14005 - Major issue when Klocwork reporting is enabled

Version 1.8.1

* Allow publisher part to appear in maven jobs.

Version 1.8

* Fixed JENKINS-13743 - Jenkins 1.463 + Klocwork plugin - crashes when saving configuration

Version 1.7

* Fixed JENKINS-12535 - Link to the line which contains the klocwork error instead of just linking to the file.

Version 1.6

* Update to latest DTkit versions

Version 1.5

* Updated version number. Provided variable ${BUILD_ID} when specifying Klocwork tables directory such that a unique directory can be used for each build.
* Added functionality to specify options for kwbuildproject. Useful for changing location of tables directory, adding compiler options, etc.

Version 1.4

* Updated xml parser to work with reports generated by Klocwork v9.5. New features: per-build pie chart showing number of issues and their state, a link to view the build.log, link to view the parse_errors.log and a link to access Klocwork Review within Jenkins. Now to test on Windows.

Version 1.3

* Fixed JENKINS-10773
* Fixed JENKINS-10775
* Fixed JENKINS-10776

Version 1.2

* Fixed JENKINS-10455

Version 1.1

* Fixed JENKINS-10379 - Allowed statuses for Klocwork report are incorrect
* Fixed args parsing

Version 1.0

* Initial version

ArchivesGet past versions