Add version check to lttng-tools build
[lttng-ci.git] / jobs / liburcu.yaml
index 3c0e3f3c95678f81672b77f590112bc830a3407b..d36e101b6ee28651c4c7cce1c83141fbe036387a 100644 (file)
     wrappers:
       - workspace-cleanup
       - timestamps
-      - ansicolor
+      - ansicolor:
+          colormap: xterm
 
     scm:
       - git:
-          url: https://github.com/urcu/userspace-rcu.git
+          url: git://github.com/urcu/userspace-rcu.git
           browser: githubweb
-          browser-url: https://github.com/urcu/userspace-rcu.git
+          browser-url: https://github.com/urcu/userspace-rcu
           branches:
             - origin/{version}
 
     triggers:
-      - pollscm: "@hourly"
+      - pollscm:
+          cron: "@hourly"
 
     properties:
       - github:
-          url: https://github.com/urcu/userspace-rcu/
+          url: https://github.com/urcu/userspace-rcu
 
 
 ## Templates
@@ -60,6 +62,7 @@
     defaults: liburcu
 
     project-type: matrix
+    node: 'master' # Applies only to matrix flyweight task
     axes:
       - axis:
          type: slave
       - axis:
          type: user-defined
          name: build
-         values:
-          - std
-          - oot
-          - dist
+         values: '{obj:build}'
 
     builders:
       - shell:
       - warnings:
           console-log-parsers:
             - 'GNU Make + GNU C Compiler (gcc)'
+          #total-thresholds:
+            #failed:
+            #  total-all: 0
+            #  total-high: 0
+            #  total-normal: 0
+            #  total-low: 0
       - archive:
           artifacts: 'build/**'
           allow-empty: false
-          fingerprint: true
-      - trigger:
-          project: lttng-ust-{version}
-          threshold: SUCCESS
+      - ircbot:
+          strategy: new-failure-and-fixed
+          matrix-notifier: only-parent
+          channels:
+            - name: '#lttng'
 
 - job-template:
     name: liburcu_{version}_cppcheck
     defaults: liburcu
 
     triggers:
-      - pollscm: "@daily"
+      - pollscm:
+          cron: "@daily"
 
     builders:
       - shell: |
       - archive:
           artifacts: 'liburcu-cppcheck.xml'
           allow-empty: false
-          fingerprint: true
       - cppcheck:
           pattern: 'liburcu-cppcheck.xml'
       - email:
     node: 'x86-64'
 
     triggers:
-      - pollscm: "@daily"
+      - pollscm:
+          cron: "@daily"
 
     builders:
       - shell:
           dir: 'scan-build-archive/'
           files: 'index.html'
 
-# TODO: liburcu_{version}_coverity
+- job-template:
+    name: liburcu_{version}_coverity
+    defaults: liburcu
+    node: 'x86-64'
 
+    triggers:
+      - pollscm:
+          cron: "@daily"
 
-- job-group:
-    name: 'liburcu_{version}_build'
-    buildtype: 'build'
-    jobs:
-      - 'liburcu_{version}_{buildtype}'
+    wrappers:
+      - workspace-cleanup
+      - timestamps
+      - ansicolor:
+          colormap: xterm
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: liburcu_coverity_token
+              username: COVERITY_SCAN_PROJECT_NAME
+              password: COVERITY_SCAN_TOKEN
+
+    builders:
+      - shell:
+          !include-raw-escape scripts/common/coverity.sh
+
+    publishers:
+      - workspace-cleanup
 
-- job-group:
-    name: 'liburcu_{version}_portbuild'
-    buildtype: 'portbuild'
-    jobs:
-      - 'liburcu_{version}_{buildtype}'
 
 ## Project
 - project:
     name: liburcu
     version:
-      - stable-0.7
-      - stable-0.8
-      - master
+      !include jobs/inc/liburcu-versions.yaml.inc
     jobs:
-      - 'liburcu_{version}_build':
+      - 'liburcu_{version}_{buildtype}':
+          buildtype: build
           arch: !!python/tuple [x86-32, x86-64]
-      - 'liburcu_{version}_portbuild':
-          arch: !!python/tuple [armhf, powerpc]
+          build: !!python/tuple [std, oot, dist]
+      - 'liburcu_{version}_{buildtype}':
+          buildtype: portbuild
+          arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
+          build: !!python/tuple [std]
+      - 'liburcu_{version}_{buildtype}':
+          buildtype: solarisbuild
+          arch: !!python/tuple [solaris10, solaris11]
+          build: !!python/tuple [std]
+          version:
+            - master
+            - stable-0.9
       - 'liburcu_{version}_cppcheck'
       - 'liburcu_{version}_scan-build'
+      - 'liburcu_{version}_coverity':
+          version: master
 
This page took 0.033937 seconds and 4 git commands to generate.