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.

MISRA Compliance Report Plugin

misraReport: Build MISRA Guideline Compliance Summary (GCS)

  • doFailOnError : boolean (optional)
    Fail the build if the plugin could not create a valid MISRA Guideline Compliance Summary.
  • doFailOnIncompliance : boolean (optional)
    Fail the build if the result of the Guideline Compliance Report is that the code is not MISRA-compliant.
  • grpFile : String (optional)

    A simple text file containing the guideline re-categorization plan (GRP) - see "MISRA Compliance 2016". Leave empty to not re-categorize any rules. Rules that are not recategorized do not need to appear in this listing.

    The format of the text file should be:
    [Guideline], [New compliance level]
    Example:
    Directive 1.1, Mandatory
    Rule 11.2, Mandatory
    Rule 12.1, Required
    Rule 12.2, Disapplied

  • logFile : String (optional)
    The log file will list all the tags discovered in the code. The file can be parsed by a warning parser. A typical use would be to automatically add comments or review tasks to a pull request. The output format is the same as the clang compiler.
  • nonMisraTagPattern : String (optional)
  • projectName : String (optional)
    Project name to be shown in the report
  • ruleSet : String (optional)
    Select the version of MISRA guidelines to be applied
  • softwareVersion : String (optional)
    The software version to show in the report. Usually you would use an environment variable which has been set by one of the earlier build steps here, e. g. ${SOFTWARE_VERSION}
  • sourceListFile : String (optional)
    A file containing a list of source code and header files separated by newlines. These files will be checked for suppressing comments and tags.
  • warningParser : String (optional)
    Select the tool used to check for code compliance.
  • warningsFile : String (optional)
    File that contains warnings produced by the warning parser.

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.