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.'
89 description: 'The highest kernel version to build. (excluded)'
92 default: '{kverfilter}'
93 description: 'Kernel versions list filtering strategy.'
96 default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-stable-rt.git'
97 description: 'The linux kernel git repository url.'
100 default: 'lttng-modules_VERSION_param-build'
101 description: 'The parametrized job to use for child builds.'
103 - lttng-modules_build_builders_defaults: <tng-modules_build_builders_defaults
104 name: 'lttng-modules_build_builders_defaults'
108 !include-raw-escape: scripts/lttng-modules/master.groovy
110 - lttng-modules_build_rt_builders_defaults: <tng-modules_build_rt_builders_defaults
111 name: 'lttng-modules_build_rt_builders_defaults'
115 !include-raw-escape: scripts/lttng-modules/master-rt.groovy
122 The LTTng modules provide Linux kernel tracing capability to the LTTng
125 <p>Job is managed by Jenkins Job Builder.</p>
127 project-type: freestyle
136 url: git://github.com/{github_user}/{github_name}.git
138 browser-url: https://github.com/{github_user}/{github_name}
143 basedir: src/lttng-modules
144 wipe-workspace: false
155 url: https://github.com/{github_user}/{github_name}
160 recipients: '{obj:email_to}'
161 reply-to: ci-notification@lists.lttng.org
170 second-failure: false
175 fixed-unhealthy: true
176 still-unstable: false
178 matrix-trigger: only-parent
185 name: lttng-modules_ALL_trigger-vanilla
186 defaults: lttng-modules
188 The LTTng modules provide Linux kernel tracing capability to the LTTng
191 This job will trigger the build jobs when a new tag is added to the vanilla
192 and stable kernel trees.
194 <p>Job is managed by Jenkins Job Builder.</p>
210 !include-raw-escape: scripts/lttng-modules/trigger-vanilla.groovy
215 name: lttng-modules_{mversion}_{buildtype}-vanilla
216 defaults: lttng-modules
218 The LTTng modules provide Linux kernel tracing capability to the LTTng
221 This job will build the {mversion} branch against stable vanilla
224 <p>Job is managed by Jenkins Job Builder.</p>
228 <<: *lttng-modules_build_parameters_defaults
229 <<: *lttng-modules_build_builders_defaults
232 name: lttng-modules_{mversion}_fullbuild-vanilla
233 defaults: lttng-modules
235 The LTTng modules provide Linux kernel tracing capability to the LTTng
238 This job will build the {mversion} branch against all stable vanilla
241 <p>Job is managed by Jenkins Job Builder.</p>
245 <<: *lttng-modules_build_parameters_defaults
246 <<: *lttng-modules_build_builders_defaults
253 name: lttng-modules_{mversion}_{buildtype}-{uversion}
254 defaults: lttng-modules
256 The LTTng modules provide Linux kernel tracing capability to the LTTng
259 This job will build the {mversion} branch against Ubuntu {uversion}
260 released kernels, including the LTS backport kernels.
262 <p>Job is managed by Jenkins Job Builder.</p>
266 <<: *lttng-modules_build_parameters_ubuntu
267 <<: *lttng-modules_build_builders_defaults
270 name: lttng-modules_{mversion}_fullbuild-{uversion}
271 defaults: lttng-modules
273 The LTTng modules provide Linux kernel tracing capability to the LTTng
276 This job will build the {mversion} branch against Ubuntu {uversion}
277 released kernels, including the LTS backport kernels.
279 <p>Job is managed by Jenkins Job Builder.</p>
283 <<: *lttng-modules_build_parameters_ubuntu
284 <<: *lttng-modules_build_builders_defaults
291 name: lttng-modules_{mversion}_build-rt
292 defaults: lttng-modules
294 The LTTng modules provide Linux kernel tracing capability to the LTTng
297 This job will build the {mversion} branch against all Linutronix RT
300 <p>Job is managed by Jenkins Job Builder.</p>
304 <<: *lttng-modules_build_parameters_rt
305 <<: *lttng-modules_build_rt_builders_defaults
308 name: lttng-modules_VERSION_param-build
309 defaults: lttng-modules
311 This is a parametrized job used by 'master' jobs to build any combinations
312 of lttng-modules and linux kernel versions.
314 <p>Job is managed by Jenkins Job Builder.</p>
317 node: 'master' # Applies only to matrix flyweight task
332 description: 'The lttng-modules branch to build.'
336 description: 'The linux kernel git tag to build against.'
339 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
340 description: 'The linux kernel git repository url.'
346 url: git://github.com/lttng/lttng-modules.git
348 browser-url: https://github.com/lttng/lttng-modules
352 basedir: src/lttng-modules
358 git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
360 !include-raw-escape: scripts/lttng-modules/param-build.sh
366 name: lttng-modules_VERSION_param-crossbuild
367 defaults: lttng-modules
369 This is a parametrized job used by 'master' jobs to build any combinations
370 of lttng-modules and linux kernel versions.
372 <p>Job is managed by Jenkins Job Builder.</p>
375 node: 'master' # Applies only to matrix flyweight task
380 values: '{obj:cross_arch}'
390 description: 'The lttng-modules branch to build.'
394 description: 'The linux kernel git tag to build against.'
397 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
398 description: 'The linux kernel git repository url.'
404 url: git://github.com/lttng/lttng-modules.git
406 browser-url: https://github.com/lttng/lttng-modules
410 basedir: src/lttng-modules
416 git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
418 !include-raw-escape: scripts/lttng-modules/param-build.sh
423 name: lttng-modules_{mversion}_coverity
424 defaults: lttng-modules
436 - credentials-binding:
437 - username-password-separated:
438 credential-id: lttng-modules_coverity_token
439 username: COVERITY_SCAN_PROJECT_NAME
440 password: COVERITY_SCAN_TOKEN
444 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
447 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
450 !include-raw-escape: scripts/common/coverity.sh
453 name: lttng-modules_{mversion}_cppcheck
454 defaults: lttng-modules
462 rm -f cppcheck-result.xml
463 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml
467 artifacts: 'cppcheck-result.xml'
470 pattern: 'cppcheck-result.xml'
473 name: lttng-modules_{mversion}_sloccount
474 defaults: lttng-modules
476 The LTTng modules provide Linux kernel tracing capability to the LTTng
479 This job runs the sloccount utility and generates a trend report.
481 <p>Job is managed by Jenkins Job Builder.</p>
489 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
493 artifacts: 'cloc.xml'
496 report-files: 'cloc.xml'
504 github_name: lttng-modules
505 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
508 # Vanilla normal builds
509 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
516 parambuildtype: build
519 kverfilter: stable-head
520 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
523 parambuildtype: build
526 kverfilter: stable-head
527 - 'lttng-modules_{mversion}_fullbuild-vanilla':
534 parambuildtype: build
538 - 'lttng-modules_{mversion}_fullbuild-vanilla':
541 parambuildtype: build
547 - 'lttng-modules_{mversion}_build-rt':
550 kverfilter: stable-head
552 # Ubuntu normal builds
553 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
564 parambuildtype: build
567 kverfilter: stable-head
569 # Vanilla crossbuilds
570 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
576 buildtype: crossbuild
577 parambuildtype: crossbuild
580 kverfilter: stable-head
581 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
583 buildtype: crossbuild
584 parambuildtype: crossbuild
587 kverfilter: stable-head
589 # Ubuntu cross builds
590 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
600 buildtype: crossbuild
601 parambuildtype: crossbuild
604 kverfilter: stable-head
606 # Parametrized kernel and modules build jobs
607 - 'lttng-modules_VERSION_param-build':
608 arch: !!python/tuple [x86-32, x86-64]
609 - 'lttng-modules_VERSION_param-crossbuild':
610 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
613 - 'lttng-modules_ALL_trigger-vanilla'
614 - 'lttng-modules_{mversion}_cppcheck':
620 - 'lttng-modules_{mversion}_sloccount':
622 - 'lttng-modules_{mversion}_coverity':