3 - lttng-modules_build_parameters_defaults: <tng-modules_build_parameters_defaults
4 name: 'lttng-modules_build_parameters_defaults'
9 description: 'The lttng-modules branch to build.'
11 name: 'maxConcurrentBuild'
13 description: 'The maximum number of concurrent child build to run.'
16 default: '{kverfloor}'
17 description: 'The lowest kernel version to build.'
21 description: 'The highest kernel version to build. (excluded)'
24 default: '{kverfilter}'
25 description: 'Kernel versions list filtering strategy.'
28 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
29 description: 'The linux kernel git repository url.'
32 default: 'lttng-modules_VERSION_param-{parambuildtype}'
33 description: 'The parametrized job to use for child builds.'
35 - lttng-modules_build_parameters_ubuntu: <tng-modules_build_parameters_ubuntu
36 name: 'lttng-modules_build_parameters_ubuntu'
41 description: 'The lttng-modules branch to build.'
43 name: 'maxConcurrentBuild'
45 description: 'The maximum number of concurrent child build to run.'
48 default: '{kverfloor}'
49 description: 'The lowest kernel version to build.'
53 description: 'The highest kernel version to build. (excluded)'
56 default: '{kverfilter}'
57 description: 'Kernel versions list filtering strategy.'
60 default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git'
61 description: 'The linux kernel git repository url.'
64 default: 'lttng-modules_VERSION_param-{parambuildtype}'
65 description: 'The parametrized job to use for child builds.'
69 description: 'The lowest kernel version to build.'
71 - lttng-modules_build_parameters_rt: <tng-modules_build_parameters_rt
72 name: 'lttng-modules_build_parameters_rt'
77 description: 'The lttng-modules branch to build.'
79 name: 'maxConcurrentBuild'
81 description: 'The maximum number of concurrent child build to run.'
84 default: 'v2.6.36-rt0-rebase'
85 description: 'The lowest kernel version to build.'
88 default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git'
89 description: 'The linux kernel git repository url.'
92 default: 'lttng-modules_VERSION_param-build'
93 description: 'The parametrized job to use for child builds.'
95 - lttng-modules_build_builders_defaults: <tng-modules_build_builders_defaults
96 name: 'lttng-modules_build_builders_defaults'
100 !include-raw-escape: scripts/lttng-modules/master.groovy
102 - lttng-modules_build_rt_builders_defaults: <tng-modules_build_rt_builders_defaults
103 name: 'lttng-modules_build_rt_builders_defaults'
107 !include-raw-escape: scripts/lttng-modules/master-rt.groovy
114 The LTTng modules provide Linux kernel tracing capability to the LTTng
117 <p>Job is managed by Jenkins Job Builder.</p>
119 project-type: freestyle
128 url: git://github.com/{github_user}/{github_name}.git
130 browser-url: https://github.com/{github_user}/{github_name}
135 basedir: src/lttng-modules
136 wipe-workspace: false
147 url: https://github.com/{github_user}/{github_name}
155 name: lttng-modules_ALL_trigger-vanilla
156 defaults: lttng-modules
158 The LTTng modules provide Linux kernel tracing capability to the LTTng
161 This job will trigger the build jobs when a new tag is added to the vanilla
162 and stable kernel trees.
164 <p>Job is managed by Jenkins Job Builder.</p>
180 !include-raw-escape: scripts/lttng-modules/trigger-vanilla.groovy
185 name: lttng-modules_{mversion}_{buildtype}-vanilla
186 defaults: lttng-modules
188 The LTTng modules provide Linux kernel tracing capability to the LTTng
191 This job will build the {mversion} branch against stable vanilla
194 <p>Job is managed by Jenkins Job Builder.</p>
198 <<: *lttng-modules_build_parameters_defaults
199 <<: *lttng-modules_build_builders_defaults
202 name: lttng-modules_{mversion}_fullbuild-vanilla
203 defaults: lttng-modules
205 The LTTng modules provide Linux kernel tracing capability to the LTTng
208 This job will build the {mversion} branch against all stable vanilla
211 <p>Job is managed by Jenkins Job Builder.</p>
215 <<: *lttng-modules_build_parameters_defaults
216 <<: *lttng-modules_build_builders_defaults
223 name: lttng-modules_{mversion}_{buildtype}-{uversion}
224 defaults: lttng-modules
226 The LTTng modules provide Linux kernel tracing capability to the LTTng
229 This job will build the {mversion} branch against Ubuntu {uversion}
230 released kernels, including the LTS backport kernels.
232 <p>Job is managed by Jenkins Job Builder.</p>
236 <<: *lttng-modules_build_parameters_ubuntu
237 <<: *lttng-modules_build_builders_defaults
240 name: lttng-modules_{mversion}_fullbuild-{uversion}
241 defaults: lttng-modules
243 The LTTng modules provide Linux kernel tracing capability to the LTTng
246 This job will build the {mversion} branch against Ubuntu {uversion}
247 released kernels, including the LTS backport kernels.
249 <p>Job is managed by Jenkins Job Builder.</p>
253 <<: *lttng-modules_build_parameters_ubuntu
254 <<: *lttng-modules_build_builders_defaults
261 name: lttng-modules_{mversion}_build-rt
262 defaults: lttng-modules
264 The LTTng modules provide Linux kernel tracing capability to the LTTng
267 This job will build the {mversion} branch against all Linutronix RT
270 <p>Job is managed by Jenkins Job Builder.</p>
274 <<: *lttng-modules_build_parameters_rt
275 <<: *lttng-modules_build_rt_builders_defaults
278 name: lttng-modules_VERSION_param-build
279 defaults: lttng-modules
281 This is a parametrized job used by 'master' jobs to build any combinations
282 of lttng-modules and linux kernel versions.
284 <p>Job is managed by Jenkins Job Builder.</p>
287 node: 'master' # Applies only to matrix flyweight task
302 description: 'The lttng-modules branch to build.'
306 description: 'The linux kernel git tag to build against.'
309 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
310 description: 'The linux kernel git repository url.'
316 url: git://github.com/lttng/lttng-modules.git
318 browser-url: https://github.com/lttng/lttng-modules
322 basedir: src/lttng-modules
328 git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
330 !include-raw-escape: scripts/lttng-modules/param-build.sh
333 name: lttng-modules_VERSION_param-crossbuild
334 defaults: lttng-modules
336 This is a parametrized job used by 'master' jobs to build any combinations
337 of lttng-modules and linux kernel versions.
339 <p>Job is managed by Jenkins Job Builder.</p>
342 node: 'master' # Applies only to matrix flyweight task
347 values: '{obj:cross_arch}'
357 description: 'The lttng-modules branch to build.'
361 description: 'The linux kernel git tag to build against.'
364 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
365 description: 'The linux kernel git repository url.'
371 url: git://github.com/lttng/lttng-modules.git
373 browser-url: https://github.com/lttng/lttng-modules
377 basedir: src/lttng-modules
383 git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
385 !include-raw-escape: scripts/lttng-modules/param-build.sh
388 name: lttng-modules_{mversion}_coverity
389 defaults: lttng-modules
401 - credentials-binding:
402 - username-password-separated:
403 credential-id: lttng-modules_coverity_token
404 username: COVERITY_SCAN_PROJECT_NAME
405 password: COVERITY_SCAN_TOKEN
409 git clone --depth=1 -b v4.10 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
412 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
415 !include-raw-escape: scripts/common/coverity.sh
418 name: lttng-modules_{mversion}_cppcheck
419 defaults: lttng-modules
428 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
432 artifacts: 'cppcheck.xml'
435 pattern: 'cppcheck.xml'
438 name: lttng-modules_{mversion}_sloccount
439 defaults: lttng-modules
441 The LTTng modules provide Linux kernel tracing capability to the LTTng
444 This job runs the sloccount utility and generates a trend report.
446 <p>Job is managed by Jenkins Job Builder.</p>
454 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
458 artifacts: 'cloc.xml'
461 report-files: 'cloc.xml'
469 github_name: lttng-modules
472 # Vanilla normal builds
473 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
479 parambuildtype: build
482 kverfilter: stable-head
483 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
486 parambuildtype: build
489 kverfilter: stable-head
490 - 'lttng-modules_{mversion}_fullbuild-vanilla':
496 parambuildtype: build
500 - 'lttng-modules_{mversion}_fullbuild-vanilla':
503 parambuildtype: build
509 - 'lttng-modules_{mversion}_build-rt':
512 # Ubuntu normal builds
513 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
522 parambuildtype: build
525 kverfilter: stable-head
527 # Vanilla crossbuilds
528 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
533 buildtype: crossbuild
534 parambuildtype: crossbuild
537 kverfilter: stable-head
538 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
540 buildtype: crossbuild
541 parambuildtype: crossbuild
544 kverfilter: stable-head
546 # Ubuntu cross builds
547 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
555 buildtype: crossbuild
556 parambuildtype: crossbuild
559 kverfilter: stable-head
561 # Parametrized kernel and modules build jobs
562 - 'lttng-modules_VERSION_param-build':
563 arch: !!python/tuple [x86-32, x86-64]
564 - 'lttng-modules_VERSION_param-crossbuild':
565 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
568 - 'lttng-modules_ALL_trigger-vanilla'
569 - 'lttng-modules_{mversion}_cppcheck':
574 - 'lttng-modules_{mversion}_sloccount':
576 - 'lttng-modules_{mversion}_coverity':