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: '{kverfilter}'
102 description: 'Kernel versions list filtering strategy.'
105 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
106 description: 'The linux kernel git repository url.'
109 default: 'lttng-modules_VERSION_param-{buildtype}'
110 description: 'The parametrized job to use for child builds.'
115 !include-raw-escape: scripts/lttng-modules/master-vanilla.groovy
121 name: lttng-modules_{mversion}_build-{uversion}
122 defaults: lttng-modules
124 The LTTng modules provide Linux kernel tracing capability to the LTTng
127 This job will build the {mversion} branch against all Ubuntu {uversion}
128 released kernels, including the LTS backport kernels.
130 <p>Job is managed by Jenkins Job Builder.</p>
137 default: '{mversion}'
138 description: 'The lttng-modules branch to build.'
140 name: 'maxConcurrentBuild'
142 description: 'The maximum number of concurrent child build to run.'
145 default: '{uversion}'
146 description: 'The lowest kernel version to build.'
149 default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git'
150 description: 'The linux kernel git repository url.'
153 default: 'lttng-modules_VERSION_param-build'
154 description: 'The parametrized job to use for child builds.'
159 !include-raw-escape: scripts/lttng-modules/master-ubuntu.groovy
165 name: lttng-modules_{mversion}_build-rt
166 defaults: lttng-modules
168 The LTTng modules provide Linux kernel tracing capability to the LTTng
171 This job will build the {mversion} branch against all Linutronix RT
174 <p>Job is managed by Jenkins Job Builder.</p>
181 default: '{mversion}'
182 description: 'The lttng-modules branch to build.'
184 name: 'maxConcurrentBuild'
186 description: 'The maximum number of concurrent child build to run.'
189 default: 'v2.6.36-rt0-rebase'
190 description: 'The lowest kernel version to build.'
193 default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git'
194 description: 'The linux kernel git repository url.'
197 default: 'lttng-modules_VERSION_param-build'
198 description: 'The parametrized job to use for child builds.'
203 !include-raw-escape: scripts/lttng-modules/master-rt.groovy
209 name: lttng-modules_VERSION_param-build
210 defaults: lttng-modules
212 This is a parametrized job used by 'master' jobs to build any combinations
213 of lttng-modules and linux kernel versions.
215 <p>Job is managed by Jenkins Job Builder.</p>
218 node: 'master' # Applies only to matrix flyweight task
233 description: 'The lttng-modules branch to build.'
237 description: 'The linux kernel git tag to build against.'
240 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
241 description: 'The linux kernel git repository url.'
247 url: git://github.com/lttng/lttng-modules.git
249 browser-url: https://github.com/lttng/lttng-modules
253 basedir: src/lttng-modules
259 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
261 !include-raw-escape: scripts/lttng-modules/param-build.sh
267 name: lttng-modules_VERSION_param-crossbuild
268 defaults: lttng-modules
270 This is a parametrized job used by 'master' jobs to build any combinations
271 of lttng-modules and linux kernel versions.
273 <p>Job is managed by Jenkins Job Builder.</p>
276 node: 'master' # Applies only to matrix flyweight task
281 values: '{obj:cross_arch}'
291 description: 'The lttng-modules branch to build.'
295 description: 'The linux kernel git tag to build against.'
298 default: 'git://git-mirror.internal.efficios.com/git/linux-all.git'
299 description: 'The linux kernel git repository url.'
305 url: git://github.com/lttng/lttng-modules.git
307 browser-url: https://github.com/lttng/lttng-modules
311 basedir: src/lttng-modules
317 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
319 !include-raw-escape: scripts/lttng-modules/param-build.sh
325 name: lttng-modules_{mversion}_coverity
326 defaults: lttng-modules
338 - credentials-binding:
339 - username-password-separated:
340 credential-id: lttng-modules_coverity_token
341 username: COVERITY_SCAN_PROJECT_NAME
342 password: COVERITY_SCAN_TOKEN
346 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
349 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
352 !include-raw-escape: scripts/common/coverity.sh
358 name: lttng-modules_{mversion}_cppcheck
359 defaults: lttng-modules
368 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
372 artifacts: 'cppcheck.xml'
375 pattern: 'cppcheck.xml'
377 recipients: 'ci-notification@lists.lttng.org'
378 notify-every-unstable-build: true
379 send-to-individuals: false
382 name: lttng-modules_{mversion}_sloccount
383 defaults: lttng-modules
385 The LTTng modules provide Linux kernel tracing capability to the LTTng
388 This job runs the sloccount utility and generates a trend report.
390 <p>Job is managed by Jenkins Job Builder.</p>
398 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
402 artifacts: 'cloc.xml'
405 report-files: 'cloc.xml'
412 github_name: lttng-modules
419 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
423 - 'lttng-modules_{mversion}_build-rt':
425 - 'lttng-modules_{mversion}_build-{uversion}':
429 - 'lttng-modules_{mversion}_{buildtype}-vanilla':
430 buildtype: crossbuild
432 kverfilter: stable-head
433 - 'lttng-modules_VERSION_param-build':
434 arch: !!python/tuple [x86-32, x86-64]
435 - 'lttng-modules_VERSION_param-crossbuild':
436 cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
437 - 'lttng-modules_{mversion}_cppcheck'
438 - 'lttng-modules_{mversion}_sloccount':
440 - 'lttng-modules_{mversion}_coverity':