Skip to content

jenkinsci/prqa-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintained by Perforce

Jenkins Version Helix QAC

Intellectual Property Update

The PRQA product has become Helix QAC and Programming Research has become a Perforce company. As such, the PRQA plugin (now called Helix-QAC Plugin) has changed cosmetically to reflect this. There may be a dedicated Helix-QAC plugin at a suitable GitHub location in the future. If one is created, it will be linked to from here.

Introduction to Helix-QAC static analysis using the Helix QAC plugin

This plug-in enables the Helix-QAC static analysis tools to be integrated easily with Jenkins.

This plug-in is maintained by Perforce. It was originally developed and maintained by Praqma as far as release 1.2.2. Programming Research maintained it thereafter up to 3.2. Version 3.3.0 (this release) is maintained by Perforce. All service and feature requests should be sent directly to Perforce.

Prior to version 3.3.0 it supported Freestyle projects only, but now supports Pipeline projects. Prior to version 3.3.0 it supported Jenkins versions up to 2.107.2. This version (3.3.0) supports Jenkins version 2.164.3 onward.

Version 3.0.1 supported PRQA Framework version 2.2.0 onward and up to Jenkins version 2.107.2. Version 3.3.0 will support PRQA Framework version 2.2.0 onward and Helix-QAC Framework 2019.1 onward.

Pipeline support requires Jenkins version v2.164.3 or later.

Summary Installation Instructions

  • Install/use latest stable Jenkins version that is 2.164.3 or later
  • Install the Pipeline plugin for Jenkins and restart Jenkins after installation
  • Download and install this plug-in

Please download the manual for the Helix QAC Plugin for more detailed instructions.

Features

This plug-in allows source code to be analyzed with Helix-QAC, Perforce's static analysis tools. The plug-in performs the following key tasks in the post-build stage, or as a pipeline step automatically:

  • Analyzes a Helix-QAC project – optionally including dataflow and cross module analysis.
  • Generates a compliance report
  • Compares the total number of messages in the project against a configurable threshold and sets the build status to ‘unstable’ if the threshold is exceeded. This can be used as a gateway to preventing subsequent tasks from running.
  • Optionally uploads the analysis results to Dashboard, the Helix-QAC web-based Quality Management System
  • This plug-in is able to analyze configured Helix-QAC projects.
  • HIS Metrics Report option has been added in this release.

The projects are configured using Helix QAC Framework. They can be configured using Helix-QAC tools to support the old analysis interface.

The plug-in allows the automation of the creation and analysis of Helix-QAC enabled projects. This enables the analysis to be performed as a part of a continuous integration strategy.

The plug-in displays a graphical history depicting the number of messages, and overall compliance levels in the project.

Known Issues

  • Compliance Summary on the Freestyle project summary page may display twice.
  • The completion of a Pipeline build on the projects summary page will not refresh the entire page. The user should refresh the page on completion of the job run.
  • Reports may be missing colours on pie charts and legend keys. This is due to Jenkins default security settings regarding JavaScript and CSS where both are disallowed. To remedy, please follow the instructions in the top answer to this Stack Overflow question.

Change Log / Release Notes

Changes are tracked in 1 of 4 categories:

E - Enhancement to an existing feature.
F - A fix for a bug or problem feature.
N - New functionality has been introduced.
O - Other, such as documentation, feature removal etc
Plugin Version Ticket Type Description
3.3.5 48550 F Update JDOM2 library to eliminate exposure to CVE-2021-33813
3.3.4 47308 F Fix fault with pipeline data showing results of first stage/step
3.3.4 47485 N Replace graph library to permit 47308 fix to show graphs for each stage/step
3.3.4 39708 F Removed deprecated QAC options (--reuseCmaDB and --useDiskStorage)