Add JJB template for static code analysis by Coverity Scan service 46/89646/3
authorArtem Naluzhnyy <A.Naluzhnyy@samsung.com>
Mon, 10 Jun 2019 14:39:54 +0000 (16:39 +0200)
committerArtem Naluzhnyy <a.naluzhnyy@samsung.com>
Mon, 10 Jun 2019 17:01:31 +0000 (17:01 +0000)
commit6ba957886d6ad9b6b7bd6979677ebc88d3c76e26
tree447217bfc56306fb9445b7c724721d93453c2e48
parent9ef7f25b4c4f3ff7eb83518261de099c6ec81787
Add JJB template for static code analysis by Coverity Scan service

"onap-gerrit-maven-coverity" JJB template runs 'mvn clean install' and then
publishes results to Coverity Scan service for static code analysis.

Usage example:

- project:
    name: so-coverity
    jobs:
      - onap-gerrit-maven-coverity
    cron: '@daily'
    build-node: 'ubuntu1604-builder-4c-4g'
    project: 'so'
    project-name: 'so'
    branch: 'master'
    mvn-settings: 'so-settings'
    mvn-goals: 'clean install'
    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
    mvn-params: '-Dmaven.test.skip=true'
    coverity-project-name: 'onap-so'
    coverity-token: 'PUT COVERITY TOKEN HERE'
    coverity-user-email: 'PUT USER EMAIL HERE'

Issue-ID: CIMAN-260

Signed-off-by: Artem Naluzhnyy <A.Naluzhnyy@samsung.com>
Change-Id: I6f4fa6359b5be91932c5a1a1ed7ba0a4068ac152
jjb/ci-management/ci-management-coverity.yaml [new file with mode: 0644]
jjb/ci-management/ci-management-views.yaml
shell/maven-coverity.sh [new file with mode: 0644]