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
22 url: git://github.com/{github_user}/{github_name}.git
24 browser-url: https://github.com/{github_user}/{github_name}
30 basedir: src/lttng-modules
38 url: https://github.com/{github_user}/{github_name}
43 name: lttng-modules_{mversion}_{kversion}_{buildtype}
44 defaults: lttng-modules
47 node: 'master' # Applies only to matrix flyweight task
56 project: kernel_{kversion}_{buildtype}/arch=$arch
57 which-build: last-successful
61 do-not-fingerprint: true
63 git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
65 !include-raw-escape: scripts/lttng-modules/build.sh
74 name: lttng-modules_{mversion}_build-vanilla
75 defaults: lttng-modules
77 The LTTng modules provide Linux kernel tracing capability to the LTTng
80 This job will build the {mversion} branch against all stable vanilla
83 <p>Job is managed by Jenkins Job Builder.</p>
91 description: 'The lttng-modules branch to build.'
93 name: 'maxConcurrentBuild'
95 description: 'The maximum number of concurrent child build to run.'
99 description: 'The lowest kernel version to build.'
102 default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git'
103 description: 'The linux kernel git repository url.'
106 default: 'lttng-modules_VERSION_param-build'
107 description: 'The parametrized job to use for child builds.'
112 !include-raw-escape: scripts/lttng-modules/master-vanilla.groovy
118 name: lttng-modules_{mversion}_build-{uversion}
119 defaults: lttng-modules
121 The LTTng modules provide Linux kernel tracing capability to the LTTng
124 This job will build the {mversion} branch against all Ubuntu {uversion}
125 released kernels, including the LTS backport kernels.
127 <p>Job is managed by Jenkins Job Builder.</p>
134 default: '{mversion}'
135 description: 'The lttng-modules branch to build.'
137 name: 'maxConcurrentBuild'
139 description: 'The maximum number of concurrent child build to run.'
142 default: '{uversion}'
143 description: 'The lowest kernel version to build.'
146 default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git'
147 description: 'The linux kernel git repository url.'
150 default: 'lttng-modules_VERSION_param-build'
151 description: 'The parametrized job to use for child builds.'
156 !include-raw-escape: scripts/lttng-modules/master-ubuntu.groovy
162 name: lttng-modules_{mversion}_build-rt
163 defaults: lttng-modules
165 The LTTng modules provide Linux kernel tracing capability to the LTTng
168 This job will build the {mversion} branch against all Linutronix RT
171 <p>Job is managed by Jenkins Job Builder.</p>
178 default: '{mversion}'
179 description: 'The lttng-modules branch to build.'
181 name: 'maxConcurrentBuild'
183 description: 'The maximum number of concurrent child build to run.'
186 default: 'v2.6.36-rt0-rebase'
187 description: 'The lowest kernel version to build.'
190 default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git'
191 description: 'The linux kernel git repository url.'
194 default: 'lttng-modules_VERSION_param-build'
195 description: 'The parametrized job to use for child builds.'
200 !include-raw-escape: scripts/lttng-modules/master-rt.groovy
206 name: lttng-modules_VERSION_param-build
207 defaults: lttng-modules
209 This is a parametrized job used by 'master' jobs to build any combinations
210 of lttng-modules and linux kernel versions.
212 <p>Job is managed by Jenkins Job Builder.</p>
215 node: 'master' # Applies only to matrix flyweight task
226 description: 'The lttng-modules branch to build.'
230 description: 'The linux kernel git tag to build against.'
233 default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git'
234 description: 'The linux kernel git repository url.'
242 url: git://github.com/lttng/lttng-modules.git
244 browser-url: https://github.com/lttng/lttng-modules
248 basedir: src/lttng-modules
254 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
256 !include-raw-escape: scripts/lttng-modules/param-build.sh
262 name: lttng-modules_{mversion}_coverity
263 defaults: lttng-modules
275 - credentials-binding:
276 - username-password-separated:
277 credential-id: lttng-modules_coverity_token
278 username: COVERITY_SCAN_PROJECT_NAME
279 password: COVERITY_SCAN_TOKEN
283 git clone --depth=1 -b v4.4 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux
286 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
289 !include-raw-escape: scripts/common/coverity.sh
295 name: lttng-modules_{mversion}_cppcheck
296 defaults: lttng-modules
305 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
309 artifacts: 'cppcheck.xml'
312 pattern: 'cppcheck.xml'
314 recipients: 'ci-notification@lists.lttng.org'
315 notify-every-unstable-build: true
316 send-to-individuals: false
319 name: lttng-modules_{mversion}_sloccount
320 defaults: lttng-modules
322 The LTTng modules provide Linux kernel tracing capability to the LTTng
325 This job runs the sloccount utility and generates a trend report.
327 <p>Job is managed by Jenkins Job Builder.</p>
335 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
339 artifacts: 'cloc.xml'
342 report-files: 'cloc.xml'
349 github_name: lttng-modules
355 - 'lttng-modules_{mversion}_build-vanilla'
356 - 'lttng-modules_{mversion}_build-rt':
358 - 'lttng-modules_{mversion}_build-{uversion}':
362 - 'lttng-modules_VERSION_param-build':
363 arch: !!python/tuple [x86-32, x86-64]
364 - 'lttng-modules_{mversion}_cppcheck'
365 - 'lttng-modules_{mversion}_sloccount':
367 - 'lttng-modules_{mversion}_coverity':