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/lttng/lttng-modules.git
24 browser-url: https://github.com/lttng/lttng-modules
30 basedir: lttng-modules
38 url: https://github.com/lttng/lttng-modules
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://artifacts.internal.efficios.com/git/linux-stable.git linux
65 !include-raw-escape: scripts/lttng-modules/build.sh
74 name: lttng-modules_{mversion}_build-vanilla
75 defaults: lttng-modules
83 description: 'The lttng-modules branch to build.'
85 name: 'maxConcurrentBuild'
87 description: 'The maximum number of concurrent child build to run.'
91 description: 'The lowest kernel version to build.'
94 default: 'git://artifacts.internal.efficios.com/git/linux-stable.git'
95 description: 'The linux kernel git repository url.'
98 default: 'lttng-modules_VERSION_param-build'
99 description: 'The parametrized job to use for child builds.'
104 !include-raw-escape: scripts/lttng-modules/master.groovy
110 name: lttng-modules_{mversion}_build-{uversion}
111 defaults: lttng-modules
118 default: '{mversion}'
119 description: 'The lttng-modules branch to build.'
121 name: 'maxConcurrentBuild'
123 description: 'The maximum number of concurrent child build to run.'
126 default: '{uversion}'
127 description: 'The lowest kernel version to build.'
130 default: 'git://artifacts.internal.efficios.com/git/ubuntu-{uversion}.git'
131 description: 'The linux kernel git repository url.'
134 default: 'lttng-modules_VERSION_param-build'
135 description: 'The parametrized job to use for child builds.'
140 !include-raw-escape: scripts/lttng-modules/master-ubuntu.groovy
146 name: lttng-modules_VERSION_param-build
147 defaults: lttng-modules
149 This is a parametrized job used by 'master' jobs to build any combinations
150 of lttng-modules and linux kernel versions.
152 <p>Job is managed by Jenkins Job Builder.</p>
155 node: 'master' # Applies only to matrix flyweight task
166 description: 'The lttng-modules branch to build.'
170 description: 'The linux kernel git tag to build against.'
173 default: 'git://artifacts.internal.efficios.com/git/linux-stable.git'
174 description: 'The linux kernel git repository url.'
182 url: git://github.com/lttng/lttng-modules.git
184 browser-url: https://github.com/lttng/lttng-modules
188 basedir: lttng-modules
192 git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" linux
194 !include-raw-escape: scripts/lttng-modules/param-build.sh
200 name: lttng-modules_{mversion}_coverity
201 defaults: lttng-modules
210 url: git://github.com/lttng/lttng-modules.git
212 browser-url: https://github.com/lttng/lttng-modules
221 - credentials-binding:
222 - username-password-separated:
223 credential-id: lttng-modules_coverity_token
224 username: COVERITY_SCAN_PROJECT_NAME
225 password: COVERITY_SCAN_TOKEN
229 !include-raw-escape: scripts/common/coverity.sh
235 name: lttng-modules_{mversion}_cppcheck
236 defaults: lttng-modules
244 url: git://github.com/lttng/lttng-modules.git
246 browser-url: https://github.com/lttng/lttng-modules
253 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck.xml
257 artifacts: 'cppcheck.xml'
260 pattern: 'cppcheck.xml'
262 recipients: 'ci-notification@lists.lttng.org'
263 notify-every-unstable-build: true
264 send-to-individuals: false
271 !include: jobs/inc/lttng-modules-versions.yaml.inc
273 - 'lttng-modules_{mversion}_build-vanilla'
274 - 'lttng-modules_{mversion}_build-{uversion}':
278 - 'lttng-modules_VERSION_param-build':
279 arch: !!python/tuple [x86-32, x86-64]
280 - 'lttng-modules_{mversion}_cppcheck'
281 - 'lttng-modules_{mversion}_coverity':