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/{github_user}/{github_name}.git
28 browser-url: https://github.com/{github_user}/{github_name}
38 url: https://github.com/{github_user}/{github_name}
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 jobs: 'lttng-ust_{version}_{buildtype}'
89 condition-kind: regex-match
92 on-evaluation-failure: run
95 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
96 which-build: last-successful
99 target: 'deps/liburcu'
100 do-not-fingerprint: true
102 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
103 which-build: last-successful
106 target: 'deps/babeltrace'
107 do-not-fingerprint: true
109 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
110 which-build: last-successful
113 target: 'deps/lttng-ust'
114 do-not-fingerprint: true
116 condition-kind: regex-match
118 regex: (python-bindings|no-ust)
119 on-evaluation-failure: run
122 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
123 which-build: last-successful
126 target: 'deps/liburcu'
127 do-not-fingerprint: true
129 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
130 which-build: last-successful
133 target: 'deps/babeltrace'
134 do-not-fingerprint: true
136 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
137 which-build: last-successful
140 target: 'deps/lttng-ust'
141 do-not-fingerprint: true
143 condition-kind: regex-match
145 regex: (java-agent|python-agent)
146 on-evaluation-failure: run
149 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
150 which-build: last-successful
153 target: 'deps/liburcu'
154 do-not-fingerprint: true
156 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
157 which-build: last-successful
160 target: 'deps/babeltrace'
161 do-not-fingerprint: true
163 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
164 which-build: last-successful
167 target: 'deps/lttng-ust'
168 do-not-fingerprint: true
170 !include-raw-escape: scripts/lttng-tools/build.sh
172 # TODO: Scan for open tasks
175 results: 'tap/**/*.tap'
176 failed-tests-mark-build-as-failure: true
177 todo-is-failure: false
180 - 'GNU Make + GNU C Compiler (gcc)'
188 artifacts: 'build/**'
192 strategy: new-failure-and-fixed
193 matrix-notifier: only-parent
199 name: lttng-tools_{version}_cppcheck
200 defaults: lttng-tools
208 rm -f lttng-tools-cppcheck.xml
209 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
213 artifacts: 'lttng-tools-cppcheck.xml'
216 pattern: 'lttng-tools-cppcheck.xml'
218 recipients: 'ci-notification@lists.lttng.org'
219 notify-every-unstable-build: true
220 send-to-individuals: false
223 name: lttng-tools_{version}_scan-build
224 defaults: lttng-tools
233 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
234 which-build: last-successful
237 target: 'deps/liburcu'
238 do-not-fingerprint: true
240 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
241 which-build: last-successful
244 target: 'deps/lttng-ust'
245 do-not-fingerprint: true
247 !include-raw-escape: scripts/lttng-tools/scan-build.sh
252 dir: 'scan-build-archive/'
256 name: lttng-tools_{version}_coverity
257 defaults: lttng-tools
269 - credentials-binding:
270 - username-password-separated:
271 credential-id: lttng-tools_coverity_token
272 username: COVERITY_SCAN_PROJECT_NAME
273 password: COVERITY_SCAN_TOKEN
277 project: liburcu_master_build/arch=x86-64,conf=std,build=std
278 which-build: last-successful
281 target: 'deps/liburcu'
282 do-not-fingerprint: true
284 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
285 which-build: last-successful
288 target: 'deps/lttng-ust'
289 do-not-fingerprint: true
291 !include-raw-escape: scripts/common/coverity.sh
298 name: lttng-tools_{version}_pylint
299 defaults: lttng-tools
310 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
311 which-build: last-successful
314 target: 'deps/lttng-tools'
315 do-not-fingerprint: true
317 !include-raw-escape: scripts/lttng-tools/pylint.sh
321 artifacts: 'pep8.out,pylint.out'
334 recipients: 'ci-notification@lists.lttng.org'
335 notify-every-unstable-build: true
336 send-to-individuals: false
343 github_name: lttng-tools
345 !include: jobs/inc/lttng-tools-versions.yaml.inc
347 - 'lttng-tools_{version}_{buildtype}':
350 arch: !!python/tuple [x86-32, x86-64]
351 build: !!python/tuple [std, oot, dist]
352 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
353 urcuversion: !!python/tuple [master]
354 babelversion: !!python/tuple [master]
355 - 'lttng-tools_{version}_{buildtype}':
358 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
359 build: !!python/tuple [std]
360 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
361 urcuversion: !!python/tuple [master]
362 babelversion: !!python/tuple [master]
363 - 'lttng-tools_{version}_{buildtype}':
366 arch: !!python/tuple [x86-32, x86-64]
367 build: !!python/tuple [std, oot, dist]
368 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
369 urcuversion: !!python/tuple [stable-0.9]
370 babelversion: !!python/tuple [stable-1.3]
371 - 'lttng-tools_{version}_{buildtype}':
374 arch: !!python/tuple [armhf, arm64, powerpc]
375 build: !!python/tuple [std]
376 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
377 urcuversion: !!python/tuple [stable-0.9]
378 babelversion: !!python/tuple [stable-1.3]
379 - 'lttng-tools_{version}_{buildtype}':
382 arch: !!python/tuple [x86-32, x86-64]
383 build: !!python/tuple [std, oot, dist]
384 conf: !!python/tuple [std, no-ust, python-bindings]
385 urcuversion: !!python/tuple [stable-0.9]
386 babelversion: !!python/tuple [stable-1.3]
387 - 'lttng-tools_{version}_{buildtype}':
390 arch: !!python/tuple [armhf, arm64, powerpc]
391 build: !!python/tuple [std]
392 conf: !!python/tuple [std, no-ust, python-bindings]
393 urcuversion: !!python/tuple [stable-0.9]
394 babelversion: !!python/tuple [stable-1.3]
395 - 'lttng-tools_{version}_cppcheck'
396 - 'lttng-tools_{version}_scan-build':
399 - 'lttng-tools_{version}_scan-build':
401 urcuversion: stable-0.9
402 - 'lttng-tools_{version}_scan-build':
404 urcuversion: stable-0.9
405 #- 'lttng-tools_{version}_pylint'
406 - 'lttng-tools_{version}_coverity':