X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=d61cf56e49d1eed9b3969c17f981728e2512c0b4;hb=6252703ba33efacb583f10df01b2454c5fde1d74;hp=0df201ae96a1ea1cb8eeede3b9707c5a5b55c053;hpb=3a01c580582e4697b1554ed3695e57ef5911e919;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 0df201a..d61cf56 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -83,9 +83,17 @@ 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' @@ -148,9 +156,61 @@ 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 +- 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. + +

Job is managed by Jenkins Job Builder.

+ + 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 @@ -271,7 +331,7 @@ 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: @@ -295,10 +355,13 @@ 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 @@ -326,7 +389,7 @@ 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: @@ -350,9 +413,11 @@ 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 @@ -437,13 +502,15 @@ 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 @@ -459,8 +526,9 @@ 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 @@ -478,16 +546,20 @@ # 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: '' @@ -497,8 +569,9 @@ # 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 @@ -516,12 +589,14 @@ # 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: '' @@ -535,10 +610,12 @@ 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 + - stable-2.11 - master - 'lttng-modules_{mversion}_sloccount': mversion: master