The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
publishCppcheck
: Publish Cppcheck resultsXSize
(optional)
int
YSize
(optional)
int
allowNoReport
(optional)
boolean
displayAllErrors
(optional)
boolean
displayErrorSeverity
(optional)
boolean
displayNoCategorySeverity
(optional)
boolean
displayPerformanceSeverity
(optional)
boolean
displayPortabilitySeverity
(optional)
boolean
displayStyleSeverity
(optional)
boolean
displayWarningSeverity
(optional)
boolean
failureThreshold
(optional)
String
healthy
(optional)
String
ignoreBlankFiles
(optional)
boolean
newFailureThreshold
(optional)
String
newThreshold
(optional)
String
numBuildsInGraph
(optional)
int
pattern
(optional)
Cppcheck must be executed to generate XML reports for this plugin to function. Fileset 'includes' setting specifies the generated Cppcheck XML report files, such as '**/cppcheck-result-*.xml'. Base directory of the fileset is relative to the workspace root directory.
If no value is set, then the default '**/cppcheck-result.xml' will be used. Be sure to never include any non-report files into this pattern.
The plugin is able to work with both XML formats produced by Cppcheck, but always prefer to use the newer version 2. Cppcheck doesn't report some issues with the legacy format.
String
severityError
(optional)
boolean
severityInformation
(optional)
boolean
severityNoCategory
(optional)
boolean
severityPerformance
(optional)
boolean
severityPortability
(optional)
boolean
severityStyle
(optional)
boolean
severityWarning
(optional)
boolean
threshold
(optional)
String
unHealthy
(optional)
String
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.