jjb: logrotate is deprecated
[lttng-ci.git] / jobs / lttng-analyses.yaml
index c698640e593ad0d3d5484d851bbac81b4868f810..2bb45ed9f0e8b7d32a6725f2e4bfd4b7e3a7709e 100644 (file)
@@ -7,12 +7,6 @@
 
     project-type: freestyle
 
-    logrotate:
-        daysToKeep: -1
-        numToKeep: 2
-        artifactDaysToKeep: -1
-        artifactNumToKeep: -1
-
     wrappers:
       - workspace-cleanup
       - timestamps
 
     scm:
       - git:
-          url: git://github.com/lttng/lttng-analyses.git
+          url: git://github.com/{github_user}/{github_name}.git
           browser: githubweb
-          browser-url: https://github.com/lttng/lttng-analyses
+          browser-url: https://github.com/{github_user}/{github_name}
           branches:
             - origin/{version}
+          basedir: src/lttng-analyses
 
     triggers:
       - pollscm:
           cron: "@hourly"
 
     properties:
+      - build-discarder:
+          num-to-keep: 2
       - github:
-          url: https://github.com/lttng/lttng-analyses
+          url: https://github.com/{github_user}/{github_name}
 
 
 ## Templates
          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
           filter: 'build/**'
 ## Project
 - project:
     name: lttng-analyses
+    github_user: lttng
+    github_name: lttng-analyses
     version:
       - master
     jobs:
       - 'lttng-analyses_{version}_build':
           arch: !!python/tuple [x86-32, x86-64]
+          babeltrace_version: !!python/tuple [stable-1.3, stable-1.4, master]
       - 'lttng-analyses_{version}_pylint'
 
This page took 0.024573 seconds and 4 git commands to generate.