Standardize cppcheck config
[lttng-ci.git] / jobs / lttng-modules.yaml
index b5e48ac86a6e38a5ce2d3f18c6d32bf73e34b8ca..3dcfd1beca1919c710b22c1add28bf28668939d1 100644 (file)
           name: 'kverfloor'
           default: 'v2.6.36-rt0-rebase'
           description: 'The lowest kernel version to build.'
+      - string:
+          name: 'kverceil'
+          default: '{kverceil}'
+          description: 'The highest kernel version to build. (excluded)'
+      - string:
+          name: 'kverfilter'
+          default: '{kverfilter}'
+          description: 'Kernel versions list filtering strategy.'
       - string:
           name: 'kgitrepo'
-          default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git'
+          default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-stable-rt.git'
           description: 'The linux kernel git repository url.'
       - string:
           name: 'kbuildjob'
 
     publishers:
       - workspace-cleanup
+      - email-ext:
+          recipients: '{obj:email_to}'
+          reply-to: ci-notification@lists.lttng.org
+          always: false
+          unstable: false
+          first-failure: true
+          first-unstable: true
+          not-built: false
+          aborted: false
+          regression: false
+          failure: false
+          second-failure: false
+          improvement: false
+          still-failing: false
+          success: false
+          fixed: false
+          fixed-unhealthy: true
+          still-unstable: false
+          pre-build: false
+          matrix-trigger: only-parent
+          send-to:
+            - recipients
 
 
 ## Templates
           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
 
+    publishers:
+      - workspace-cleanup
+
 - job-template:
     name: lttng-modules_VERSION_param-crossbuild
     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
+    publishers:
+      - workspace-cleanup
 
 - job-template:
     name: lttng-modules_{mversion}_coverity
 
     builders:
       - shell: |
-          rm -f cppcheck.xml
-          cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
+          rm -f cppcheck-result.xml
+          cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml
 
     publishers:
       - archive:
-          artifacts: 'cppcheck.xml'
+          artifacts: 'cppcheck-result.xml'
           allow-empty: false
       - cppcheck:
-          pattern: 'cppcheck.xml'
+          pattern: 'cppcheck-result.xml'
 
 - job-template:
     name: lttng-modules_{mversion}_sloccount
     name: lttng-modules
     github_user: lttng
     github_name: lttng-modules
+    email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
     jobs:
 
 # Vanilla normal builds
       - 'lttng-modules_{mversion}_{buildtype}-vanilla':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
+            - stable-2.11
             - master
           buildtype: build
           parambuildtype: build
           kverfilter: stable-head
       - 'lttng-modules_{mversion}_fullbuild-vanilla':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
+            - stable-2.11
             - master
           buildtype: build
           parambuildtype: build
 # RT normal builds
       - 'lttng-modules_{mversion}_build-rt':
           mversion: master
+          kverceil: ''
+          kverfilter: stable-head
 
 # Ubuntu normal builds
       - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
+            - stable-2.11
             - master
           uversion:
             - trusty
             - xenial
+            - bionic
           buildtype: build
           parambuildtype: build
           kverfloor: ''
 # Vanilla crossbuilds
       - 'lttng-modules_{mversion}_{buildtype}-vanilla':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
+            - stable-2.11
             - master
           buildtype: crossbuild
           parambuildtype: crossbuild
 # Ubuntu cross builds
       - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
+            - stable-2.11
             - master
           uversion:
             - trusty
             - xenial
+            - bionic
           buildtype: crossbuild
           parambuildtype: crossbuild
           kverfloor: ''
       - 'lttng-modules_ALL_trigger-vanilla'
       - 'lttng-modules_{mversion}_cppcheck':
           mversion:
-            - stable-2.8
             - stable-2.9
+            - stable-2.10
+            - stable-2.11
             - master
       - 'lttng-modules_{mversion}_sloccount':
           mversion: master
This page took 0.025412 seconds and 4 git commands to generate.