-# TODO: lttng-ust_{version}_coverity
-#- job-template:
-# name: lttng-ust_{version}_coverity
-# defaults: lttng-ust
-# node: 'x86-64'
-#
-# triggers:
-# - pollscm:
-# cron: "@daily"
-#
-# builders:
-# - shell:
-# !include-raw-escape scripts/lttng-ust/coverity.sh
-#
-# publishers:
-# - html-publisher:
-# name: 'HTML Report'
-# dir: 'scan-build-archive/'
-# files: 'index.html'
+- job-template:
+ name: lttng-ust_{version}_coverity
+ defaults: lttng-ust
+ node: 'x86-64'
+
+ triggers:
+ - pollscm:
+ cron: "@daily"
+
+ wrappers:
+ - workspace-cleanup
+ - timestamps
+ - ansicolor:
+ colormap: xterm
+ - credentials-binding:
+ - username-password-separated:
+ credential-id: lttng-ust_coverity_token
+ username: COVERITY_SCAN_PROJECT_NAME
+ password: COVERITY_SCAN_TOKEN
+
+ builders:
+ - copyartifact:
+ project: liburcu_master_build/arch=x86-64,conf=std,build=std
+ which-build: last-successful
+ stable: true
+ filter: 'build/**'
+ target: 'deps/liburcu'
+ do-not-fingerprint: true
+ - shell:
+ !include-raw-escape: scripts/common/coverity.sh
+
+ publishers:
+ - workspace-cleanup