Note |
---|
Major Coverity Scan service upgrade is in progress - the service may go offline or read-only. |
Section |
---|
Column |
---|
Coverity Scan resultsclamp | |
---|
multicloud/k8s |
Note |
---|
Golang support might be available after the Coverity Scan service upgrade (end of 2019?). |
|
---|
policy/apex-pdp | |
---|
policy/engine | |
---|
portal | |
---|
sdc | |
---|
sdc/dcae-d/dt-be-property | |
---|
sdc/dcae-d/fe | |
---|
so | |
---|
|
|
...
- Visit new project registration page.
- Fill the following info:
- Project Name (e.g.
"onap-so")
onap-[a-z0-9-]+
(avoid using "/")
- the project name will be used as a parameter for appropriate Jenkins job to submit build results
- Role - set it to
"Maintainer/Ovner"
- Language (e.g.
"Java"
) - Repository URL (e.g.
"https://git.onap.org/so/"
) - License (e.g.
"Apache"
) - Homepage URL (e.g.
"https://www.onap.org/"
) - Reference URL
- proof of your association with the project, e.g. link to your commit
- optional but highly recommended
- Additional information (e.g.
"SO is a component of Open Networking Automation Platform - an open source networking project hosted by the Linux Foundation."
)
- Project will be created immediately. We can send builds for analysis. However, access to defects report should be unlocked after the project verification by Coverity Scan admins (it usually takes a couple of working days).
- To configure a Jenkins job for automated build submission we need a Project Token. It can be found on "Project Settings" tab:

- Setup a Jenkins job for the component.
Anchor |
---|
| jenkins-setup |
---|
| jenkins-setup |
---|
|
Setup Jenkins to submit builds for Coverity Scan evaluation periodicallyAdd the following job project to appropriate yaml config. E.g. for SO (https://git.onap.org/ci-management/tree/jjb/so/so.yaml):
...
- Open Coverity Scan page for your project. You can either use Coverity Scan projects search or find a direct link on appropriate Jenkins job page:

- If you have not been added to the project on Coverity Scan service yet:
- Click on "Add me to project" and fill the form:


- Wait till the project administrators grant you appropriate permissions.
- Click on "View Defects":

Reference Coverity defect ID in commit message
...
- Go to "Triage" section on the right panel of "View Defects" page.
- Set "Action" to "Ignore" and "Apply".

If you have "Maintainer/Owner" permissions for a project:
- Go to "Project Setting" tab on project page and click "Edit".
- Check "Exclude Findbugs Defects" .


Disable tests analysis
Modify "mvn-params" attribute of appropriate Jenkins job to skip build of the tests:
Code Block |
---|
|
- project:
name: 'so-coverity'
mvn-params: '-Dmaven.test.skip=true'
... |
Anchor |
---|
| analysed-files-list |
---|
| analysed-files-list |
---|
|
List all files of a project analysed by Coverity Scan
See "coverity-scan-analysed-files.log.gz"
file in archived Jenkins build artifacts.
Overview Coverity Scan build logs
See "cov-int/build-log.txt.gz"
file in archived Jenkins build artifacts.
See also
Jira Legacy |
---|
server | System Jira |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | 4733707d-2057-3a0f-ae5e-4fd8aff50176 |
---|
key | CIMAN-260 |
---|
|
- Supported programming languages
...