5 The LTTng modules provide Linux kernel tracing capability to the LTTng
8 <p>Job is managed by Jenkins Job Builder.</p>
10 project-type: freestyle
19 url: git://github.com/{github_user}/{github_name}.git
21 browser-url: https://github.com/{github_user}/{github_name}
27 basedir: src/lttng-modules
37 url: https://github.com/{github_user}/{github_name}
42 name: lttng-modules_{mversion}_{kversion}_{buildtype}
43 defaults: lttng-modules
46 node: 'master' # Applies only to matrix flyweight task
55 project: kernel_{kversion}_{buildtype}/arch=$arch
56 which-build: last-successful
60 do-not-fingerprint: true
62 git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/git/linux-all.git src/linux
64 !include-raw-escape: scripts/lttng-modules/build.sh
73 name: lttng-modules_{mversion}_{buildtype}-vanilla
74 defaults: lttng-modules
76 The LTTng modules provide Linux kernel tracing capability to the LTTng
79 This job will build the {mversion} branch against all stable vanilla
82 <p>Job is managed by Jenkins Job Builder.</p>
90 description: 'The lttng-modules branch to build.'
92 name: 'maxConcurrentBuild'
94 description: 'The maximum number of concurrent child build to run.'
97 default: '{kverfloor}'
98 description: 'The lowest kernel version to build.'
101 default: '{kverceil}'
102 description: 'The highest kernel version to build. (excluded)'
105 default: '{kverfilter}'
106 description: 'Kernel versions list filtering strategy.'
109 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
110 description: 'The linux kernel git repository url.'
113 default: 'lttng-modules_VERSION_param-{buildtype}'
114 description: 'The parametrized job to use for child builds.'
119 !include-raw-escape: scripts/lttng-modules/master-vanilla.groovy
125 name: lttng-modules_{mversion}_build-{uversion}
126 defaults: lttng-modules
128 The LTTng modules provide Linux kernel tracing capability to the LTTng
131 This job will build the {mversion} branch against all Ubuntu {uversion}
132 released kernels, including the LTS backport kernels.
134 <p>Job is managed by Jenkins Job Builder.</p>
141 default: '{mversion}'
142 description: 'The lttng-modules branch to build.'
144 name: 'maxConcurrentBuild'
146 description: 'The maximum number of concurrent child build to run.'
149 default: '{uversion}'
150 description: 'The lowest kernel version to build.'
153 default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git'
154 description: 'The linux kernel git repository url.'
157 default: 'lttng-modules_VERSION_param-build'
158 description: 'The parametrized job to use for child builds.'
163 !include-raw-escape: scripts/lttng-modules/master-ubuntu.groovy
169 name: lttng-modules_{mversion}_build-rt
170 defaults: lttng-modules
172 The LTTng modules provide Linux kernel tracing capability to the LTTng
175 This job will build the {mversion} branch against all Linutronix RT
178 <p>Job is managed by Jenkins Job Builder.</p>
185 default: '{mversion}'
186 description: 'The lttng-modules branch to build.'
188 name: 'maxConcurrentBuild'
190 description: 'The maximum number of concurrent child build to run.'
193 default: 'v2.6.36-rt0-rebase'
194 description: 'The lowest kernel version to build.'
197 default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git'
198 description: 'The linux kernel git repository url.'
201 default: 'lttng-modules_VERSION_param-build'
202 description: 'The parametrized job to use for child builds.'
207 !include-raw-escape: scripts/lttng-modules/master-rt.groovy
213 name: lttng-modules_VERSION_param-build
214 defaults: lttng-modules
216 This is a parametrized job used by 'master' jobs to build any combinations
217 of lttng-modules and linux kernel versions.
219 <p>Job is managed by Jenkins Job Builder.</p>
222 node: 'master' # Applies only to matrix flyweight task
237 description: 'The lttng-modules branch to build.'
241 description: 'The linux kernel git tag to build against.'
244 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
245 description: 'The linux kernel git repository url.'
251 url: git://github.com/lttng/lttng-modules.git
253 browser-url: https://github.com/lttng/lttng-modules
257 basedir: src/lttng-modules
263 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
265 !include-raw-escape: scripts/lttng-modules/param-build.sh
271 name: lttng-modules_VERSION_param-crossbuild
272 defaults: lttng-modules
274 This is a parametrized job used by 'master' jobs to build any combinations
275 of lttng-modules and linux kernel versions.
277 <p>Job is managed by Jenkins Job Builder.</p>
280 node: 'master' # Applies only to matrix flyweight task
285 values: '{obj:cross_arch}'
295 description: 'The lttng-modules branch to build.'
299 description: 'The linux kernel git tag to build against.'
302 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
303 description: 'The linux kernel git repository url.'
309 url: git://github.com/lttng/lttng-modules.git
311 browser-url: https://github.com/lttng/lttng-modules
315 basedir: src/lttng-modules
321 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
323 !include-raw-escape: scripts/lttng-modules/param-build.sh
329 name: lttng-modules_{mversion}_coverity
330 defaults: lttng-modules
342 - credentials-binding:
343 - username-password-separated:
344 credential-id: lttng-modules_coverity_token
345 username: COVERITY_SCAN_PROJECT_NAME
346 password: COVERITY_SCAN_TOKEN
350 git clone --depth=1 -b v4.9 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
353 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
356 !include-raw-escape: scripts/common/coverity.sh
362 name: lttng-modules_{mversion}_cppcheck
363 defaults: lttng-modules
372 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
376 artifacts: 'cppcheck.xml'
379 pattern: 'cppcheck.xml'
381 recipients: 'ci-notification@lists.lttng.org'
382 notify-every-unstable-build: true
383 send-to-individuals: false
386 name: lttng-modules_{mversion}_sloccount
387 defaults: lttng-modules
389 The LTTng modules provide Linux kernel tracing capability to the LTTng
392 This job runs the sloccount utility and generates a trend report.
394 <p>Job is managed by Jenkins Job Builder.</p>
402 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
406 artifacts: 'cloc.xml'
409 report-files: 'cloc.xml'
416 github_name: lttng-modules
418 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
426 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
432 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
438 - 'lttng-modules_{mversion}_build-rt':
440 - 'lttng-modules_{mversion}_build-{uversion}':
448 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
452 buildtype: crossbuild
455 kverfilter: stable-head
456 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
458 buildtype: crossbuild
461 kverfilter: stable-head
462 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
464 buildtype: crossbuild
467 kverfilter: stable-head
468 - 'lttng-modules_VERSION_param-build':
469 arch: !!python/tuple [x86-32, x86-64]
470 - 'lttng-modules_VERSION_param-crossbuild':
471 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
472 - 'lttng-modules_{mversion}_cppcheck':
477 - 'lttng-modules_{mversion}_sloccount':
479 - 'lttng-modules_{mversion}_coverity':