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}'
84 condition-kind: regex-match
87 on-evaluation-failure: run
90 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
91 which-build: last-successful
94 target: 'deps/liburcu'
95 do-not-fingerprint: true
97 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
98 which-build: last-successful
101 target: 'deps/babeltrace'
102 do-not-fingerprint: true
104 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
105 which-build: last-successful
108 target: 'deps/lttng-ust'
109 do-not-fingerprint: true
111 condition-kind: regex-match
113 regex: (python-bindings|no-ust)
114 on-evaluation-failure: run
117 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
118 which-build: last-successful
121 target: 'deps/liburcu'
122 do-not-fingerprint: true
124 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
125 which-build: last-successful
128 target: 'deps/babeltrace'
129 do-not-fingerprint: true
131 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
132 which-build: last-successful
135 target: 'deps/lttng-ust'
136 do-not-fingerprint: true
138 condition-kind: regex-match
140 regex: (java-agent|python-agent)
141 on-evaluation-failure: run
144 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
145 which-build: last-successful
148 target: 'deps/liburcu'
149 do-not-fingerprint: true
151 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
152 which-build: last-successful
155 target: 'deps/babeltrace'
156 do-not-fingerprint: true
158 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
159 which-build: last-successful
162 target: 'deps/lttng-ust'
163 do-not-fingerprint: true
165 !include-raw-escape: scripts/lttng-tools/build.sh
167 # TODO: Scan for open tasks
170 results: 'tap/**/*.tap'
171 failed-tests-mark-build-as-failure: true
172 todo-is-failure: false
175 - 'GNU Make + GNU C Compiler (gcc)'
183 artifacts: 'build/**'
187 strategy: new-failure-and-fixed
188 matrix-notifier: only-parent
194 name: lttng-tools_{version}_cppcheck
195 defaults: lttng-tools
203 rm -f lttng-tools-cppcheck.xml
204 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
208 artifacts: 'lttng-tools-cppcheck.xml'
211 pattern: 'lttng-tools-cppcheck.xml'
213 recipients: 'ci-notification@lists.lttng.org'
214 notify-every-unstable-build: true
215 send-to-individuals: false
218 name: lttng-tools_{version}_scan-build
219 defaults: lttng-tools
228 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
229 which-build: last-successful
232 target: 'deps/liburcu'
233 do-not-fingerprint: true
235 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
236 which-build: last-successful
239 target: 'deps/lttng-ust'
240 do-not-fingerprint: true
242 !include-raw-escape: scripts/lttng-tools/scan-build.sh
247 dir: 'scan-build-archive/'
251 name: lttng-tools_{version}_coverity
252 defaults: lttng-tools
264 - credentials-binding:
265 - username-password-separated:
266 credential-id: lttng-tools_coverity_token
267 username: COVERITY_SCAN_PROJECT_NAME
268 password: COVERITY_SCAN_TOKEN
272 project: liburcu_master_build/arch=x86-64,conf=std,build=std
273 which-build: last-successful
276 target: 'deps/liburcu'
277 do-not-fingerprint: true
279 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
280 which-build: last-successful
283 target: 'deps/lttng-ust'
284 do-not-fingerprint: true
286 !include-raw-escape: scripts/common/coverity.sh
293 name: lttng-tools_{version}_pylint
294 defaults: lttng-tools
305 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
306 which-build: last-successful
309 target: 'deps/lttng-tools'
310 do-not-fingerprint: true
312 !include-raw-escape: scripts/lttng-tools/pylint.sh
316 artifacts: 'pep8.out,pylint.out'
329 recipients: 'ci-notification@lists.lttng.org'
330 notify-every-unstable-build: true
331 send-to-individuals: false
338 !include: jobs/inc/lttng-tools-versions.yaml.inc
340 - 'lttng-tools_{version}_{buildtype}':
343 arch: !!python/tuple [x86-32, x86-64]
344 build: !!python/tuple [std, oot, dist]
345 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
346 urcuversion: !!python/tuple [master]
347 babelversion: !!python/tuple [master]
348 - 'lttng-tools_{version}_{buildtype}':
351 arch: !!python/tuple [armhf, powerpc, ppc64el]
352 build: !!python/tuple [std]
353 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
354 urcuversion: !!python/tuple [master]
355 babelversion: !!python/tuple [master]
356 - 'lttng-tools_{version}_{buildtype}':
359 arch: !!python/tuple [x86-32, x86-64]
360 build: !!python/tuple [std, oot, dist]
361 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
362 urcuversion: !!python/tuple [stable-0.9]
363 babelversion: !!python/tuple [stable-1.3]
364 - 'lttng-tools_{version}_{buildtype}':
367 arch: !!python/tuple [armhf, powerpc]
368 build: !!python/tuple [std]
369 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
370 urcuversion: !!python/tuple [stable-0.9]
371 babelversion: !!python/tuple [stable-1.3]
372 - 'lttng-tools_{version}_{buildtype}':
375 arch: !!python/tuple [x86-32, x86-64]
376 build: !!python/tuple [std, oot, dist]
377 conf: !!python/tuple [std, no-ust, python-bindings]
378 urcuversion: !!python/tuple [stable-0.9]
379 babelversion: !!python/tuple [stable-1.3]
380 - 'lttng-tools_{version}_{buildtype}':
383 arch: !!python/tuple [armhf, powerpc]
384 build: !!python/tuple [std]
385 conf: !!python/tuple [std, no-ust, python-bindings]
386 urcuversion: !!python/tuple [stable-0.9]
387 babelversion: !!python/tuple [stable-1.3]
388 - 'lttng-tools_{version}_cppcheck'
389 - 'lttng-tools_{version}_scan-build':
392 - 'lttng-tools_{version}_scan-build':
394 urcuversion: stable-0.9
395 - 'lttng-tools_{version}_scan-build':
397 urcuversion: stable-0.9
398 #- 'lttng-tools_{version}_pylint'
399 - 'lttng-tools_{version}_coverity':