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: https://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: 'cygwin64'
110 - scripts/common/cygwin64-shebang
111 - scripts/common/cygpath-prefix
112 - scripts/babeltrace/build.sh
114 condition-kind: strings-match
115 on-evaluation-failure: run
116 condition-string1: '${{arch}}'
117 condition-string2: 'msys2-mingw32'
120 properties-content: 'MSYSTEM=MINGW32'
123 - scripts/common/msys2-shebang
124 - scripts/common/cygpath-prefix
125 - scripts/babeltrace/build.sh
127 condition-kind: strings-match
128 on-evaluation-failure: run
129 condition-string1: '${{arch}}'
130 condition-string2: 'msys2-mingw64'
133 properties-content: 'MSYSTEM=MINGW64'
136 - scripts/common/msys2-shebang
137 - scripts/common/cygpath-prefix
138 - scripts/babeltrace/build.sh
141 - babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev
142 name: 'babeltrace_build_publishers_dev'
145 results: 'tap/**/*.log'
146 fail-if-no-results: true
147 failed-tests-mark-build-as-failure: true
148 todo-is-failure: false
151 - 'GNU Make + GNU C Compiler (gcc)'
162 recipients: '{obj:email_to}'
171 second-failure: false
176 fixed-unhealthy: true
177 still-unstable: false
179 matrix-trigger: only-parent
184 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
185 name: 'babeltrace_build_publishers_prod'
188 results: 'tap/**/*.log'
189 fail-if-no-results: true
190 failed-tests-mark-build-as-failure: true
191 todo-is-failure: false
194 - 'GNU Make + GNU C Compiler (gcc)'
202 artifacts: 'build/**,tap/**'
205 recipients: '{obj:email_to}'
206 reply-to: ci-notification@lists.lttng.org
215 second-failure: false
220 fixed-unhealthy: true
221 still-unstable: false
223 matrix-trigger: only-parent
227 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
228 name: 'babeltrace_build_publishers_gerrit'
231 results: 'tap/**/*.log'
232 fail-if-no-results: true
233 failed-tests-mark-build-as-failure: true
234 todo-is-failure: false
237 - 'GNU Make + GNU C Compiler (gcc)'
245 artifacts: 'build/**,tap/**'
252 name: babeltrace_{version}_{buildtype}
255 <<: *babeltrace_build_axes_defaults
256 <<: *babeltrace_build_builders_defaults
257 <<: *babeltrace_build_publishers_prod
260 name: babeltrace_{version}_{cctype}
263 <<: *babeltrace_build_axes_cc
264 <<: *babeltrace_build_builders_defaults
265 <<: *babeltrace_build_publishers_prod
268 name: babeltrace_{version}_winbuild
271 <<: *babeltrace_build_axes_defaults
272 <<: *babeltrace_build_builders_win
273 <<: *babeltrace_build_publishers_prod
276 name: dev_{user}_babeltrace_{version}_{buildtype}
279 <<: *babeltrace_build_axes_defaults
280 <<: *babeltrace_build_builders_defaults
281 <<: *babeltrace_build_publishers_dev
284 name: dev_gerrit_babeltrace_{buildtype}
290 url: https://review.lttng.org/babeltrace
291 refspec: 'refs/changes/*:refs/changes/*'
294 basedir: src/babeltrace
300 - comment-added-event:
301 approval-category: 'CI-Build'
304 - project-compare-type: 'PLAIN'
305 project-pattern: 'babeltrace'
307 - branch-compare-type: 'ANT'
311 node: 'master' # Applies only to matrix flyweight task
313 combination-filter: |
327 values: '{obj:build}'
329 <<: *babeltrace_build_builders_defaults
330 <<: *babeltrace_build_publishers_gerrit
334 properties-content: |
335 PROJECT_NAME=babeltrace
341 - 'gerrit-{buildtype}'
344 name: dev_gerrit_babeltrace_winbuild
350 url: https://review.lttng.org/babeltrace
351 refspec: 'refs/changes/*:refs/changes/*'
354 basedir: src/babeltrace
360 - comment-added-event:
361 approval-category: 'CI-Build'
364 - project-compare-type: 'PLAIN'
365 project-pattern: 'babeltrace'
367 - branch-compare-type: 'ANT'
372 properties-content: |
373 PROJECT_NAME=babeltrace
381 <<: *babeltrace_build_axes_defaults
382 <<: *babeltrace_build_builders_win
383 <<: *babeltrace_build_publishers_gerrit
386 name: babeltrace_{version}_release
396 url: https://github.com/{github_user}/{github_name}.git
398 browser-url: https://github.com/{github_user}/{github_name}
399 refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
401 - '*/tags/{version}.*'
402 basedir: src/babeltrace
406 !include-raw-escape: scripts/babeltrace/release.sh
410 results: 'tap/**/*.log'
411 fail-if-no-results: true
412 failed-tests-mark-build-as-failure: true
413 todo-is-failure: false
416 - 'GNU Make + GNU C Compiler (gcc)'
427 artifacts: 'out/**,tap/**'
431 name: dev_gerrit_babeltrace_pylint
437 url: https://review.lttng.org/babeltrace
438 refspec: 'refs/changes/*:refs/changes/*'
441 basedir: src/babeltrace
447 - comment-added-event:
448 approval-category: 'CI-Build'
451 - project-compare-type: 'PLAIN'
452 project-pattern: 'babeltrace'
454 - branch-compare-type: 'ANT'
461 !include-raw-escape: scripts/babeltrace/pylint.sh
465 properties-content: |
466 PROJECT_NAME=babeltrace
471 name: babeltrace_{version}_cppcheck
480 rm -f cppcheck-result.xml
481 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
485 artifacts: 'cppcheck-result.xml'
488 pattern: 'cppcheck-result.xml'
491 name: babeltrace_{version}_scan-build
501 !include-raw-escape: scripts/common/scan-build.sh
506 dir: 'scan-build-archive/'
510 name: babeltrace_{version}_coverity
523 - credentials-binding:
524 - username-password-separated:
525 credential-id: babeltrace_coverity_token
526 username: COVERITY_SCAN_PROJECT_NAME
527 password: COVERITY_SCAN_TOKEN
530 !include-raw-escape: scripts/common/coverity.sh
535 artifacts: 'analysis-results.tgz,cov-int/**'
539 name: babeltrace_{version}_pylint
549 !include-raw-escape: scripts/babeltrace/pylint.sh
553 artifacts: 'black.out,flake8.out'
555 recipients: '{obj:email_to}'
556 reply-to: ci-notification@lists.lttng.org
565 second-failure: false
570 fixed-unhealthy: true
571 still-unstable: false
573 matrix-trigger: only-parent
577 # Use - in version number since yaml anchor do not support dot
578 - babeltrace_version_glib-2-28-6_anchor: &babeltrace_version_glib-2-28-6_anchor
579 name: 'babeltrace_version_glib_anchor'
585 properties-content: |
586 LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib
587 PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig
592 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz
593 tar xvf glib-2.28.6.tar.gz
596 ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT
601 !include-raw-escape: scripts/babeltrace/build.sh
604 name: babeltrace_{version}_glib-2.28.6
608 <<: *babeltrace_version_glib-2-28-6_anchor
614 recipients: '{obj:email_to}'
615 reply-to: ci-notification@lists.lttng.org
624 second-failure: false
629 fixed-unhealthy: true
630 still-unstable: false
632 matrix-trigger: only-parent
637 name: dev_{user}_babeltrace_{version}_glib-2.28.6
638 <<: *babeltrace_version_glib-2-28-6_anchor
642 recipients: '{obj:email_to}'
643 reply-to: ci-notification@lists.lttng.org
652 second-failure: false
657 fixed-unhealthy: true
658 still-unstable: false
660 matrix-trigger: only-parent
669 regex: 'babeltrace[-_].*'
675 github_user: efficios
676 github_name: babeltrace
677 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
681 - 'babeltrace_{version}_{buildtype}':
683 arch: !!python/tuple [amd64]
684 build: !!python/tuple [std, oot, dist, oot-dist]
685 conf: !!python/tuple [std, static, python-bindings]
686 - 'babeltrace_{version}_{buildtype}':
688 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
689 build: !!python/tuple [std]
690 conf: !!python/tuple [std, python-bindings]
691 - 'babeltrace_{version}_{buildtype}':
693 arch: !!python/tuple [sles12sp2]
694 build: !!python/tuple [std]
695 conf: !!python/tuple [std]
696 - 'babeltrace_{version}_{buildtype}':
698 arch: !!python/tuple [el8]
699 build: !!python/tuple [std]
700 conf: !!python/tuple [std]
701 - 'babeltrace_{version}_{buildtype}':
702 buildtype: solarisbuild
703 arch: !!python/tuple [sol10-i386, sol11-i386]
704 build: !!python/tuple [std]
705 conf: !!python/tuple [std, static]
706 - 'babeltrace_{version}_{buildtype}':
707 buildtype: macosxbuild
708 arch: !!python/tuple [macosx]
709 build: !!python/tuple [std]
710 conf: !!python/tuple [std]
711 - 'babeltrace_{version}_{cctype}':
713 arch: !!python/tuple [amd64]
714 build: !!python/tuple [std]
715 conf: !!python/tuple [std, static]
716 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
717 - 'babeltrace_{version}_winbuild':
718 arch: !!python/tuple [cygwin64]
719 build: !!python/tuple [std]
720 conf: !!python/tuple [std]
721 - 'babeltrace_{version}_release':
723 - 'babeltrace_{version}_cppcheck'
724 - 'babeltrace_{version}_scan-build'
728 github_user: efficios
729 github_name: babeltrace
730 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
735 - 'babeltrace_{version}_{buildtype}':
737 arch: !!python/tuple [amd64]
738 build: !!python/tuple [std, oot, dist, oot-dist]
739 conf: !!python/tuple [std, static, prod, min]
740 - 'babeltrace_{version}_{buildtype}':
742 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
743 build: !!python/tuple [std]
744 conf: !!python/tuple [std, prod]
745 - 'babeltrace_{version}_{buildtype}':
747 arch: !!python/tuple [sles12sp2]
748 build: !!python/tuple [std]
749 conf: !!python/tuple [std, prod]
750 - 'babeltrace_{version}_{buildtype}':
752 arch: !!python/tuple [el8]
753 build: !!python/tuple [std]
754 conf: !!python/tuple [std, prod]
755 - 'babeltrace_{version}_{buildtype}':
756 buildtype: macosxbuild
757 arch: !!python/tuple [macosx]
758 build: !!python/tuple [std]
759 conf: !!python/tuple [std, prod]
760 - 'babeltrace_{version}_{cctype}':
762 arch: !!python/tuple [amd64]
763 build: !!python/tuple [std]
764 conf: !!python/tuple [std, static, prod]
765 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
766 - 'babeltrace_{version}_winbuild':
767 arch: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64]
768 build: !!python/tuple [std]
769 conf: !!python/tuple [std]
770 - 'babeltrace_{version}_release':
772 - 'babeltrace_{version}_cppcheck'
773 - 'babeltrace_{version}_scan-build'
774 - 'babeltrace_{version}_pylint'
775 - 'babeltrace_{version}_coverity':
777 - 'babeltrace_{version}_glib-2.28.6':
781 name: gerrit-babeltrace
782 github_user: efficios
783 github_name: babeltrace
785 - 'dev_gerrit_babeltrace_{buildtype}':
787 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
788 build: !!python/tuple [std, oot, dist, oot-dist]
789 conf: !!python/tuple [std, static, prod, min]
790 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
791 - 'dev_gerrit_babeltrace_{buildtype}':
792 buildtype: macosxbuild
793 arch: !!python/tuple [macosx]
794 build: !!python/tuple [std]
795 conf: !!python/tuple [std, prod]
797 - 'dev_gerrit_babeltrace_winbuild':
798 arch: !!python/tuple [cygwin64, msys2-mingw64]
799 build: !!python/tuple [std]
800 conf: !!python/tuple [std]
801 - 'dev_gerrit_babeltrace_pylint'
805 name: babeltrace-jgalar-staging
808 github_name: babeltrace
809 email_to: "jgalar@efficios.com"
813 - 'dev_{user}_babeltrace_{version}_{buildtype}':
815 arch: !!python/tuple [amd64]
816 build: !!python/tuple [std, oot, dist, oot-dist]
817 conf: !!python/tuple [std, static, python-bindings]
818 - 'dev_{user}_babeltrace_{version}_{buildtype}':
819 buildtype: macosxbuild
820 arch: !!python/tuple [macosx]
821 build: !!python/tuple [std]
822 conf: !!python/tuple [std]
826 name: babeltrace2-jgalar-staging
829 github_name: babeltrace
830 email_to: "jgalar@efficios.com"
835 - 'dev_{user}_babeltrace_{version}_glib-2.28.6':
838 - 'dev_{user}_babeltrace_{version}_{buildtype}':
840 arch: !!python/tuple [amd64]
841 build: !!python/tuple [std, oot, dist, oot-dist]
842 conf: !!python/tuple [std, static, prod, min]
843 - 'dev_{user}_babeltrace_{version}_{buildtype}':
844 buildtype: macosxbuild
845 arch: !!python/tuple [macosx]
846 build: !!python/tuple [std]
847 conf: !!python/tuple [std, prod]
850 name: babeltrace-views