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

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

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.