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>
177 !include-raw-escape: scripts/lttng-modules/trigger-vanilla.groovy
182 name: lttng-modules_{mversion}_{buildtype}-vanilla
183 defaults: lttng-modules
185 The LTTng modules provide Linux kernel tracing capability to the LTTng
188 This job will build the {mversion} branch against stable vanilla
191 <p>Job is managed by Jenkins Job Builder.</p>
195 <<: *lttng-modules_build_parameters_defaults
196 <<: *lttng-modules_build_builders_defaults
199 name: lttng-modules_{mversion}_fullbuild-vanilla
200 defaults: lttng-modules
202 The LTTng modules provide Linux kernel tracing capability to the LTTng
205 This job will build the {mversion} branch against all stable vanilla
208 <p>Job is managed by Jenkins Job Builder.</p>
212 <<: *lttng-modules_build_parameters_defaults
213 <<: *lttng-modules_build_builders_defaults
220 name: lttng-modules_{mversion}_{buildtype}-{uversion}
221 defaults: lttng-modules
223 The LTTng modules provide Linux kernel tracing capability to the LTTng
226 This job will build the {mversion} branch against Ubuntu {uversion}
227 released kernels, including the LTS backport kernels.
229 <p>Job is managed by Jenkins Job Builder.</p>
233 <<: *lttng-modules_build_parameters_ubuntu
234 <<: *lttng-modules_build_builders_defaults
237 name: lttng-modules_{mversion}_fullbuild-{uversion}
238 defaults: lttng-modules
240 The LTTng modules provide Linux kernel tracing capability to the LTTng
243 This job will build the {mversion} branch against Ubuntu {uversion}
244 released kernels, including the LTS backport kernels.
246 <p>Job is managed by Jenkins Job Builder.</p>
250 <<: *lttng-modules_build_parameters_ubuntu
251 <<: *lttng-modules_build_builders_defaults
258 name: lttng-modules_{mversion}_build-rt
259 defaults: lttng-modules
261 The LTTng modules provide Linux kernel tracing capability to the LTTng
264 This job will build the {mversion} branch against all Linutronix RT
267 <p>Job is managed by Jenkins Job Builder.</p>
271 <<: *lttng-modules_build_parameters_rt
272 <<: *lttng-modules_build_rt_builders_defaults
275 name: lttng-modules_VERSION_param-build
276 defaults: lttng-modules
278 This is a parametrized job used by 'master' jobs to build any combinations
279 of lttng-modules and linux kernel versions.
281 <p>Job is managed by Jenkins Job Builder.</p>
284 node: 'master' # Applies only to matrix flyweight task
299 description: 'The lttng-modules branch to build.'
303 description: 'The linux kernel git tag to build against.'
306 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
307 description: 'The linux kernel git repository url.'
313 url: git://github.com/lttng/lttng-modules.git
315 browser-url: https://github.com/lttng/lttng-modules
319 basedir: src/lttng-modules
325 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
327 !include-raw-escape: scripts/lttng-modules/param-build.sh
330 name: lttng-modules_VERSION_param-crossbuild
331 defaults: lttng-modules
333 This is a parametrized job used by 'master' jobs to build any combinations
334 of lttng-modules and linux kernel versions.
336 <p>Job is managed by Jenkins Job Builder.</p>
339 node: 'master' # Applies only to matrix flyweight task
344 values: '{obj:cross_arch}'
354 description: 'The lttng-modules branch to build.'
358 description: 'The linux kernel git tag to build against.'
361 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
362 description: 'The linux kernel git repository url.'
368 url: git://github.com/lttng/lttng-modules.git
370 browser-url: https://github.com/lttng/lttng-modules
374 basedir: src/lttng-modules
380 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
382 !include-raw-escape: scripts/lttng-modules/param-build.sh
385 name: lttng-modules_{mversion}_coverity
386 defaults: lttng-modules
398 - credentials-binding:
399 - username-password-separated:
400 credential-id: lttng-modules_coverity_token
401 username: COVERITY_SCAN_PROJECT_NAME
402 password: COVERITY_SCAN_TOKEN
406 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
409 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
412 !include-raw-escape: scripts/common/coverity.sh
415 name: lttng-modules_{mversion}_cppcheck
416 defaults: lttng-modules
425 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
429 artifacts: 'cppcheck.xml'
432 pattern: 'cppcheck.xml'
435 name: lttng-modules_{mversion}_sloccount
436 defaults: lttng-modules
438 The LTTng modules provide Linux kernel tracing capability to the LTTng
441 This job runs the sloccount utility and generates a trend report.
443 <p>Job is managed by Jenkins Job Builder.</p>
451 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
455 artifacts: 'cloc.xml'
458 report-files: 'cloc.xml'
466 github_name: lttng-modules
469 # Vanilla normal builds
470 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
476 parambuildtype: build
479 kverfilter: stable-head
480 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
483 parambuildtype: build
486 kverfilter: stable-head
487 - 'lttng-modules_{mversion}_fullbuild-vanilla':
493 parambuildtype: build
497 - 'lttng-modules_{mversion}_fullbuild-vanilla':
500 parambuildtype: build
506 - 'lttng-modules_{mversion}_build-rt':
509 # Ubuntu normal builds
510 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
519 parambuildtype: build
522 kverfilter: stable-head
524 # Vanilla crossbuilds
525 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
530 buildtype: crossbuild
531 parambuildtype: crossbuild
534 kverfilter: stable-head
535 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
537 buildtype: crossbuild
538 parambuildtype: crossbuild
541 kverfilter: stable-head
543 # Ubuntu cross builds
544 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
552 buildtype: crossbuild
553 parambuildtype: crossbuild
556 kverfilter: stable-head
558 # Parametrized kernel and modules build jobs
559 - 'lttng-modules_VERSION_param-build':
560 arch: !!python/tuple [x86-32, x86-64]
561 - 'lttng-modules_VERSION_param-crossbuild':
562 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
565 - 'lttng-modules_ALL_trigger-vanilla'
566 - 'lttng-modules_{mversion}_cppcheck':
571 - 'lttng-modules_{mversion}_sloccount':
573 - 'lttng-modules_{mversion}_coverity':