Review Static Analysis and SCA results in Jenkins
You can choose to display the results of a Veracode Static Analysis and SCA scan in Jenkins for freestyle or pipeline jobs.
If scans do not complete due to errors, the Jenkins build summary states that results are unavailable. The console output lists more information, including the cause of the error.
Before you begin:
- You meet the prerequisites.
- You have installed the Jenkins Plugin.
- You have configured a Jenkins job with the Wait for scan to complete checkbox selected and run a Veracode scan. If you configure the Jenkins job to scan with Veracode and wait for the results, the results display on the build summary page and indicate the policy compliance status of the scan.
- In controller/agent Jenkins environments, the controller returns the Veracode scan results, so you must ensure your controller can access Veracode. If there is no access to Veracode, the Jenkins build status is not affected.
- For Software Composition Analysis (SCA) results, you have configured the organization associated with the Veracode Platform account to provide SCA results to Jenkins.
To complete this task:
-
Sign in to your Jenkins freestyle or pipeline project.
-
Select the Veracode link at the left or in the main summary to see the results:
Static Analysis results:
- Overall policy compliance status
- Policy name
- Policy rules:
- Veracode Level
- Static Scan Requirement
- Static Score
- Link to the Executive Summary page in the Veracode Platform
- Flaw count table: derived from the Veracode Detailed Report
- Flaw trend chart: only against successful Jenkins builds
SCA results:
- Number of blocklisted SCA components
- Highest found Common Vulnerability Scoring System (CVSS) score
- SCA vulnerability count table
- List of components added since the previous build
- Overall policy compliance status