jjb: Add liburcu stable-0.10 jobs
[lttng-ci.git] / jobs / lttng-analyses.yaml
index 75737c22af156e01ae967a5be354d900cc27d664..910ff4b189ed5f085c995211d54cd0c2bc3c8226 100644 (file)
@@ -7,17 +7,16 @@
 
     project-type: freestyle
 
-    logrotate:
-        daysToKeep: -1
-        numToKeep: 2
-        artifactDaysToKeep: -1
-        artifactNumToKeep: -1
-
     wrappers:
       - workspace-cleanup
       - timestamps
       - ansicolor:
           colormap: xterm
+      - credentials-binding:
+          - username-password-separated:
+              credential-id: lttng-analyses_codecov_token
+              username: CODECOV_PROJECT_NAME
+              password: CODECOV_TOKEN
 
     scm:
       - git:
           browser-url: https://github.com/{github_user}/{github_name}
           branches:
             - origin/{version}
+          basedir: src/lttng-analyses
+          skip-tag: true
 
     triggers:
       - pollscm:
           cron: "@hourly"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
           url: https://github.com/{github_user}/{github_name}
 
          type: slave
          name: arch
          values: '{obj:arch}'
+      - axis:
+         type: user-defined
+         name: babeltrace_version
+         values: '{obj:babeltrace_version}'
 
     builders:
       - copyartifact:
-          project: babeltrace_master_build/arch=${{arch}},build=std,conf=python-bindings
+          project: babeltrace_${{babeltrace_version}}_build/arch=${{arch}},build=std,conf=python-bindings
           which-build: last-successful
-          stable: true
+          stable: false
           filter: 'build/**'
           target: 'deps/babeltrace'
       - shell:
          !include-raw-escape: scripts/lttng-analyses/build.sh
 
-#    publishers:
+    publishers:
 #      - archive:
 #          artifacts: 'build/**'
 #          allow-empty: false
+      - ircbot:
+          strategy: new-failure-and-fixed
+          matrix-notifier: only-parent
+          channels:
+            - name: '#lttng'
 
 
 - job-template:
@@ -76,9 +88,9 @@
 
     builders:
        - copyartifact:
-           project: babeltrace_master_build/arch=x86-64,build=std,conf=python-bindings
+           project: babeltrace_{babeltrace_version}_build/arch=x86-64,build=std,conf=python-bindings
            which-build: last-successful
-           stable: true
+           stable: false
            filter: 'build/**'
            target: 'deps/babeltrace'
        - shell:
     jobs:
       - 'lttng-analyses_{version}_build':
           arch: !!python/tuple [x86-32, x86-64]
-      - 'lttng-analyses_{version}_pylint'
+          babeltrace_version: !!python/tuple [stable-1.4, stable-1.5, master]
+      - 'lttng-analyses_{version}_pylint':
+          babeltrace_version: stable-1.5
 
This page took 0.02308 seconds and 4 git commands to generate.