Fix coverity and add cppcheck to lttng-modules
[lttng-ci.git] / jobs / kernel.yaml
index ebe604b84102e591177d57efcf09ae828dde05f9..0b59663c730b0a13792fb330a2eba246d96ce007 100644 (file)
@@ -2,7 +2,9 @@
 - defaults:
     name: kernel
     description: |
-      TODO
+      Prepare kernel tree for OOT build of lttng-modules
+
+      <p>Job is managed by Jenkins Job Builder.</p>
 
     project-type: freestyle
 
       - timestamps
       - ansicolor
 
-    scm:
-      - git:
-          url: git://artifacts.internal.efficios.com/git/linux-stable.git
-          branches:
-            - refs/tags/v{kversion}
-          shallow-clone: true
-          skip-tag: true
-          fastpoll: true
-          basedir: linux
-          reference-repo: $HOME/gitcache/linux-stable.git/
+    #scm:
+    #  - git:
+    #      url: git://artifacts.internal.efficios.com/git/linux-stable.git
+    #      branches:
+    #        - refs/tags/v{kversion}
+    #      shallow-clone: true
+    #      skip-tag: true
+    #      fastpoll: true
+    #      basedir: linux
+    #      reference-repo: $HOME/gitcache/linux-stable.git/
 
     properties:
       - throttle:
           max-per-node: 0
           max-total: 0
+          option: category
           categories:
             - 'lttng-module-linux'
 
@@ -42,6 +45,7 @@
     defaults: kernel
 
     project-type: matrix
+    node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
     axes:
       - axis:
          type: slave
@@ -49,6 +53,8 @@
          values: '{obj:arch}'
 
     builders:
+      - 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/kernel/build.sh
 
       - archive:
           artifacts: 'build/**'
           allow-empty: false
-          fingerprint: true
-      - trigger:
-          project: lttng-modules_master_{kversion}_{buildtype}
-          threshold: SUCCESS
+      - workspace-cleanup
 
 
 ## Project
@@ -71,6 +74,6 @@
       - 'kernel_{kversion}_{buildtype}':
           buildtype: build
           arch: !!python/tuple [x86-32, x86-64]
-      - 'kernel_{kversion}_{buildtype}':
-          buildtype: portbuild
-          arch: !!python/tuple [armhf, powerpc]
+      #- 'kernel_{kversion}_{buildtype}':
+      #    buildtype: portbuild
+      #    arch: !!python/tuple [armhf, powerpc]
This page took 0.040862 seconds and 4 git commands to generate.