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-rt-devel.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}
163 name: lttng-modules_ALL_trigger-vanilla
164 defaults: lttng-modules
166 The LTTng modules provide Linux kernel tracing capability to the LTTng
169 This job will trigger the build jobs when a new tag is added to the vanilla
170 and stable kernel trees.
172 <p>Job is managed by Jenkins Job Builder.</p>
188 !include-raw-escape: scripts/lttng-modules/trigger-vanilla.groovy
193 name: lttng-modules_{mversion}_{buildtype}-vanilla
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 stable vanilla
202 <p>Job is managed by Jenkins Job Builder.</p>
206 <<: *lttng-modules_build_parameters_defaults
207 <<: *lttng-modules_build_builders_defaults
210 name: lttng-modules_{mversion}_fullbuild-vanilla
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 all stable vanilla
219 <p>Job is managed by Jenkins Job Builder.</p>
223 <<: *lttng-modules_build_parameters_defaults
224 <<: *lttng-modules_build_builders_defaults
231 name: lttng-modules_{mversion}_{buildtype}-{uversion}
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 Ubuntu {uversion}
238 released kernels, including the LTS backport kernels.
240 <p>Job is managed by Jenkins Job Builder.</p>
244 <<: *lttng-modules_build_parameters_ubuntu
245 <<: *lttng-modules_build_builders_defaults
248 name: lttng-modules_{mversion}_fullbuild-{uversion}
249 defaults: lttng-modules
251 The LTTng modules provide Linux kernel tracing capability to the LTTng
254 This job will build the {mversion} branch against Ubuntu {uversion}
255 released kernels, including the LTS backport kernels.
257 <p>Job is managed by Jenkins Job Builder.</p>
261 <<: *lttng-modules_build_parameters_ubuntu
262 <<: *lttng-modules_build_builders_defaults
269 name: lttng-modules_{mversion}_build-rt
270 defaults: lttng-modules
272 The LTTng modules provide Linux kernel tracing capability to the LTTng
275 This job will build the {mversion} branch against all Linutronix RT
278 <p>Job is managed by Jenkins Job Builder.</p>
282 <<: *lttng-modules_build_parameters_rt
283 <<: *lttng-modules_build_rt_builders_defaults
286 name: lttng-modules_VERSION_param-build
287 defaults: lttng-modules
289 This is a parametrized job used by 'master' jobs to build any combinations
290 of lttng-modules and linux kernel versions.
292 <p>Job is managed by Jenkins Job Builder.</p>
295 node: 'master' # Applies only to matrix flyweight task
310 description: 'The lttng-modules branch to build.'
314 description: 'The linux kernel git tag to build against.'
317 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
318 description: 'The linux kernel git repository url.'
324 url: git://github.com/lttng/lttng-modules.git
326 browser-url: https://github.com/lttng/lttng-modules
330 basedir: src/lttng-modules
336 git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
338 !include-raw-escape: scripts/lttng-modules/param-build.sh
341 name: lttng-modules_VERSION_param-crossbuild
342 defaults: lttng-modules
344 This is a parametrized job used by 'master' jobs to build any combinations
345 of lttng-modules and linux kernel versions.
347 <p>Job is managed by Jenkins Job Builder.</p>
350 node: 'master' # Applies only to matrix flyweight task
355 values: '{obj:cross_arch}'
365 description: 'The lttng-modules branch to build.'
369 description: 'The linux kernel git tag to build against.'
372 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
373 description: 'The linux kernel git repository url.'
379 url: git://github.com/lttng/lttng-modules.git
381 browser-url: https://github.com/lttng/lttng-modules
385 basedir: src/lttng-modules
391 git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
393 !include-raw-escape: scripts/lttng-modules/param-build.sh
396 name: lttng-modules_{mversion}_coverity
397 defaults: lttng-modules
409 - credentials-binding:
410 - username-password-separated:
411 credential-id: lttng-modules_coverity_token
412 username: COVERITY_SCAN_PROJECT_NAME
413 password: COVERITY_SCAN_TOKEN
417 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
420 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
423 !include-raw-escape: scripts/common/coverity.sh
426 name: lttng-modules_{mversion}_cppcheck
427 defaults: lttng-modules
436 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
440 artifacts: 'cppcheck.xml'
443 pattern: 'cppcheck.xml'
446 name: lttng-modules_{mversion}_sloccount
447 defaults: lttng-modules
449 The LTTng modules provide Linux kernel tracing capability to the LTTng
452 This job runs the sloccount utility and generates a trend report.
454 <p>Job is managed by Jenkins Job Builder.</p>
462 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
466 artifacts: 'cloc.xml'
469 report-files: 'cloc.xml'
477 github_name: lttng-modules
480 # Vanilla normal builds
481 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
487 parambuildtype: build
490 kverfilter: stable-head
491 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
494 parambuildtype: build
497 kverfilter: stable-head
498 - 'lttng-modules_{mversion}_fullbuild-vanilla':
504 parambuildtype: build
508 - 'lttng-modules_{mversion}_fullbuild-vanilla':
511 parambuildtype: build
517 - 'lttng-modules_{mversion}_build-rt':
520 kverfilter: stable-head
522 # Ubuntu normal builds
523 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
532 parambuildtype: build
535 kverfilter: stable-head
537 # Vanilla crossbuilds
538 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
543 buildtype: crossbuild
544 parambuildtype: crossbuild
547 kverfilter: stable-head
548 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
550 buildtype: crossbuild
551 parambuildtype: crossbuild
554 kverfilter: stable-head
556 # Ubuntu cross builds
557 - 'lttng-modules_{mversion}_{buildtype}-{uversion}':
565 buildtype: crossbuild
566 parambuildtype: crossbuild
569 kverfilter: stable-head
571 # Parametrized kernel and modules build jobs
572 - 'lttng-modules_VERSION_param-build':
573 arch: !!python/tuple [x86-32, x86-64]
574 - 'lttng-modules_VERSION_param-crossbuild':
575 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
578 - 'lttng-modules_ALL_trigger-vanilla'
579 - 'lttng-modules_{mversion}_cppcheck':
584 - 'lttng-modules_{mversion}_sloccount':
586 - 'lttng-modules_{mversion}_coverity':