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
20 url: git://github.com/{github_user}/{github_name}.git
22 browser-url: https://github.com/{github_user}/{github_name}
32 url: https://github.com/{github_user}/{github_name}
39 name: lttng-tools_{version}_{buildtype}
43 node: 'master' # Applies only to matrix flyweight task
56 values: '{obj:urcuversion}'
59 name: babeltrace_version
60 values: '{obj:babelversion}'
68 url: https://github.com/{github_user}/{github_name}
83 jobs: 'lttng-ust_{version}_{buildtype}'
88 condition-kind: regex-match
91 on-evaluation-failure: run
94 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
95 which-build: last-successful
98 target: 'deps/liburcu'
99 do-not-fingerprint: true
101 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
102 which-build: last-successful
105 target: 'deps/babeltrace'
106 do-not-fingerprint: true
108 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
109 which-build: last-successful
112 target: 'deps/lttng-ust'
113 do-not-fingerprint: true
115 condition-kind: regex-match
117 regex: (python-bindings|no-ust)
118 on-evaluation-failure: run
121 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
122 which-build: last-successful
125 target: 'deps/liburcu'
126 do-not-fingerprint: true
128 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
129 which-build: last-successful
132 target: 'deps/babeltrace'
133 do-not-fingerprint: true
135 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
136 which-build: last-successful
139 target: 'deps/lttng-ust'
140 do-not-fingerprint: true
142 condition-kind: regex-match
144 regex: (java-agent|python-agent)
145 on-evaluation-failure: run
148 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
149 which-build: last-successful
152 target: 'deps/liburcu'
153 do-not-fingerprint: true
155 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
156 which-build: last-successful
159 target: 'deps/babeltrace'
160 do-not-fingerprint: true
162 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
163 which-build: last-successful
166 target: 'deps/lttng-ust'
167 do-not-fingerprint: true
169 !include-raw-escape: scripts/lttng-tools/build.sh
171 # TODO: Scan for open tasks
174 results: 'tap/**/*.tap'
175 failed-tests-mark-build-as-failure: true
176 todo-is-failure: false
179 - 'GNU Make + GNU C Compiler (gcc)'
187 artifacts: 'build/**'
191 strategy: new-failure-and-fixed
192 matrix-notifier: only-parent
198 name: lttng-tools_{version}_cppcheck
199 defaults: lttng-tools
207 rm -f lttng-tools-cppcheck.xml
208 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
212 artifacts: 'lttng-tools-cppcheck.xml'
215 pattern: 'lttng-tools-cppcheck.xml'
217 recipients: 'ci-notification@lists.lttng.org'
218 notify-every-unstable-build: true
219 send-to-individuals: false
222 name: lttng-tools_{version}_scan-build
223 defaults: lttng-tools
232 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
233 which-build: last-successful
236 target: 'deps/liburcu'
237 do-not-fingerprint: true
239 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
240 which-build: last-successful
243 target: 'deps/lttng-ust'
244 do-not-fingerprint: true
246 !include-raw-escape: scripts/lttng-tools/scan-build.sh
251 dir: 'scan-build-archive/'
255 name: lttng-tools_{version}_coverity
256 defaults: lttng-tools
268 - credentials-binding:
269 - username-password-separated:
270 credential-id: lttng-tools_coverity_token
271 username: COVERITY_SCAN_PROJECT_NAME
272 password: COVERITY_SCAN_TOKEN
276 project: liburcu_master_build/arch=x86-64,conf=std,build=std
277 which-build: last-successful
280 target: 'deps/liburcu'
281 do-not-fingerprint: true
283 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
284 which-build: last-successful
287 target: 'deps/lttng-ust'
288 do-not-fingerprint: true
290 !include-raw-escape: scripts/common/coverity.sh
297 name: lttng-tools_{version}_pylint
298 defaults: lttng-tools
309 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
310 which-build: last-successful
313 target: 'deps/lttng-tools'
314 do-not-fingerprint: true
316 !include-raw-escape: scripts/lttng-tools/pylint.sh
320 artifacts: 'pep8.out,pylint.out'
333 recipients: 'ci-notification@lists.lttng.org'
334 notify-every-unstable-build: true
335 send-to-individuals: false
342 github_name: lttng-tools
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.4]
372 - 'lttng-tools_{version}_{buildtype}':
375 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
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.4]
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}_cppcheck'
397 - 'lttng-tools_{version}_scan-build':
400 - 'lttng-tools_{version}_scan-build':
402 urcuversion: stable-0.9
403 - 'lttng-tools_{version}_scan-build':
405 urcuversion: stable-0.9
406 #- 'lttng-tools_{version}_pylint'
407 - 'lttng-tools_{version}_coverity':