wrappers:
- workspace-cleanup
- timestamps
- - ansicolor
+ - ansicolor:
+ colormap: xterm
scm:
- git:
- origin/{version}
triggers:
- - pollscm: "@hourly"
+ - pollscm:
+ cron: "@hourly"
properties:
- github:
defaults: babeltrace
triggers:
- - pollscm: "@daily"
+ - pollscm:
+ cron: "@daily"
builders:
- shell: |
node: 'x86-64'
triggers:
- - pollscm: "@daily"
+ - pollscm:
+ cron: "@daily"
builders:
- shell:
dir: 'scan-build-archive/'
files: 'index.html'
-# TODO: babeltrace_{version}_coverity
-#- job-template:
-# name: babeltrace_{version}_coverity
-# defaults: babeltrace
-# node: 'x86-64'
-#
-# triggers:
-# - pollscm: "@daily"
-#
-# builders:
-# - shell:
-# !include-raw-escape scripts/babeltrace/coverity.sh
-#
-# publishers:
-# - html-publisher:
-# name: 'HTML Report'
-# dir: 'scan-build-archive/'
-# files: 'index.html'
+- job-template:
+ name: babeltrace_{version}_coverity
+ defaults: babeltrace
+ node: 'x86-64'
+
+ triggers:
+ - pollscm:
+ cron: "@daily"
+
+ wrappers:
+ - workspace-cleanup
+ - timestamps
+ - ansicolor:
+ colormap: xterm
+ - credentials-binding:
+ - username-password-separated:
+ credential-id: babeltrace_coverity_token
+ username: COVERITY_SCAN_PROJECT_NAME
+ password: COVERITY_SCAN_TOKEN
+ builders:
+ - shell:
+ !include-raw-escape scripts/common/coverity.sh
+
+ publishers:
+ - workspace-cleanup
- job-template:
name: babeltrace_{version}_pylint
scm: []
triggers:
- - pollscm: "@daily"
+ - pollscm:
+ cron: "@daily"
builders:
- copyartifact:
- 'babeltrace_{version}_cppcheck'
- 'babeltrace_{version}_scan-build'
- 'babeltrace_{version}_pylint'
+ - 'babeltrace_{version}_coverity':
+ version: master