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: 'x86-32 || x86-64' # Applies only to matrix flyweight task
50 (build=="std") || (liburcu_version=="master")
68 values: '{obj:urcuversion}'
71 name: babeltrace_version
72 values: '{obj:babelversion}'
80 condition-kind: regex-match
83 on-evaluation-failure: run
86 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
87 which-build: last-successful
90 target: 'deps/liburcu'
91 do-not-fingerprint: true
93 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
94 which-build: last-successful
97 target: 'deps/babeltrace'
98 do-not-fingerprint: true
100 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
101 which-build: last-successful
104 target: 'deps/lttng-ust'
105 do-not-fingerprint: true
107 condition-kind: regex-match
109 regex: (python_bindings|no_ust)
110 on-evaluation-failure: run
113 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
114 which-build: last-successful
117 target: 'deps/liburcu'
118 do-not-fingerprint: true
120 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
121 which-build: last-successful
124 target: 'deps/babeltrace'
125 do-not-fingerprint: true
127 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
128 which-build: last-successful
131 target: 'deps/lttng-ust'
132 do-not-fingerprint: true
134 condition-kind: regex-match
137 on-evaluation-failure: run
140 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
141 which-build: last-successful
144 target: 'deps/liburcu'
145 do-not-fingerprint: true
147 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
148 which-build: last-successful
151 target: 'deps/babeltrace'
152 do-not-fingerprint: true
154 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
155 which-build: last-successful
158 target: 'deps/lttng-ust'
159 do-not-fingerprint: true
161 !include-raw-escape scripts/lttng-tools/build.sh
163 # TODO: Scan for open tasks
166 results: 'tap/**/*.tap'
167 failed-tests-mark-build-as-failure: true
170 - 'GNU Make + GNU C Compiler (gcc)'
178 artifacts: 'build/**'
184 name: lttng-tools_{version}_cppcheck
185 defaults: lttng-tools
193 rm -f lttng-tools-cppcheck.xml
194 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
198 artifacts: 'lttng-tools-cppcheck.xml'
201 pattern: 'lttng-tools-cppcheck.xml'
203 recipients: 'ci-notification@lists.lttng.org'
204 notify-every-unstable-build: true
205 send-to-individuals: false
208 name: lttng-tools_{version}_scan-build
209 defaults: lttng-tools
218 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
219 which-build: last-successful
222 target: 'deps/liburcu'
223 do-not-fingerprint: true
225 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
226 which-build: last-successful
229 target: 'deps/lttng-ust'
230 do-not-fingerprint: true
232 !include-raw-escape scripts/lttng-tools/scan-build.sh
237 dir: 'scan-build-archive/'
241 name: lttng-tools_{version}_coverity
242 defaults: lttng-tools
254 - credentials-binding:
255 - username-password-separated:
256 credential-id: lttng-tools_coverity_token
257 username: COVERITY_SCAN_PROJECT_NAME
258 password: COVERITY_SCAN_TOKEN
262 project: liburcu_master_build/arch=x86-64,conf=std,build=std
263 which-build: last-successful
266 target: 'deps/liburcu'
267 do-not-fingerprint: true
269 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
270 which-build: last-successful
273 target: 'deps/lttng-ust'
274 do-not-fingerprint: true
276 !include-raw-escape scripts/common/coverity.sh
283 name: lttng-tools_{version}_pylint
284 defaults: lttng-tools
295 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
296 which-build: last-successful
299 target: 'deps/lttng-tools'
300 do-not-fingerprint: true
302 !include-raw-escape scripts/lttng-tools/pylint.sh
306 artifacts: 'pep8.out,pylint.out'
319 recipients: 'ci-notification@lists.lttng.org'
320 notify-every-unstable-build: true
321 send-to-individuals: false
328 !include jobs/inc/lttng-tools-versions.yaml.inc
330 - 'lttng-tools_{version}_{buildtype}':
333 arch: !!python/tuple [x86-32, x86-64]
334 build: !!python/tuple [std, oot, dist]
335 urcuversion: !!python/tuple [master]
336 babelversion: !!python/tuple [master]
337 - 'lttng-tools_{version}_{buildtype}':
340 arch: !!python/tuple [armhf, powerpc]
341 build: !!python/tuple [std]
342 urcuversion: !!python/tuple [master]
343 babelversion: !!python/tuple [master]
344 - 'lttng-tools_{version}_{buildtype}':
347 arch: !!python/tuple [x86-32, x86-64]
348 build: !!python/tuple [std, oot, dist]
349 urcuversion: !!python/tuple [stable-0.8]
350 babelversion: !!python/tuple [stable-1.2]
351 - 'lttng-tools_{version}_{buildtype}':
354 arch: !!python/tuple [armhf, powerpc]
355 build: !!python/tuple [std]
356 urcuversion: !!python/tuple [stable-0.8]
357 babelversion: !!python/tuple [stable-1.2]
358 - 'lttng-tools_{version}_{buildtype}':
361 arch: !!python/tuple [x86-32, x86-64]
362 build: !!python/tuple [std, oot, dist]
363 urcuversion: !!python/tuple [stable-0.8]
364 babelversion: !!python/tuple [stable-1.2]
365 - 'lttng-tools_{version}_{buildtype}':
368 arch: !!python/tuple [armhf, powerpc]
369 build: !!python/tuple [std]
370 urcuversion: !!python/tuple [stable-0.8]
371 babelversion: !!python/tuple [stable-1.2]
372 - 'lttng-tools_{version}_cppcheck'
373 - 'lttng-tools_{version}_scan-build':
376 - 'lttng-tools_{version}_scan-build':
378 urcuversion: stable-0.8
379 - 'lttng-tools_{version}_scan-build':
381 urcuversion: stable-0.8
382 #- 'lttng-tools_{version}_pylint'
383 - 'lttng-tools_{version}_coverity':