Add email notification to libdelorean jobs
[lttng-ci.git] / jobs / lttng-baremetal-tests.yaml
index b13ff54d3228ee80a2be170cd2f6724f1dfa2a13..266c2d41c7f4b60c253cd6ac47bc5533a030517e 100644 (file)
@@ -6,15 +6,16 @@
     triggers:
       - pollscm:
           cron: "H * * * 1-5"
-    logrotate:
-      numToKeep: 10
 
     properties:
+      - build-discarder:
+          num-to-keep: 10
       - throttle:
           max-total: 2
           option: 'category'
           categories:
             - 'baremetal-tests'
+
     project-type: freestyle
     node: 'x86-64'
     wrappers:
@@ -33,6 +34,7 @@
             TOOLS_BRANCH={lttngversion}
             UST_BRANCH={lttngversion}
             BUILD_DEVICE=baremetal
+
     publishers:
       - archive:
           artifacts: '*.png,*.csv'
@@ -45,6 +47,7 @@
           title: Results
           includes: '*.png'
       - workspace-cleanup
+
     scm:
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
       - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
       - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh
 
+
 - defaults:
     name: vm_tests
     description: |
       Runs baremetal kernel tests over different combination of kernel and lttng configurations.
     project-type: freestyle
     node: 'master'
+
     properties:
+      - build-discarder:
+          num-to-keep: 10
       - throttle:
           max-total: 2
           option: 'category'
           categories:
             - 'kvm-tests'
+
     triggers:
       - pollscm:
           cron: "H * * * 1-5"
-    logrotate:
-      numToKeep: 10
 
     wrappers:
       - workspace-cleanup
             BUILD_DEVICE=kvm
             TOOLS_BRANCH={lttngversion}
             UST_BRANCH={lttngversion}
+
     scm:
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
           properties-file: properties.txt
       - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
 
+
 - defaults:
     name: vm_tests_kmainline
     defaults: vm_tests
+
     triggers:
       - pollscm:
           cron: "0 1 * * 1-5"
+
     wrappers:
       - workspace-cleanup
       - timestamps
               variable: LAVA_JENKINS_TOKEN
       - inject:
           properties-content: |
-            TOOLS_BRANCH={toolsversion}
-            MODULES_BRANCH={modulesversion}
-            UST_BRANCH={ustversion}
+            TOOLS_BRANCH={lttngversion}
+            MODULES_BRANCH={lttngversion}
+            UST_BRANCH={lttngversion}
             BUILD_DEVICE=baremetal
     scm:
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
           branches:
-            - "{toolsversion}"
+            - "{lttngversion}"
           shallow-clone: true
           skip-tag: true
           fastpoll: true
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
           branches:
-            - "{modulesversion}"
+            - "{lttngversion}"
           shallow-clone: true
           skip-tag: true
           fastpoll: true
           fastpoll: true
           basedir: src/linux
 
+
 - defaults:
     name: baremetal_tests
     description: |
       Runs baremetal kernel tests over different combination of kernel and lttng configurations.
     project-type: freestyle
     node: 'master'
+
     properties:
+      - build-discarder:
+          num-to-keep: 10
       - throttle:
           max-total: 2
           option: 'category'
           categories:
             - 'baremetal-tests'
+
     triggers:
       - pollscm:
           cron: "H * * * 1-5"
-    logrotate:
-      numToKeep: 10
 
     wrappers:
       - workspace-cleanup
           properties-content: |
             UST_BRANCH={lttngversion}
             BUILD_DEVICE=baremetal
+
     scm:
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
           properties-file: properties.txt
       - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
 
+
 - job-template:
     name: baremetal_benchmarks_k{kversion}_l{lttngversion}
     defaults: baremetal_benchmarks
     name: baremetal_tests_k{kversion}_l{lttngversion}
     defaults: baremetal_tests
 
+
 # Canary jobs are made to confirm that the whole Lava pipeline is working.
 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
 # of those jobs fails, it means that there is an issue with the configuration
     triggers:
       - timed: "0 1 * * 1-5"
 - job-template:
