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.

Synopsys Coverity plugin

coverityIssueCheck: Check for Issues in Coverity View

  • coverityInstanceUrl : String (optional)

    Specify which Synopsys Coverity connect instance to check for issues.

  • credentialsId : String (optional)

    Specify the credentials to use with the Synopsys Coverity connect instance.

  • markUnstable : boolean (optional)

    If checked, will mark the stage Unstable but otherwise allow the pipeline to proceed instead of throwing an exception.
    As a byproduct, this also allows the step to return the issue count. Use returnIssueCount if you want to make this behavior more explicit.

  • projectName : String (optional)

    Specify the name of the Coverity project the view is associated with.

  • returnIssueCount : boolean (optional)

    If checked, will return the number of issues discovered in the specified Coverity view instead of throwing an exception.

  • viewName : String (optional)

    Specify the name of the Coverity view that you would like to check for issues.

withCoverityEnvironment: Inject Coverity environment into the build process

  • coverityInstanceUrl : String

    Specify which Synopsys Coverity connect instance to run this job against.

  • configureChangeSetPatterns (optional)
      Nested Object
    • changeSetExclusionPatterns : String

      Specify a comma separated list of filename patterns that you would like to explicitly excluded from the Jenkins change set.
      The pattern is applied to the $CHANGE_SET environment variable, and will affect which files are analyzed in an incremental analysis (cov-run-desktop).
      Examples:

      File Name Pattern Will be excluded
      test.java *.java Yes
      test.java *.jpg No
      test.java test.* Yes
      test.java test.???? Yes
      test.java test.????? No
    • changeSetInclusionPatterns : String

      Specify a comma separated list of filename patterns that you would like to explicitly included from the Jenkins change set.
      The pattern is applied to the $CHANGE_SET environment variable, and will affect which files are analyzed in an incremental analysis (cov-run-desktop).
      Examples:

      File Name Pattern Will be included
      test.java *.java Yes
      test.java *.jpg No
      test.java test.* Yes
      test.java test.???? Yes
      test.java test.????? No
  • createMissingProjectsAndStreams : boolean (optional)
  • credentialsId : String (optional)

    Specify the credentials to use with the Synopsys Coverity connect instance.

  • projectName : String (optional)

    Specify the name of the Coverity project.
    The resulting project name is stored in the $COV_PROJECT environment variable, and will affect both the full and incremental analysis.

  • streamName : String (optional)

    Specify the name of the Coverity stream that you would like to use for the commands.
    The resulting stream name is stored in the $COV_STREAM environment variable, and will affect both the full and incremental analysis.

  • viewName : String (optional)

    Specify the name of the Coverity view that you would like to check for issues.
    The resulting view name is stored in the $COV_VIEW environment variable, and affects checking for issues in both the full and incremental analysis, if configured.


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.