Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel7

Tool Registry

...

Setup

Coverity

...

Tool Configuration

  1. Click Tool Registry under Operations in Home page .

  2. Click ‘New ‘+ New Tool’ button to add Coverity.

3. Locate the Coverity tool and click ‘Select Tool’ button.

...

4. Provide a Tool name Name and select Coverity as Tool Identifier.

...

45. Provide a description and click Create .

56. 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 the ‘Select Coverity License’ button.

...

7. Click the ‘Save’ button. Navigate to Usage tab or another tab, then back to Connection tab. Click Test Connection ‘Test Connection’ button to validate the connectivity. If tool connection is successful, you will receive the following messages:

...

Jenkins Tool

...

Account Configuration using Coverity

  1. Navigate to Tool Registry and choose the Jenkins tool associated with your pipeline.

...

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.

Jenkins Tool

...

Job Configuration using Coverity

Coverity provides Linux Windows-based support as well as Ubuntu support.

  1. Navigate to the Jobs tab and select ‘+ New Jenkins Job’ button

  2. Select Coverity Scan from the Job Type dropdown. Provide a Name and Description for pipeline reference. Select ‘Ubuntu Agent’ or ‘Windows Agent’ from the Agent Label dropdown.

  3. Click the ‘Create’ button.

Coverity Pipeline

Coverity Pipeline Configuration

1. Navigate to Pipelines to add Coverity tool to pipeline for code scan.

...

12. Click Start Pipeline to execute the Coverity Step.

...

Pipeline Logs

1. Navigate to ‘Summary’ view to validate the Coverity Console output.

...