jjb: lava: Move kprobe test to different test shell
[lttng-ci.git] / jobs / lttng-modules.yaml
index 0df201ae96a1ea1cb8eeede3b9707c5a5b55c053..0f1228791a5807f3c8d287b8120acd1989b191aa 100644 (file)
 
 
 ## Templates
+- job-template:
+    name: lttng-modules_ALL_trigger-vanilla
+    defaults: lttng-modules
+    description: |
+      The LTTng modules provide Linux kernel tracing capability to the LTTng
+      2.0 tracer toolset.
+
+      This job will trigger the build jobs when a new tag is added to the vanilla
+      and stable kernel trees.
+
+      <p>Job is managed by Jenkins Job Builder.</p>
+
+    node: 'master'
+
+    wrappers:
+      - timestamps
+      - ansicolor
+
+    scm: []
+
+    triggers:
+      - timed: "@hourly"
+
+    builders:
+      - system-groovy:
+         command:
+           !include-raw-escape: scripts/lttng-modules/trigger-vanilla.groovy
+
+    publishers: []
+
 - job-template:
     name: lttng-modules_{mversion}_{buildtype}-vanilla
     defaults: lttng-modules
           default: 'master'
           description: 'The lttng-modules branch to build.'
       - string:
-          name: 'kversion'
+          name: 'ktag'
           default: ''
           description: 'The linux kernel git tag to build against.'
       - string:
 
     builders:
       - shell: |
-          git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
+          git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
       - shell:
           !include-raw-escape: scripts/lttng-modules/param-build.sh
 
           default: 'master'
           description: 'The lttng-modules branch to build.'
       - string:
-          name: 'kversion'
+          name: 'ktag'
           default: ''
           description: 'The linux kernel git tag to build against.'
       - string:
 
     builders:
       - shell: |
-          git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
+          git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
       - shell:
           !include-raw-escape: scripts/lttng-modules/param-build.sh
 
 # Vanilla normal builds
       - 'lttng-modules_{mversion}_{buildtype}-vanilla':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
             - master
           buildtype: build
           parambuildtype: build
           kverfilter: stable-head
       - 'lttng-modules_{mversion}_fullbuild-vanilla':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
             - master
           buildtype: build
           parambuildtype: build
 # Ubuntu normal builds
       - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
             - master
           uversion:
             - trusty
 # Vanilla crossbuilds
       - 'lttng-modules_{mversion}_{buildtype}-vanilla':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
             - master
           buildtype: crossbuild
           parambuildtype: crossbuild
 # Ubuntu cross builds
       - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
             - master
           uversion:
             - trusty
           cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
 
 # Misc jobs
+      - 'lttng-modules_ALL_trigger-vanilla'
       - 'lttng-modules_{mversion}_cppcheck':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
             - master
       - 'lttng-modules_{mversion}_sloccount':
           mversion: master
This page took 0.024193 seconds and 4 git commands to generate.