-    name: vm_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
+    name: vm_tests_kmainline_l{lttngversion}
     defaults: vm_tests_kmainline
 
 - job-template:
-    name: vm_tests_fuzzing_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
+    name: vm_tests_fuzzing_kmainline_l{lttngversion}
     defaults: vm_tests_kmainline
 
     builders:
       - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-fuzzing-tests.sh
 
 - job-template:
-    name: baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
+    name: baremetal_tests_kmainline_l{lttngversion}
     defaults: baremetal_tests
+
     triggers:
       - pollscm:
           cron: "0 1 * * 1-5"
+
     wrappers:
       - workspace-cleanup
       - timestamps
               variable: LAVA_JENKINS_TOKEN
       - inject:
           properties-content: |
-            TOOLS_BRANCH={toolsversion}
-            MODULES_BRANCH={modulesversion}
-            UST_BRANCH={ustversion}
+            TOOLS_BRANCH={lttngversion}
+            MODULES_BRANCH={lttngversion}
+            UST_BRANCH={lttngversion}
             BUILD_DEVICE=baremetal
+
     scm:
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
           branches:
-            - "{toolsversion}"
+            - "{lttngversion}"
           shallow-clone: true
           skip-tag: true
           fastpoll: true
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
           branches:
-            - "{modulesversion}"
+            - "{lttngversion}"
           shallow-clone: true
           skip-tag: true
           fastpoll: true
             - "master"
           fastpoll: true
           basedir: src/linux
+
+
 - job-template:
-    name: baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
+    name: baremetal_benchmarks_kmainline_l{lttngversion}
     defaults: baremetal_benchmarks
+
     triggers:
       - pollscm:
           cron: "0 1 * * 1-5"
+
     wrappers:
       - workspace-cleanup
       - timestamps
               variable: identity_file
       - inject:
           properties-content: |
-            TOOLS_BRANCH={toolsversion}
-            MODULES_BRANCH={modulesversion}
-            UST_BRANCH={ustversion}
+            TOOLS_BRANCH={lttngversion}
+            MODULES_BRANCH={lttngversion}
+            UST_BRANCH={lttngversion}
             BUILD_DEVICE=baremetal
+
     scm:
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
           branches:
-            - "{toolsversion}"
+            - "{lttngversion}"
           shallow-clone: true
           skip-tag: true
           fastpoll: true
       - git:
           url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
           branches:
-            - "{modulesversion}"
+            - "{lttngversion}"
           shallow-clone: true
           skip-tag: true
           fastpoll: true
           fastpoll: true
           basedir: src/linux
 
+
 - job:
     name: build_kernel_PARAM
     description: |
       Builds a Linux Kernel and LTTng Modules if necessary
-    defaults: global
     concurrent: true
-
-    logrotate:
-      numToKeep: 100
     node: 'x86-64'
 
+    properties:
+      - build-discarder:
+          num-to-keep: 100
+
     wrappers:
       - workspace-cleanup
       - timestamps
           - file:
               credential-id: system_tests_storage_key
               variable: identity_file
+
     builders:
       - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
       - inject:
       - string:
           name: 'BUILD_DEVICE'
           description: 'The target device. (kvm or baremetal)'
+
     publishers:
       - workspace-cleanup
 
+
 ## Project
 - project:
     name: lttng-kernel-tests
 
 - project:
     name: lttng-kernel-tests-mainline
-    toolsversion:
-      - v2.9.3
-    ustversion:
-      - v2.9.0
-    modulesversion:
-      - stable-2.9
+    lttngversion:
+      - master
     jobs:
-      - 'vm_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
-      - 'vm_tests_fuzzing_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
-      - 'baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
-      - 'baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
+      - 'vm_tests_kmainline_l{lttngversion}'
+      - 'vm_tests_fuzzing_kmainline_l{lttngversion}'
+      - 'baremetal_tests_kmainline_l{lttngversion}'
+      - 'baremetal_benchmarks_kmainline_l{lttngversion}'
This page took 0.029361 seconds and 4 git commands to generate.