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_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_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_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_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.'
335 default: 'git://github.com/lttng/lttng-modules.git'
336 description: 'The lttng-modules git repository url.'
340 description: 'The linux kernel git tag to build against.'
343 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
344 description: 'The linux kernel git repository url.'
354 !include-raw-escape: scripts/lttng-modules/param-build.sh
361 name: lttng-modules_PARAM_crossbuild
362 defaults: lttng-modules
364 This is a parametrized job used by 'master' jobs to build any combinations
365 of lttng-modules and linux kernel versions.
367 <p>Job is managed by Jenkins Job Builder.</p>
370 node: 'master' # Applies only to matrix flyweight task
375 values: '{obj:cross_arch}'
385 description: 'The lttng-modules branch to build.'
388 default: 'git://github.com/lttng/lttng-modules.git'
389 description: 'The lttng-modules git repository url.'
393 description: 'The linux kernel git tag to build against.'
396 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
397 description: 'The linux kernel git repository url.'
407 !include-raw-escape: scripts/lttng-modules/param-build.sh
413 name: lttng-modules_{mversion}_coverity
414 defaults: lttng-modules
426 - credentials-binding:
427 - username-password-separated:
428 credential-id: lttng-modules_coverity_token
429 username: COVERITY_SCAN_PROJECT_NAME
430 password: COVERITY_SCAN_TOKEN
434 git clone --depth=1 -b v4.20 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
437 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
440 !include-raw-escape: scripts/common/coverity.sh
444 artifacts: 'analysis-results.tgz,cov-int/**'
449 name: lttng-modules_{mversion}_cppcheck
450 defaults: lttng-modules
458 rm -f cppcheck-result.xml
459 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml
463 artifacts: 'cppcheck-result.xml'
466 pattern: 'cppcheck-result.xml'
469 name: lttng-modules_{mversion}_sloccount
470 defaults: lttng-modules
472 The LTTng modules provide Linux kernel tracing capability to the LTTng
475 This job runs the sloccount utility and generates a trend report.
477 <p>Job is managed by Jenkins Job Builder.</p>
485 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
489 artifacts: 'cloc.xml'
492 report-files: 'cloc.xml'
500 github_name: lttng-modules
501 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
504 # Vanilla normal builds
505 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
509 parambuildtype: build
512 kverfilter: stable-head
513 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
519 parambuildtype: build
522 kverfilter: stable-head
523 - 'lttng-modules_{mversion}_fullbuild-vanilla':
527 parambuildtype: build
531 - 'lttng-modules_{mversion}_fullbuild-vanilla':
537 parambuildtype: build
543 - 'lttng-modules_{mversion}_build-rt':
546 kverfilter: stable-head
548 # Ubuntu normal builds
549 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
559 parambuildtype: build
562 kverfilter: stable-head
564 # Vanilla crossbuilds
565 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
571 buildtype: crossbuild
572 parambuildtype: crossbuild
575 kverfilter: stable-head
577 # Ubuntu cross builds
578 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
587 buildtype: crossbuild
588 parambuildtype: crossbuild
591 kverfilter: stable-head
593 # Parametrized kernel and modules build jobs
594 - 'lttng-modules_PARAM_build':
595 arch: !!python/tuple [amd64]
596 - 'lttng-modules_PARAM_crossbuild':
597 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
600 - 'lttng-modules_ALL_trigger-vanilla'
601 - 'lttng-modules_{mversion}_cppcheck':
607 - 'lttng-modules_{mversion}_sloccount':
609 - 'lttng-modules_{mversion}_coverity':