X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=0f1228791a5807f3c8d287b8120acd1989b191aa;hb=9d9c173f49f607ea4a93fc04fa92f74281c2f7db;hp=0df201ae96a1ea1cb8eeede3b9707c5a5b55c053;hpb=3a01c580582e4697b1554ed3695e57ef5911e919;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 0df201a..0f12287 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -151,6 +151,36 @@ ## 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 +301,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,7 +325,7 @@ 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 @@ -326,7 +356,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,7 +380,7 @@ 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 @@ -442,8 +472,8 @@ # Vanilla normal builds - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 - master buildtype: build parambuildtype: build @@ -459,8 +489,8 @@ kverfilter: stable-head - 'lttng-modules_{mversion}_fullbuild-vanilla': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 - master buildtype: build parambuildtype: build @@ -482,8 +512,8 @@ # Ubuntu normal builds - 'lttng-modules_{mversion}_{buildtype}-{uversion}': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 - master uversion: - trusty @@ -497,8 +527,8 @@ # Vanilla crossbuilds - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 - master buildtype: crossbuild parambuildtype: crossbuild @@ -516,8 +546,8 @@ # Ubuntu cross builds - 'lttng-modules_{mversion}_{buildtype}-{uversion}': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 - master uversion: - trusty @@ -535,10 +565,11 @@ 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