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.

Cppcheck Plug-in

publishCppcheck: Publish Cppcheck results

  • XSize : int (optional)
  • YSize : int (optional)
  • allowNoReport : boolean (optional)
  • displayAllErrors : boolean (optional)
  • displayErrorSeverity : boolean (optional)
  • displayNoCategorySeverity : boolean (optional)
  • displayPerformanceSeverity : boolean (optional)
  • displayPortabilitySeverity : boolean (optional)
  • displayStyleSeverity : boolean (optional)
  • displayWarningSeverity : boolean (optional)
  • failureThreshold : String (optional)
  • healthy : String (optional)
  • ignoreBlankFiles : boolean (optional)
  • newFailureThreshold : String (optional)
  • newThreshold : String (optional)
  • numBuildsInGraph : int (optional)
  • pattern : String (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.

  • severityError : boolean (optional)
  • severityInformation : boolean (optional)
  • severityNoCategory : boolean (optional)
  • severityPerformance : boolean (optional)
  • severityPortability : boolean (optional)
  • severityStyle : boolean (optional)
  • severityWarning : boolean (optional)
  • threshold : String (optional)
  • unHealthy : String (optional)

Was this page helpful?

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.