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_{mversion}_{buildtype}-vanilla
156 defaults: lttng-modules
158 The LTTng modules provide Linux kernel tracing capability to the LTTng
161 This job will build the {mversion} branch against stable vanilla
164 <p>Job is managed by Jenkins Job Builder.</p>
168 <<: *lttng-modules_build_parameters_defaults
169 <<: *lttng-modules_build_builders_defaults
172 name: lttng-modules_{mversion}_fullbuild-vanilla
173 defaults: lttng-modules
175 The LTTng modules provide Linux kernel tracing capability to the LTTng
178 This job will build the {mversion} branch against all stable vanilla
181 <p>Job is managed by Jenkins Job Builder.</p>
185 <<: *lttng-modules_build_parameters_defaults
186 <<: *lttng-modules_build_builders_defaults
193 name: lttng-modules_{mversion}_{buildtype}-{uversion}
194 defaults: lttng-modules
196 The LTTng modules provide Linux kernel tracing capability to the LTTng
199 This job will build the {mversion} branch against Ubuntu {uversion}
200 released kernels, including the LTS backport kernels.
202 <p>Job is managed by Jenkins Job Builder.</p>
206 <<: *lttng-modules_build_parameters_ubuntu
207 <<: *lttng-modules_build_builders_defaults
210 name: lttng-modules_{mversion}_fullbuild-{uversion}
211 defaults: lttng-modules
213 The LTTng modules provide Linux kernel tracing capability to the LTTng
216 This job will build the {mversion} branch against Ubuntu {uversion}
217 released kernels, including the LTS backport kernels.
219 <p>Job is managed by Jenkins Job Builder.</p>
223 <<: *lttng-modules_build_parameters_ubuntu
224 <<: *lttng-modules_build_builders_defaults
231 name: lttng-modules_{mversion}_build-rt
232 defaults: lttng-modules
234 The LTTng modules provide Linux kernel tracing capability to the LTTng
237 This job will build the {mversion} branch against all Linutronix RT
240 <p>Job is managed by Jenkins Job Builder.</p>
244 <<: *lttng-modules_build_parameters_rt
245 <<: *lttng-modules_build_rt_builders_defaults
248 name: lttng-modules_VERSION_param-build
249 defaults: lttng-modules
251 This is a parametrized job used by 'master' jobs to build any combinations
252 of lttng-modules and linux kernel versions.
254 <p>Job is managed by Jenkins Job Builder.</p>
257 node: 'master' # Applies only to matrix flyweight task
272 description: 'The lttng-modules branch to build.'
276 description: 'The linux kernel git tag to build against.'
279 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
280 description: 'The linux kernel git repository url.'
286 url: git://github.com/lttng/lttng-modules.git
288 browser-url: https://github.com/lttng/lttng-modules
292 basedir: src/lttng-modules
298 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
300 !include-raw-escape: scripts/lttng-modules/param-build.sh
303 name: lttng-modules_VERSION_param-crossbuild
304 defaults: lttng-modules
306 This is a parametrized job used by 'master' jobs to build any combinations
307 of lttng-modules and linux kernel versions.
309 <p>Job is managed by Jenkins Job Builder.</p>
312 node: 'master' # Applies only to matrix flyweight task
317 values: '{obj:cross_arch}'
327 description: 'The lttng-modules branch to build.'
331 description: 'The linux kernel git tag to build against.'
334 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
335 description: 'The linux kernel git repository url.'
341 url: git://github.com/lttng/lttng-modules.git
343 browser-url: https://github.com/lttng/lttng-modules
347 basedir: src/lttng-modules
353 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
355 !include-raw-escape: scripts/lttng-modules/param-build.sh
358 name: lttng-modules_{mversion}_coverity
359 defaults: lttng-modules
371 - credentials-binding:
372 - username-password-separated:
373 credential-id: lttng-modules_coverity_token
374 username: COVERITY_SCAN_PROJECT_NAME
375 password: COVERITY_SCAN_TOKEN
379 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
382 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
385 !include-raw-escape: scripts/common/coverity.sh
388 name: lttng-modules_{mversion}_cppcheck
389 defaults: lttng-modules
398 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
402 artifacts: 'cppcheck.xml'
405 pattern: 'cppcheck.xml'
408 name: lttng-modules_{mversion}_sloccount
409 defaults: lttng-modules
411 The LTTng modules provide Linux kernel tracing capability to the LTTng
414 This job runs the sloccount utility and generates a trend report.
416 <p>Job is managed by Jenkins Job Builder.</p>
424 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
428 artifacts: 'cloc.xml'
431 report-files: 'cloc.xml'
439 github_name: lttng-modules
442 # Vanilla normal builds
443 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
449 parambuildtype: build
452 kverfilter: stable-head
453 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
456 parambuildtype: build
459 kverfilter: stable-head
460 - 'lttng-modules_{mversion}_fullbuild-vanilla':
466 parambuildtype: build
470 - 'lttng-modules_{mversion}_fullbuild-vanilla':
473 parambuildtype: build
479 - 'lttng-modules_{mversion}_build-rt':
482 # Ubuntu normal builds
483 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
492 parambuildtype: build
495 kverfilter: stable-head
497 # Vanilla crossbuilds
498 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
503 buildtype: crossbuild
504 parambuildtype: crossbuild
507 kverfilter: stable-head
508 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
510 buildtype: crossbuild
511 parambuildtype: crossbuild
514 kverfilter: stable-head
516 # Ubuntu cross builds
517 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
525 buildtype: crossbuild
526 parambuildtype: crossbuild
529 kverfilter: stable-head
531 # Parametrized kernel and modules build jobs
532 - 'lttng-modules_VERSION_param-build':
533 arch: !!python/tuple [x86-32, x86-64]
534 - 'lttng-modules_VERSION_param-crossbuild':
535 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
538 - 'lttng-modules_{mversion}_cppcheck':
543 - 'lttng-modules_{mversion}_sloccount':
545 - 'lttng-modules_{mversion}_coverity':