4 The Babeltrace project provides trace read and write libraries, as well
5 as a trace converter. Plugins can be created for any trace format to
6 allow its conversion to/from another trace format.
8 The main format expected to be converted to/from is the Common Trace
9 Format (CTF). The default input format of the "babeltrace" command is
10 CTF, and its default output format is a human-readable text log. The
11 "babeltrace-log" command converts from a text log to a CTF trace.
13 <p>Job is managed by Jenkins Job Builder.</p>
15 project-type: freestyle
30 url: git://github.com/{github_user}/{github_name}.git
32 browser-url: https://github.com/{github_user}/{github_name}
35 basedir: src/babeltrace
45 PROJECT_NAME=babeltrace
49 url: https://github.com/{github_user}/{github_name}
53 - babeltrace_build_axes_defaults: &babeltrace_build_axes_defaults
54 name: 'babeltrace_build_axes_defaults'
56 node: 'master' # Applies only to matrix flyweight task
71 - babeltrace_build_axes_cc: &babeltrace_build_axes_cc
72 name: 'babeltrace_build_axes_cc'
74 node: 'master' # Applies only to matrix flyweight task
93 - babeltrace_build_builders_defaults: &babeltrace_build_builders_defaults
94 name: 'babeltrace_build_builders_defaults'
97 !include-raw-escape: scripts/babeltrace/build.sh
99 - babeltrace_build_builders_win: &babeltrace_build_builders_win
100 name: 'babeltrace_build_builders_win'
103 condition-kind: strings-match
104 on-evaluation-failure: run
105 condition-string1: '${{arch}}'
106 condition-string2: 'cygwin'
110 - scripts/common/cygwin-shebang
111 - scripts/common/cygwin-prefix
112 - scripts/babeltrace/build.sh
114 condition-kind: strings-match
115 on-evaluation-failure: run
116 condition-string1: '${{arch}}'
117 condition-string2: 'cygwin64'
121 - scripts/common/cygwin64-shebang
122 - scripts/common/cygwin-prefix
123 - scripts/babeltrace/build.sh
125 condition-kind: strings-match
126 on-evaluation-failure: run
127 condition-string1: '${{arch}}'
128 condition-string2: 'msys2-mingw32'
131 properties-content: 'MSYSTEM=MINGW32'
134 - scripts/common/msys2-shebang
135 - scripts/common/cygwin-prefix
136 - scripts/babeltrace/build.sh
138 condition-kind: strings-match
139 on-evaluation-failure: run
140 condition-string1: '${{arch}}'
141 condition-string2: 'msys2-mingw64'
144 properties-content: 'MSYSTEM=MINGW64'
147 - scripts/common/msys2-shebang
148 - scripts/common/cygwin-prefix
149 - scripts/babeltrace/build.sh
152 - babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev
153 name: 'babeltrace_build_publishers_dev'
156 results: 'tap/**/*.log'
157 failed-tests-mark-build-as-failure: true
158 todo-is-failure: false
161 - 'GNU Make + GNU C Compiler (gcc)'
172 recipients: '{obj:email_to}'
181 second-failure: false
186 fixed-unhealthy: true
187 still-unstable: false
189 matrix-trigger: only-parent
194 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
195 name: 'babeltrace_build_publishers_prod'
198 results: 'tap/**/*.log'
199 failed-tests-mark-build-as-failure: true
200 todo-is-failure: false
203 - 'GNU Make + GNU C Compiler (gcc)'
211 artifacts: 'build/**,tap/**'
214 recipients: '{obj:email_to}'
215 reply-to: ci-notification@lists.lttng.org
224 second-failure: false
229 fixed-unhealthy: true
230 still-unstable: false
232 matrix-trigger: only-parent
236 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
237 name: 'babeltrace_build_publishers_gerrit'
240 results: 'tap/**/*.log'
241 failed-tests-mark-build-as-failure: true
242 todo-is-failure: false
245 - 'GNU Make + GNU C Compiler (gcc)'
253 artifacts: 'build/**,tap/**'
260 name: babeltrace_{version}_{buildtype}
263 <<: *babeltrace_build_axes_defaults
264 <<: *babeltrace_build_builders_defaults
265 <<: *babeltrace_build_publishers_prod
268 name: babeltrace_{version}_{cctype}
271 <<: *babeltrace_build_axes_cc
272 <<: *babeltrace_build_builders_defaults
273 <<: *babeltrace_build_publishers_prod
276 name: babeltrace_{version}_winbuild
279 # Use jgit on windows to work around path too long error
282 url: git://github.com/{github_user}/{github_name}.git
284 browser-url: https://github.com/{github_user}/{github_name}
287 basedir: src/babeltrace
291 <<: *babeltrace_build_axes_defaults
292 <<: *babeltrace_build_builders_win
293 <<: *babeltrace_build_publishers_prod
296 name: dev_{user}_babeltrace_{version}_{buildtype}
299 <<: *babeltrace_build_axes_defaults
300 <<: *babeltrace_build_builders_defaults
301 <<: *babeltrace_build_publishers_dev
304 name: dev_gerrit_babeltrace_{buildtype}
310 url: https://review.lttng.org/babeltrace
311 refspec: 'refs/changes/*:refs/changes/*'
314 basedir: src/babeltrace
320 - comment-added-event:
321 approval-category: 'CI-Build'
324 - project-compare-type: 'PLAIN'
325 project-pattern: 'babeltrace'
327 - branch-compare-type: 'ANT'
329 trigger-for-unreviewed-patches: true
332 node: 'master' # Applies only to matrix flyweight task
334 combination-filter: |
335 (build=="std" && conf=="std") || (arch=="amd64")
348 values: '{obj:build}'
350 <<: *babeltrace_build_builders_defaults
351 <<: *babeltrace_build_publishers_gerrit
355 properties-content: |
356 PROJECT_NAME=babeltrace
360 url: https://github.com/{github_user}/{github_name}
363 name: babeltrace_{version}_cppcheck
372 rm -f cppcheck-result.xml
373 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
377 artifacts: 'cppcheck-result.xml'
380 pattern: 'cppcheck-result.xml'
383 name: babeltrace_{version}_scan-build
393 !include-raw-escape: scripts/common/scan-build.sh
398 dir: 'scan-build-archive/'
402 name: babeltrace_{version}_coverity
415 - credentials-binding:
416 - username-password-separated:
417 credential-id: babeltrace_coverity_token
418 username: COVERITY_SCAN_PROJECT_NAME
419 password: COVERITY_SCAN_TOKEN
422 !include-raw-escape: scripts/common/coverity.sh
427 artifacts: 'analysis-results.tgz,cov-int/**'
431 name: babeltrace_{version}_pylint
443 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
444 which-build: last-successful
447 target: 'deps/babeltrace'
449 !include-raw-escape: scripts/babeltrace/pylint.sh
453 artifacts: 'pep8.out,pylint.out'
466 recipients: '{obj:email_to}'
467 reply-to: ci-notification@lists.lttng.org
476 second-failure: false
481 fixed-unhealthy: true
482 still-unstable: false
484 matrix-trigger: only-parent
488 # Use - in version number since yaml anchor do not support dot
489 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
490 name: 'babeltrace_version_glib_anchor'
496 properties-content: |
497 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
498 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
503 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
504 tar xvf glib-2.22.5.tar.gz
507 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
512 !include-raw-escape: scripts/babeltrace/build.sh
515 name: babeltrace_{version}_glib-2.22.5
519 <<: *babeltrace_version_glib-2-22-5_anchor
525 recipients: '{obj:email_to}'
526 reply-to: ci-notification@lists.lttng.org
535 second-failure: false
540 fixed-unhealthy: true
541 still-unstable: false
543 matrix-trigger: only-parent
548 name: dev_{user}_babeltrace_{version}_glib-2.22.5
549 <<: *babeltrace_version_glib-2-22-5_anchor
553 recipients: '{obj:email_to}'
554 reply-to: ci-notification@lists.lttng.org
563 second-failure: false
568 fixed-unhealthy: true
569 still-unstable: false
571 matrix-trigger: only-parent
578 github_user: efficios
579 github_name: babeltrace
580 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
584 - 'babeltrace_{version}_{buildtype}':
586 arch: !!python/tuple [amd64]
587 build: !!python/tuple [std, oot, dist, oot-dist]
588 conf: !!python/tuple [std, static, python-bindings]
589 - 'babeltrace_{version}_{buildtype}':
591 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
592 build: !!python/tuple [std]
593 conf: !!python/tuple [std, python-bindings]
594 - 'babeltrace_{version}_{buildtype}':
596 arch: !!python/tuple [sles12sp2]
597 build: !!python/tuple [std]
598 conf: !!python/tuple [std]
599 version: # // support 1.3 on SLES12
602 - 'babeltrace_{version}_{buildtype}':
603 buildtype: solarisbuild
604 arch: !!python/tuple [sol10-i386, sol11-i386]
605 build: !!python/tuple [std]
606 conf: !!python/tuple [std, static]
607 - 'babeltrace_{version}_{buildtype}':
608 buildtype: macosxbuild
609 arch: !!python/tuple [macosx]
610 build: !!python/tuple [std]
611 conf: !!python/tuple [std, python-bindings]
612 - 'babeltrace_{version}_{cctype}':
614 arch: !!python/tuple [amd64]
615 build: !!python/tuple [std]
616 conf: !!python/tuple [std, static]
617 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
618 - 'babeltrace_{version}_winbuild':
619 arch: !!python/tuple [cygwin, cygwin64]
620 build: !!python/tuple [std]
621 conf: !!python/tuple [std]
622 - 'babeltrace_{version}_cppcheck'
623 - 'babeltrace_{version}_scan-build'
624 - 'babeltrace_{version}_pylint'
628 github_user: efficios
629 github_name: babeltrace
630 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
635 - 'babeltrace_{version}_{buildtype}':
637 arch: !!python/tuple [amd64]
638 build: !!python/tuple [std, oot, dist, oot-dist]
639 conf: !!python/tuple [std, static, prod, min]
640 - 'babeltrace_{version}_{buildtype}':
642 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
643 build: !!python/tuple [std]
644 conf: !!python/tuple [std, prod]
645 - 'babeltrace_{version}_{buildtype}':
647 arch: !!python/tuple [sles12sp2]
648 build: !!python/tuple [std]
649 conf: !!python/tuple [std, prod]
650 - 'babeltrace_{version}_{buildtype}':
651 buildtype: macosxbuild
652 arch: !!python/tuple [macosx]
653 build: !!python/tuple [std]
654 conf: !!python/tuple [std, prod]
655 - 'babeltrace_{version}_{cctype}':
657 arch: !!python/tuple [amd64]
658 build: !!python/tuple [std]
659 conf: !!python/tuple [std, static, prod]
660 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
661 - 'babeltrace_{version}_winbuild':
662 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
663 build: !!python/tuple [std]
664 conf: !!python/tuple [std]
665 - 'babeltrace_{version}_cppcheck'
666 - 'babeltrace_{version}_scan-build'
667 - 'babeltrace_{version}_pylint'
668 - 'babeltrace_{version}_coverity':
670 - 'babeltrace_{version}_glib-2.22.5':
674 name: babeltrace-jgalar-staging
677 github_name: babeltrace
678 email_to: "jgalar@efficios.com"
685 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
688 - 'dev_{user}_babeltrace_{version}_{buildtype}':
690 arch: !!python/tuple [amd64]
691 build: !!python/tuple [std, oot, dist, oot-dist]
692 conf: !!python/tuple [std, static, python-bindings]
693 - 'dev_{user}_babeltrace_{version}_{buildtype}':
694 buildtype: macosxbuild
695 version: # macOS support was introduced in 1.4
699 arch: !!python/tuple [macosx]
700 build: !!python/tuple [std]
701 conf: !!python/tuple [std]
705 name: gerrit-babeltrace
706 github_user: efficios
707 github_name: babeltrace
709 - 'dev_gerrit_babeltrace_{buildtype}':
711 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
712 build: !!python/tuple [std, oot, dist, oot-dist]
713 conf: !!python/tuple [std, static, prod, min]