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/kernel/stable/linux-stable.git src/linux
64 !include-raw-escape: scripts/lttng-modules/build.sh
73 name: lttng-modules_{mversion}_build-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.'
98 description: 'The lowest kernel version to build.'
101 default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git'
102 description: 'The linux kernel git repository url.'
105 default: 'lttng-modules_VERSION_param-build'
106 description: 'The parametrized job to use for child builds.'
111 !include-raw-escape: scripts/lttng-modules/master-vanilla.groovy
117 name: lttng-modules_{mversion}_build-{uversion}
118 defaults: lttng-modules
120 The LTTng modules provide Linux kernel tracing capability to the LTTng
123 This job will build the {mversion} branch against all Ubuntu {uversion}
124 released kernels, including the LTS backport kernels.
126 <p>Job is managed by Jenkins Job Builder.</p>
133 default: '{mversion}'
134 description: 'The lttng-modules branch to build.'
136 name: 'maxConcurrentBuild'
138 description: 'The maximum number of concurrent child build to run.'
141 default: '{uversion}'
142 description: 'The lowest kernel version to build.'
145 default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git'
146 description: 'The linux kernel git repository url.'
149 default: 'lttng-modules_VERSION_param-build'
150 description: 'The parametrized job to use for child builds.'
155 !include-raw-escape: scripts/lttng-modules/master-ubuntu.groovy
161 name: lttng-modules_{mversion}_build-rt
162 defaults: lttng-modules
164 The LTTng modules provide Linux kernel tracing capability to the LTTng
167 This job will build the {mversion} branch against all Linutronix RT
170 <p>Job is managed by Jenkins Job Builder.</p>
177 default: '{mversion}'
178 description: 'The lttng-modules branch to build.'
180 name: 'maxConcurrentBuild'
182 description: 'The maximum number of concurrent child build to run.'
185 default: 'v2.6.36-rt0-rebase'
186 description: 'The lowest kernel version to build.'
189 default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git'
190 description: 'The linux kernel git repository url.'
193 default: 'lttng-modules_VERSION_param-build'
194 description: 'The parametrized job to use for child builds.'
199 !include-raw-escape: scripts/lttng-modules/master-rt.groovy
205 name: lttng-modules_VERSION_param-build
206 defaults: lttng-modules
208 This is a parametrized job used by 'master' jobs to build any combinations
209 of lttng-modules and linux kernel versions.
211 <p>Job is managed by Jenkins Job Builder.</p>
214 node: 'master' # Applies only to matrix flyweight task
225 description: 'The lttng-modules branch to build.'
229 description: 'The linux kernel git tag to build against.'
232 default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git'
233 description: 'The linux kernel git repository url.'
239 url: git://github.com/lttng/lttng-modules.git
241 browser-url: https://github.com/lttng/lttng-modules
245 basedir: src/lttng-modules
251 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux
253 !include-raw-escape: scripts/lttng-modules/param-build.sh
259 name: lttng-modules_{mversion}_coverity
260 defaults: lttng-modules
272 - credentials-binding:
273 - username-password-separated:
274 credential-id: lttng-modules_coverity_token
275 username: COVERITY_SCAN_PROJECT_NAME
276 password: COVERITY_SCAN_TOKEN
280 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
283 sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config
286 !include-raw-escape: scripts/common/coverity.sh
292 name: lttng-modules_{mversion}_cppcheck
293 defaults: lttng-modules
302 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml
306 artifacts: 'cppcheck.xml'
309 pattern: 'cppcheck.xml'
311 recipients: 'ci-notification@lists.lttng.org'
312 notify-every-unstable-build: true
313 send-to-individuals: false
316 name: lttng-modules_{mversion}_sloccount
317 defaults: lttng-modules
319 The LTTng modules provide Linux kernel tracing capability to the LTTng
322 This job runs the sloccount utility and generates a trend report.
324 <p>Job is managed by Jenkins Job Builder.</p>
332 cloc --by-file --xml --out=cloc.xml src/lttng-modules/
336 artifacts: 'cloc.xml'
339 report-files: 'cloc.xml'
346 github_name: lttng-modules
352 - 'lttng-modules_{mversion}_build-vanilla'
353 - 'lttng-modules_{mversion}_build-rt':
355 - 'lttng-modules_{mversion}_build-{uversion}':
359 - 'lttng-modules_VERSION_param-build':
360 arch: !!python/tuple [x86-32, x86-64]
361 - 'lttng-modules_{mversion}_cppcheck'
362 - 'lttng-modules_{mversion}_sloccount':
364 - 'lttng-modules_{mversion}_coverity':