jjb: lava: make mainline jobs track LTTng master branches
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 13 Dec 2017 22:08:13 +0000 (17:08 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 13 Dec 2017 22:08:13 +0000 (17:08 -0500)
Tracking release branches is causing frequent build failures as the
Linux kernel instrumentation evolves.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
jobs/lttng-baremetal-tests.yaml

index 3406af0e9148cd34fabc5c57c6b9b0e89cd2dc9a..266c2d41c7f4b60c253cd6ac47bc5533a030517e 100644 (file)
               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
     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:
               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
 
 
 - job-template:
-    name: baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
+    name: baremetal_benchmarks_kmainline_l{lttngversion}
     defaults: baremetal_benchmarks
 
     triggers:
               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
 
 - 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.026691 seconds and 4 git commands to generate.