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
60 values: '{obj:urcuversion}'
63 name: babeltrace_version
64 values: '{obj:babelversion}'
82 jobs: 'lttng-ust_{version}_{buildtype}'
87 condition-kind: regex-match
90 on-evaluation-failure: run
93 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
94 which-build: last-successful
97 target: 'deps/liburcu'
98 do-not-fingerprint: true
100 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
101 which-build: last-successful
104 target: 'deps/babeltrace'
105 do-not-fingerprint: true
107 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
108 which-build: last-successful
111 target: 'deps/lttng-ust'
112 do-not-fingerprint: true
114 condition-kind: regex-match
116 regex: (python-bindings|no-ust)
117 on-evaluation-failure: run
120 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
121 which-build: last-successful
124 target: 'deps/liburcu'
125 do-not-fingerprint: true
127 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
128 which-build: last-successful
131 target: 'deps/babeltrace'
132 do-not-fingerprint: true
134 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
135 which-build: last-successful
138 target: 'deps/lttng-ust'
139 do-not-fingerprint: true
141 condition-kind: regex-match
143 regex: (java-agent|python-agent)
144 on-evaluation-failure: run
147 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
148 which-build: last-successful
151 target: 'deps/liburcu'
152 do-not-fingerprint: true
154 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
155 which-build: last-successful
158 target: 'deps/babeltrace'
159 do-not-fingerprint: true
161 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
162 which-build: last-successful
165 target: 'deps/lttng-ust'
166 do-not-fingerprint: true
168 !include-raw-escape: scripts/lttng-tools/build.sh
170 # TODO: Scan for open tasks
173 results: 'tap/**/*.tap'
174 failed-tests-mark-build-as-failure: true
175 todo-is-failure: false
178 - 'GNU Make + GNU C Compiler (gcc)'
186 artifacts: 'build/**'
190 strategy: new-failure-and-fixed
191 matrix-notifier: only-parent
197 name: lttng-tools_{version}_cppcheck
198 defaults: lttng-tools
206 rm -f lttng-tools-cppcheck.xml
207 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
211 artifacts: 'lttng-tools-cppcheck.xml'
214 pattern: 'lttng-tools-cppcheck.xml'
216 recipients: 'ci-notification@lists.lttng.org'
217 notify-every-unstable-build: true
218 send-to-individuals: false
221 name: lttng-tools_{version}_scan-build
222 defaults: lttng-tools
231 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
232 which-build: last-successful
235 target: 'deps/liburcu'
236 do-not-fingerprint: true
238 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
239 which-build: last-successful
242 target: 'deps/lttng-ust'
243 do-not-fingerprint: true
245 !include-raw-escape: scripts/lttng-tools/scan-build.sh
250 dir: 'scan-build-archive/'
254 name: lttng-tools_{version}_coverity
255 defaults: lttng-tools
267 - credentials-binding:
268 - username-password-separated:
269 credential-id: lttng-tools_coverity_token
270 username: COVERITY_SCAN_PROJECT_NAME
271 password: COVERITY_SCAN_TOKEN
275 project: liburcu_master_build/arch=x86-64,conf=std,build=std
276 which-build: last-successful
279 target: 'deps/liburcu'
280 do-not-fingerprint: true
282 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
283 which-build: last-successful
286 target: 'deps/lttng-ust'
287 do-not-fingerprint: true
289 !include-raw-escape: scripts/common/coverity.sh
296 name: lttng-tools_{version}_pylint
297 defaults: lttng-tools
308 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
309 which-build: last-successful
312 target: 'deps/lttng-tools'
313 do-not-fingerprint: true
315 !include-raw-escape: scripts/lttng-tools/pylint.sh
319 artifacts: 'pep8.out,pylint.out'
332 recipients: 'ci-notification@lists.lttng.org'
333 notify-every-unstable-build: true
334 send-to-individuals: false
341 github_name: lttng-tools
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.4]
371 - 'lttng-tools_{version}_{buildtype}':
374 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
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.4]
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, java-agent, python-agent]
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, java-agent, python-agent]
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':