Integrate Coverity scan to Opsera pipeline as a security gate.
Tool Registry - Coverity tool Configuration
Click Tool Registry under Operations in Home page
Click ‘New Tool’ button to add Coverity
3.Provide a Tool name and select Coverity as Tool Identifier
4. Provide a description and click Create .
5. In Tool Details of new Coverity tool, navigate to the Connections tab and provide URL, Username and Password, upload the license file by clicking “Select Coverity License”
6. Click Save. Navigate to usage Tab or another tab, then back to Connection tab. Click Test Connection to validate the connectivity. If tool connection is successful, you will receive the following messages:
Tool Registry - Jenkins tool Configuration using Coverity Job
Navigate to Tool Registry and choose the Jenkins tool associated with your pipeline.
2. In Accounts tab click “+ Register New Account Credentials”
3. Select Coverity from the drop down and the Coverity tool from the Tool drop down. Provide a Credential Name and Description for pipeline reference.
Pipeline Coverity Configuration
1. Navigate to Pipelines to add Coverity tool to pipeline for code scan.
2. Open any pipeline and Click workflow → Edit Workflow → Click + icon to add Coverity step
3. Provide a unique step name of your choice and choose Coverity in Tool drop down.
4. Click Save and Click the Setting wheel icon to add the Coverity Configurations from Tool Registry.
5. Choose the Jenkins tool associated to Coverity Tool
6. Add the Coverity tool and credentials from the Drop down.
7. Provide the Coverity Stream Name.
8. Choose the SCM Account , Repository and Branch that needs to scanned part of the pipeline.
9. Click Save and exit the Step configuration form.
10. Click Start Pipeline to execute the Coverity Step.
Pipeline Logs
1. Navigate to Summary view to validate the Coverity Console output.
2. Click the Console Log to view the logs.
3. Click the X on top of the screen to go to the summary view to validate other stages in the pipeline.