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}'
85 jobs: 'lttng-ust_{version}_{buildtype}'
90 condition-kind: regex-match
93 on-evaluation-failure: run
96 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
97 which-build: last-successful
100 target: 'deps/liburcu'
101 do-not-fingerprint: true
103 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
104 which-build: last-successful
107 target: 'deps/babeltrace'
108 do-not-fingerprint: true
110 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
111 which-build: last-successful
114 target: 'deps/lttng-ust'
115 do-not-fingerprint: true
117 condition-kind: regex-match
119 regex: (python-bindings|no-ust)
120 on-evaluation-failure: run
123 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
124 which-build: last-successful
127 target: 'deps/liburcu'
128 do-not-fingerprint: true
130 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
131 which-build: last-successful
134 target: 'deps/babeltrace'
135 do-not-fingerprint: true
137 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
138 which-build: last-successful
141 target: 'deps/lttng-ust'
142 do-not-fingerprint: true
144 condition-kind: regex-match
146 regex: (java-agent|python-agent)
147 on-evaluation-failure: run
150 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
151 which-build: last-successful
154 target: 'deps/liburcu'
155 do-not-fingerprint: true
157 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
158 which-build: last-successful
161 target: 'deps/babeltrace'
162 do-not-fingerprint: true
164 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
165 which-build: last-successful
168 target: 'deps/lttng-ust'
169 do-not-fingerprint: true
171 !include-raw-escape: scripts/lttng-tools/build.sh
173 # TODO: Scan for open tasks
176 results: 'tap/**/*.tap'
177 failed-tests-mark-build-as-failure: true
178 todo-is-failure: false
181 - 'GNU Make + GNU C Compiler (gcc)'
189 artifacts: 'build/**'
193 strategy: new-failure-and-fixed
194 matrix-notifier: only-parent
200 name: lttng-tools_{version}_cppcheck
201 defaults: lttng-tools
209 rm -f lttng-tools-cppcheck.xml
210 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
214 artifacts: 'lttng-tools-cppcheck.xml'
217 pattern: 'lttng-tools-cppcheck.xml'
219 recipients: 'ci-notification@lists.lttng.org'
220 notify-every-unstable-build: true
221 send-to-individuals: false
224 name: lttng-tools_{version}_scan-build
225 defaults: lttng-tools
234 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
235 which-build: last-successful
238 target: 'deps/liburcu'
239 do-not-fingerprint: true
241 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
242 which-build: last-successful
245 target: 'deps/lttng-ust'
246 do-not-fingerprint: true
248 !include-raw-escape: scripts/lttng-tools/scan-build.sh
253 dir: 'scan-build-archive/'
257 name: lttng-tools_{version}_coverity
258 defaults: lttng-tools
270 - credentials-binding:
271 - username-password-separated:
272 credential-id: lttng-tools_coverity_token
273 username: COVERITY_SCAN_PROJECT_NAME
274 password: COVERITY_SCAN_TOKEN
278 project: liburcu_master_build/arch=x86-64,conf=std,build=std
279 which-build: last-successful
282 target: 'deps/liburcu'
283 do-not-fingerprint: true
285 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
286 which-build: last-successful
289 target: 'deps/lttng-ust'
290 do-not-fingerprint: true
292 !include-raw-escape: scripts/common/coverity.sh
299 name: lttng-tools_{version}_pylint
300 defaults: lttng-tools
311 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
312 which-build: last-successful
315 target: 'deps/lttng-tools'
316 do-not-fingerprint: true
318 !include-raw-escape: scripts/lttng-tools/pylint.sh
322 artifacts: 'pep8.out,pylint.out'
335 recipients: 'ci-notification@lists.lttng.org'
336 notify-every-unstable-build: true
337 send-to-individuals: false
344 github_name: lttng-tools
346 !include: jobs/inc/lttng-tools-versions.yaml.inc
348 - 'lttng-tools_{version}_{buildtype}':
351 arch: !!python/tuple [x86-32, x86-64]
352 build: !!python/tuple [std, oot, dist]
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 [armhf, arm64, powerpc, ppc64el]
360 build: !!python/tuple [std]
361 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
362 urcuversion: !!python/tuple [master]
363 babelversion: !!python/tuple [master]
364 - 'lttng-tools_{version}_{buildtype}':
367 arch: !!python/tuple [x86-32, x86-64]
368 build: !!python/tuple [std, oot, dist]
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 [armhf, arm64, powerpc]
376 build: !!python/tuple [std]
377 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
378 urcuversion: !!python/tuple [stable-0.9]
379 babelversion: !!python/tuple [stable-1.3]
380 - 'lttng-tools_{version}_{buildtype}':
383 arch: !!python/tuple [x86-32, x86-64]
384 build: !!python/tuple [std, oot, dist]
385 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
386 urcuversion: !!python/tuple [stable-0.9]
387 babelversion: !!python/tuple [stable-1.3]
388 - 'lttng-tools_{version}_{buildtype}':
391 arch: !!python/tuple [armhf, arm64, powerpc]
392 build: !!python/tuple [std]
393 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
394 urcuversion: !!python/tuple [stable-0.9]
395 babelversion: !!python/tuple [stable-1.3]
396 - 'lttng-tools_{version}_{buildtype}':
399 arch: !!python/tuple [x86-32, x86-64]
400 build: !!python/tuple [std, oot, dist]
401 conf: !!python/tuple [std, no-ust, python-bindings]
402 urcuversion: !!python/tuple [stable-0.9]
403 babelversion: !!python/tuple [stable-1.3]
404 - 'lttng-tools_{version}_{buildtype}':
407 arch: !!python/tuple [armhf, arm64, powerpc]
408 build: !!python/tuple [std]
409 conf: !!python/tuple [std, no-ust, python-bindings]
410 urcuversion: !!python/tuple [stable-0.9]
411 babelversion: !!python/tuple [stable-1.3]
412 - 'lttng-tools_{version}_cppcheck'
413 - 'lttng-tools_{version}_scan-build':
416 - 'lttng-tools_{version}_scan-build':
418 urcuversion: stable-0.9
419 - 'lttng-tools_{version}_scan-build':
421 urcuversion: stable-0.9
422 - 'lttng-tools_{version}_scan-build':
424 urcuversion: stable-0.9
425 #- 'lttng-tools_{version}_pylint'
426 - 'lttng-tools_{version}_coverity':