4 LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is a
5 port of the low-overhead tracing capabilities of the LTTng kernel tracer
6 to user-space. The library "liblttng-ust" enables tracing of
7 applications and libraries.
9 <p>Job is managed by Jenkins Job Builder.</p>
11 project-type: freestyle
20 url: https://github.com/{github_user}/{github_name}.git
22 browser-url: https://github.com/{github_user}/{github_name}
25 basedir: src/lttng-ust
35 PROJECT_NAME=lttng-ust
39 url: https://github.com/{github_user}/{github_name}
43 - lttng-ust_build_axes_defaults: <tng-ust_build_axes_defaults
44 name: 'lttng-ust_build_axes_defaults'
46 node: 'master' # Applies only to matrix flyweight task
48 combination-filter: '{filter}'
61 values: '{obj:liburcu_version}'
67 - lttng-ust_build_builders_defaults: <tng-ust_build_builders_defaults
68 name: 'lttng-ust_build_builders_defaults'
71 condition-kind: regex-match
74 on-evaluation-failure: run
77 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
78 which-build: last-successful
82 do-not-fingerprint: true
85 condition-kind: regex-match
88 on-evaluation-failure: run
91 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
92 which-build: last-successful
96 do-not-fingerprint: true
98 condition-kind: regex-match
100 regex: (tls_fallback)
101 on-evaluation-failure: run
104 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=tls_fallback,build=std
105 which-build: last-successful
109 do-not-fingerprint: true
112 - scripts/common/print.sh
113 - scripts/lttng-ust/build.sh
118 name: lttng-ust_{version}_{buildtype}
121 <<: *lttng-ust_build_axes_defaults
122 <<: *lttng-ust_build_builders_defaults
124 # TODO: Scan for open tasks
127 results: 'tap/**/*.log'
128 fail-if-no-results: true
129 failed-tests-mark-build-as-failure: true
130 todo-is-failure: false
133 - 'GNU Make + GNU C Compiler (gcc)'
141 artifacts: 'build/**,tap/**'
145 recipients: '{obj:email_to}'
146 reply-to: ci-notification@lists.lttng.org
155 second-failure: false
160 fixed-unhealthy: true
161 still-unstable: false
163 matrix-trigger: only-parent
168 name: dev_gerrit_lttng-ust_{buildtype}
174 url: https://review.lttng.org/lttng-ust
175 refspec: 'refs/changes/*:refs/changes/*'
178 basedir: src/lttng-ust
184 - comment-added-event:
185 approval-category: 'CI-Build'
188 - project-compare-type: 'PLAIN'
189 project-pattern: 'lttng-ust'
191 - branch-compare-type: 'ANT'
194 <<: *lttng-ust_build_axes_defaults
195 <<: *lttng-ust_build_builders_defaults
199 properties-content: |
200 PROJECT_NAME=lttng-ust
206 - 'gerrit-{buildtype}'
210 results: 'tap/**/*.log'
211 fail-if-no-results: true
212 failed-tests-mark-build-as-failure: true
213 todo-is-failure: false
216 - 'GNU Make + GNU C Compiler (gcc)'
224 artifacts: 'build/**,tap/**'
229 name: lttng-ust_{version}_cppcheck
238 rm -f cppcheck-result.xml
239 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> cppcheck-result.xml
243 artifacts: 'cppcheck-result.xml'
246 pattern: 'cppcheck-result.xml'
248 recipients: 'ci-notification@lists.lttng.org'
249 notify-every-unstable-build: true
250 send-to-individuals: false
253 name: lttng-ust_{version}_scan-build
263 project: liburcu_master_build/arch=amd64,conf=std,build=std
264 which-build: last-successful
268 do-not-fingerprint: true
270 !include-raw-escape: scripts/common/scan-build.sh
275 dir: 'scan-build-archive/'
279 name: lttng-ust_{version}_coverity
292 - credentials-binding:
293 - username-password-separated:
294 credential-id: lttng-ust_coverity_token
295 username: COVERITY_SCAN_PROJECT_NAME
296 password: COVERITY_SCAN_TOKEN
300 project: liburcu_master_build/arch=amd64,conf=std,build=std
301 which-build: last-successful
305 do-not-fingerprint: true
307 !include-raw-escape: scripts/common/coverity.sh
312 artifacts: 'analysis-results.tgz,cov-int/**'
320 regex: 'lttng-ust[-_].*'
327 github_name: lttng-ust
328 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
333 - 'lttng-ust_{version}_{buildtype}':
335 arch: !!python/tuple [amd64]
336 build: !!python/tuple [std, dist, oot, oot-dist]
337 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
338 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
339 filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))'
340 - 'lttng-ust_{version}_{buildtype}':
342 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
343 build: !!python/tuple [std]
344 conf: !!python/tuple [std, agents]
345 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
347 - 'lttng-ust_{version}_{buildtype}':
349 arch: !!python/tuple [sles12sp5]
350 build: !!python/tuple [std]
351 conf: !!python/tuple [agents]
352 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
354 - 'lttng-ust_{version}_{buildtype}':
356 arch: !!python/tuple [el8]
357 build: !!python/tuple [std]
358 conf: !!python/tuple [std]
359 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
361 - 'lttng-ust_{version}_cppcheck'
362 - 'lttng-ust_{version}_scan-build'
365 - 'lttng-ust_{version}_{buildtype}':
368 arch: !!python/tuple [amd64]
369 build: !!python/tuple [std, dist, oot, oot-dist]
370 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
371 liburcu_version: !!python/tuple [stable-0.12, master]
372 filter: '(build=="std") || ((liburcu_version=="master" && (conf=="std" || conf=="agents")))'
373 - 'lttng-ust_{version}_{buildtype}':
376 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
377 build: !!python/tuple [std]
378 conf: !!python/tuple [std, agents]
379 liburcu_version: !!python/tuple [stable-0.12, master]
381 - 'lttng-ust_{version}_{buildtype}':
384 arch: !!python/tuple [sles12sp5]
385 build: !!python/tuple [std]
386 conf: !!python/tuple [agents]
387 liburcu_version: !!python/tuple [stable-0.12, master]
389 - 'lttng-ust_{version}_{buildtype}':
392 arch: !!python/tuple [el8]
393 build: !!python/tuple [std]
394 conf: !!python/tuple [std]
395 liburcu_version: !!python/tuple [stable-0.12, master]
397 - 'lttng-ust_{version}_{buildtype}':
398 buildtype: freebsdbuild
400 arch: !!python/tuple [freebsd]
401 build: !!python/tuple [std]
402 conf: !!python/tuple [agents]
403 liburcu_version: !!python/tuple [stable-0.12, master]
405 - 'lttng-ust_{version}_cppcheck':
407 - 'lttng-ust_{version}_scan-build':
409 - 'lttng-ust_{version}_coverity':
413 - 'lttng-ust_{version}_{buildtype}':
416 arch: !!python/tuple [amd64]
417 build: !!python/tuple [std, dist, oot, oot-dist]
418 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
419 liburcu_version: !!python/tuple [stable-0.12, master]
420 filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))'
421 - 'lttng-ust_{version}_{buildtype}':
424 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
425 build: !!python/tuple [std]
426 conf: !!python/tuple [std, agents]
427 liburcu_version: !!python/tuple [stable-0.12, master]
429 - 'lttng-ust_{version}_{buildtype}':
432 arch: !!python/tuple [sles12sp5]
433 build: !!python/tuple [std]
434 conf: !!python/tuple [agents]
435 liburcu_version: !!python/tuple [stable-0.12, master]
437 - 'lttng-ust_{version}_{buildtype}':
440 arch: !!python/tuple [el8]
441 build: !!python/tuple [std]
442 conf: !!python/tuple [std]
443 liburcu_version: !!python/tuple [stable-0.12, master]
445 - 'lttng-ust_{version}_cppcheck':
447 - 'lttng-ust_{version}_scan-build':
451 - 'lttng-ust_{version}_{buildtype}':
454 arch: !!python/tuple [sles12sp5]
455 build: !!python/tuple [std]
456 conf: !!python/tuple [agents]
457 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
461 - 'lttng-ust_{version}_{buildtype}':
464 arch: !!python/tuple [sles12sp5]
465 build: !!python/tuple [std]
466 conf: !!python/tuple [agents]
467 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
472 name: gerrit-lttng-ust
474 github_name: lttng-ust
476 - 'dev_gerrit_lttng-ust_{buildtype}':
478 arch: !!python/tuple [amd64]
479 build: !!python/tuple [std, oot, dist, oot-dist]
480 conf: !!python/tuple [std, agents]
481 liburcu_version: !!python/tuple [stable-0.12]
483 - 'dev_gerrit_lttng-ust_{buildtype}':
485 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
486 build: !!python/tuple [std]
487 conf: !!python/tuple [agents]
488 liburcu_version: !!python/tuple [stable-0.12]
492 name: lttng-ust-views