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/{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 condition-kind: regex-match
87 on-evaluation-failure: run
90 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
91 which-build: last-successful
94 target: 'deps/liburcu'
95 do-not-fingerprint: true
97 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
98 which-build: last-successful
101 target: 'deps/babeltrace'
102 do-not-fingerprint: true
104 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
105 which-build: last-successful
108 target: 'deps/lttng-ust'
109 do-not-fingerprint: true
111 condition-kind: regex-match
113 regex: (python-bindings|no-ust)
114 on-evaluation-failure: run
117 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
118 which-build: last-successful
121 target: 'deps/liburcu'
122 do-not-fingerprint: true
124 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
125 which-build: last-successful
128 target: 'deps/babeltrace'
129 do-not-fingerprint: true
131 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
132 which-build: last-successful
135 target: 'deps/lttng-ust'
136 do-not-fingerprint: true
138 condition-kind: regex-match
140 regex: (java-agent|python-agent)
141 on-evaluation-failure: run
144 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
145 which-build: last-successful
148 target: 'deps/liburcu'
149 do-not-fingerprint: true
151 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
152 which-build: last-successful
155 target: 'deps/babeltrace'
156 do-not-fingerprint: true
158 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
159 which-build: last-successful
162 target: 'deps/lttng-ust'
163 do-not-fingerprint: true
165 !include-raw-escape: scripts/lttng-tools/build.sh
167 # TODO: Scan for open tasks
170 results: 'tap/**/*.tap'
171 failed-tests-mark-build-as-failure: true
172 todo-is-failure: false
175 - 'GNU Make + GNU C Compiler (gcc)'
183 artifacts: 'build/**'
187 strategy: new-failure-and-fixed
188 matrix-notifier: only-parent
194 name: lttng-tools_{version}_cppcheck
195 defaults: lttng-tools
203 rm -f lttng-tools-cppcheck.xml
204 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
208 artifacts: 'lttng-tools-cppcheck.xml'
211 pattern: 'lttng-tools-cppcheck.xml'
213 recipients: 'ci-notification@lists.lttng.org'
214 notify-every-unstable-build: true
215 send-to-individuals: false
218 name: lttng-tools_{version}_scan-build
219 defaults: lttng-tools
228 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
229 which-build: last-successful
232 target: 'deps/liburcu'
233 do-not-fingerprint: true
235 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
236 which-build: last-successful
239 target: 'deps/lttng-ust'
240 do-not-fingerprint: true
242 !include-raw-escape: scripts/lttng-tools/scan-build.sh
247 dir: 'scan-build-archive/'
251 name: lttng-tools_{version}_coverity
252 defaults: lttng-tools
264 - credentials-binding:
265 - username-password-separated:
266 credential-id: lttng-tools_coverity_token
267 username: COVERITY_SCAN_PROJECT_NAME
268 password: COVERITY_SCAN_TOKEN
272 project: liburcu_master_build/arch=x86-64,conf=std,build=std
273 which-build: last-successful
276 target: 'deps/liburcu'
277 do-not-fingerprint: true
279 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
280 which-build: last-successful
283 target: 'deps/lttng-ust'
284 do-not-fingerprint: true
286 !include-raw-escape: scripts/common/coverity.sh
293 name: lttng-tools_{version}_pylint
294 defaults: lttng-tools
305 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
306 which-build: last-successful
309 target: 'deps/lttng-tools'
310 do-not-fingerprint: true
312 !include-raw-escape: scripts/lttng-tools/pylint.sh
316 artifacts: 'pep8.out,pylint.out'
329 recipients: 'ci-notification@lists.lttng.org'
330 notify-every-unstable-build: true
331 send-to-individuals: false
338 github_name: lttng-tools
340 !include: jobs/inc/lttng-tools-versions.yaml.inc
342 - 'lttng-tools_{version}_{buildtype}':
345 arch: !!python/tuple [x86-32, x86-64]
346 build: !!python/tuple [std, oot, dist]
347 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
348 urcuversion: !!python/tuple [master]
349 babelversion: !!python/tuple [master]
350 - 'lttng-tools_{version}_{buildtype}':
353 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
354 build: !!python/tuple [std]
355 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
356 urcuversion: !!python/tuple [master]
357 babelversion: !!python/tuple [master]
358 - 'lttng-tools_{version}_{buildtype}':
361 arch: !!python/tuple [x86-32, x86-64]
362 build: !!python/tuple [std, oot, dist]
363 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
364 urcuversion: !!python/tuple [stable-0.9]
365 babelversion: !!python/tuple [stable-1.3]
366 - 'lttng-tools_{version}_{buildtype}':
369 arch: !!python/tuple [armhf, arm64, powerpc]
370 build: !!python/tuple [std]
371 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
372 urcuversion: !!python/tuple [stable-0.9]
373 babelversion: !!python/tuple [stable-1.3]
374 - 'lttng-tools_{version}_{buildtype}':
377 arch: !!python/tuple [x86-32, x86-64]
378 build: !!python/tuple [std, oot, dist]
379 conf: !!python/tuple [std, no-ust, python-bindings]
380 urcuversion: !!python/tuple [stable-0.9]
381 babelversion: !!python/tuple [stable-1.3]
382 - 'lttng-tools_{version}_{buildtype}':
385 arch: !!python/tuple [armhf, arm64, powerpc]
386 build: !!python/tuple [std]
387 conf: !!python/tuple [std, no-ust, python-bindings]
388 urcuversion: !!python/tuple [stable-0.9]
389 babelversion: !!python/tuple [stable-1.3]
390 - 'lttng-tools_{version}_cppcheck'
391 - 'lttng-tools_{version}_scan-build':
394 - 'lttng-tools_{version}_scan-build':
396 urcuversion: stable-0.9
397 - 'lttng-tools_{version}_scan-build':
399 urcuversion: stable-0.9
400 #- 'lttng-tools_{version}_pylint'
401 - 'lttng-tools_{version}_coverity':