Add coverity to babeltrace
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 2 Sep 2015 21:09:55 +0000 (17:09 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 2 Sep 2015 21:09:55 +0000 (17:09 -0400)
jobs/babeltrace.yaml

index 659a45a3f8d40d13f32dfadc8dfd131db85de8a2..9b21514814c576f757536a72194a1eb5bb84d825 100644 (file)
@@ -23,7 +23,8 @@
     wrappers:
       - workspace-cleanup
       - timestamps
-      - ansicolor
+      - ansicolor:
+          colormap: xterm
 
     scm:
       - git:
@@ -34,7 +35,8 @@
             - origin/{version}
 
     triggers:
-      - pollscm: "@hourly"
+      - pollscm:
+          cron: "@hourly"
 
     properties:
       - github:
@@ -92,7 +94,8 @@
     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
 
This page took 0.028604 seconds and 4 git commands to generate.