4 The lttng-tools project provides a session daemon (lttng-sessiond)
5 that acts as a tracing registry, the "lttng" command line for tracing
6 control, a lttng-ctl library for tracing control and a lttng-relayd
9 <p>Job is managed by Jenkins Job Builder.</p>
11 project-type: freestyle
16 artifactDaysToKeep: -1
26 url: git://github.com/lttng/lttng-tools.git
28 browser-url: https://github.com/lttng/lttng-tools
38 url: https://github.com/lttng/lttng-tools
43 name: lttng-tools_{version}_{buildtype}
47 node: 'master' # Applies only to matrix flyweight task
50 (build=="std") || (liburcu_version=="master")
63 values: '{obj:urcuversion}'
66 name: babeltrace_version
67 values: '{obj:babelversion}'
82 condition-kind: regex-match
85 on-evaluation-failure: run
88 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
89 which-build: last-successful
92 target: 'deps/liburcu'
93 do-not-fingerprint: true
95 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
96 which-build: last-successful
99 target: 'deps/babeltrace'
100 do-not-fingerprint: true
102 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
103 which-build: last-successful
106 target: 'deps/lttng-ust'
107 do-not-fingerprint: true
109 condition-kind: regex-match
111 regex: (python-bindings|no-ust)
112 on-evaluation-failure: run
115 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
116 which-build: last-successful
119 target: 'deps/liburcu'
120 do-not-fingerprint: true
122 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
123 which-build: last-successful
126 target: 'deps/babeltrace'
127 do-not-fingerprint: true
129 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
130 which-build: last-successful
133 target: 'deps/lttng-ust'
134 do-not-fingerprint: true
136 condition-kind: regex-match
138 regex: (java-agent|python-agent)
139 on-evaluation-failure: run
142 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
143 which-build: last-successful
146 target: 'deps/liburcu'
147 do-not-fingerprint: true
149 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
150 which-build: last-successful
153 target: 'deps/babeltrace'
154 do-not-fingerprint: true
156 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
157 which-build: last-successful
160 target: 'deps/lttng-ust'
161 do-not-fingerprint: true
163 !include-raw-escape scripts/lttng-tools/build.sh
165 # TODO: Scan for open tasks
168 results: 'tap/**/*.tap'
169 failed-tests-mark-build-as-failure: true
170 todo-is-failure: false
173 - 'GNU Make + GNU C Compiler (gcc)'
181 artifacts: 'build/**'
185 strategy: new-failure-and-fixed
186 matrix-notifier: only-parent
192 name: lttng-tools_{version}_cppcheck
193 defaults: lttng-tools
201 rm -f lttng-tools-cppcheck.xml
202 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
206 artifacts: 'lttng-tools-cppcheck.xml'
209 pattern: 'lttng-tools-cppcheck.xml'
211 recipients: 'ci-notification@lists.lttng.org'
212 notify-every-unstable-build: true
213 send-to-individuals: false
216 name: lttng-tools_{version}_scan-build
217 defaults: lttng-tools
226 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
227 which-build: last-successful
230 target: 'deps/liburcu'
231 do-not-fingerprint: true
233 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
234 which-build: last-successful
237 target: 'deps/lttng-ust'
238 do-not-fingerprint: true
240 !include-raw-escape scripts/lttng-tools/scan-build.sh
245 dir: 'scan-build-archive/'
249 name: lttng-tools_{version}_coverity
250 defaults: lttng-tools
262 - credentials-binding:
263 - username-password-separated:
264 credential-id: lttng-tools_coverity_token
265 username: COVERITY_SCAN_PROJECT_NAME
266 password: COVERITY_SCAN_TOKEN
270 project: liburcu_master_build/arch=x86-64,conf=std,build=std
271 which-build: last-successful
274 target: 'deps/liburcu'
275 do-not-fingerprint: true
277 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
278 which-build: last-successful
281 target: 'deps/lttng-ust'
282 do-not-fingerprint: true
284 !include-raw-escape scripts/common/coverity.sh
291 name: lttng-tools_{version}_pylint
292 defaults: lttng-tools
303 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
304 which-build: last-successful
307 target: 'deps/lttng-tools'
308 do-not-fingerprint: true
310 !include-raw-escape scripts/lttng-tools/pylint.sh
314 artifacts: 'pep8.out,pylint.out'
327 recipients: 'ci-notification@lists.lttng.org'
328 notify-every-unstable-build: true
329 send-to-individuals: false
336 !include jobs/inc/lttng-tools-versions.yaml.inc
338 - 'lttng-tools_{version}_{buildtype}':
341 arch: !!python/tuple [x86-32, x86-64]
342 build: !!python/tuple [std, oot, dist]
343 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
344 urcuversion: !!python/tuple [master]
345 babelversion: !!python/tuple [master]
346 - 'lttng-tools_{version}_{buildtype}':
349 arch: !!python/tuple [armhf, powerpc, ppc64el]
350 build: !!python/tuple [std]
351 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
352 urcuversion: !!python/tuple [master]
353 babelversion: !!python/tuple [master]
354 - 'lttng-tools_{version}_{buildtype}':
357 arch: !!python/tuple [x86-32, x86-64]
358 build: !!python/tuple [std, oot, dist]
359 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
360 urcuversion: !!python/tuple [stable-0.8]
361 babelversion: !!python/tuple [stable-1.2]
362 - 'lttng-tools_{version}_{buildtype}':
365 arch: !!python/tuple [armhf, powerpc]
366 build: !!python/tuple [std]
367 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
368 urcuversion: !!python/tuple [stable-0.8]
369 babelversion: !!python/tuple [stable-1.2]
370 - 'lttng-tools_{version}_{buildtype}':
373 arch: !!python/tuple [x86-32, x86-64]
374 build: !!python/tuple [std, oot, dist]
375 conf: !!python/tuple [std, no-ust, python-bindings]
376 urcuversion: !!python/tuple [stable-0.8]
377 babelversion: !!python/tuple [stable-1.2]
378 - 'lttng-tools_{version}_{buildtype}':
381 arch: !!python/tuple [armhf, powerpc]
382 build: !!python/tuple [std]
383 conf: !!python/tuple [std, no-ust, python-bindings]
384 urcuversion: !!python/tuple [stable-0.8]
385 babelversion: !!python/tuple [stable-1.2]
386 - 'lttng-tools_{version}_cppcheck'
387 - 'lttng-tools_{version}_scan-build':
390 - 'lttng-tools_{version}_scan-build':
392 urcuversion: stable-0.8
393 - 'lttng-tools_{version}_scan-build':
395 urcuversion: stable-0.8
396 #- 'lttng-tools_{version}_pylint'
397 - 'lttng-tools_{version}_coverity':