Set lttng-modules jobs to poll scm daily
[lttng-ci.git] / jobs / lttng-modules.yaml
index 82d82f45007daccf4d3b14445622ea112b109eae..3b1971828f88c3ef619e41508a40656f78fa51e5 100644 (file)
@@ -2,7 +2,9 @@
 - defaults:
     name: lttng-modules
     description: |
-      TODO
+      Build lttng-modules against different Linux kernels.
+
+      <p>Job is managed by Jenkins Job Builder.</p>
 
     project-type: freestyle
 
       - ansicolor
 
     scm:
-      - git:
-          url: git://artifacts.internal.efficios.com/git/linux-stable.git
-          branches:
-            - refs/tags/v{kversion}
-          shallow-clone: true
-          basedir: linux
       - git:
           url: git://github.com/lttng/lttng-modules.git
           branches:
             - "{mversion}"
+          shallow-clone: true
+          skip-tag: true
+          fastpoll: true
           basedir: lttng-modules
 
     triggers:
-      - pollscm: "@yearly"
+      - pollscm: "@daily"
 
     properties:
       - throttle:
           max-per-node: 0
           max-total: 0
+          option: category
           categories:
             - 'lttng-module-linux'
 
@@ -47,6 +47,7 @@
     defaults: lttng-modules
 
     project-type: matrix
+    node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
     axes:
       - axis:
          type: slave
@@ -60,6 +61,8 @@
           stable: true
           filter: 'build/**'
           target: 'deps/linux'
+      - shell: |
+          git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux
       - shell:
               !include-raw-escape scripts/lttng-modules/build.sh
 
@@ -68,6 +71,7 @@
           artifacts: 'build/**'
           allow-empty: false
           fingerprint: true
+      - workspace-cleanup
 
 
 ## Project
@@ -81,6 +85,6 @@
       - 'lttng-modules_{mversion}_{kversion}_{buildtype}':
           buildtype: build
           arch: !!python/tuple [x86-32, x86-64]
-      - 'lttng-modules_{mversion}_{kversion}_{buildtype}':
-          buildtype: portbuild
-          arch: !!python/tuple [armhf, powerpc]
+      #- 'lttng-modules_{mversion}_{kversion}_{buildtype}':
+      #    buildtype: portbuild
+      #    arch: !!python/tuple [armhf, powerpc]
This page took 0.023707 seconds and 4 git commands to generate.