This quickstart explains how to set up a Jenkins multibranch pipeline for a Software Risk Manager project that will run a full scan, triggered by push and merge events on specified branches.
After the scan completes diagnostic logs will be exported as Jenkins build artifacts.
Important: Please note that scanning Pull Requests and injecting review comments is not currently supported for pipelines that integrate the Black Duck Security Scan Plugin with Software Risk Manager.
Prerequisites
- The following reading is recommended before starting the quickstart:
- Install the Black Duck Security Scan plugin to integrate with a Software Risk Manager server instance.
- Install and configure the appropriate Branch Source plugin to enable Jenkins to integrate with a source code repository and validate pull request events.
- Access to a Jenkins Multibranch Pipeline project.
- Software Risk Manager uses Coverity to perform SAST assessments. Coverity requires additional configuration for compiled languages. For languages that use a build system (such as C++, Java, etc.), Coverity must be configured with build and clean commands to capture and analyze the build.
- The instructions below use pipeline parameters to specify build and clean commands.
- See Using Bridge With Compiled Languages for an explanation of the various methods available for configuring Bridge to integrate with Coverity to capture and analyze the build for compiled languages.