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'
98 - scripts/common/print.sh
99 - scripts/babeltrace/build.sh
101 - babeltrace_build_builders_win: &babeltrace_build_builders_win
102 name: 'babeltrace_build_builders_win'
105 condition-kind: strings-match
106 on-evaluation-failure: run
107 condition-string1: '${{arch}}'
108 condition-string2: 'cygwin64'
112 - scripts/common/cygwin64-shebang
113 - scripts/common/cygpath-prefix
114 - scripts/common/print.sh
115 - scripts/babeltrace/build.sh
117 condition-kind: strings-match
118 on-evaluation-failure: run
119 condition-string1: '${{arch}}'
120 condition-string2: 'msys2-mingw32'
123 properties-content: 'MSYSTEM=MINGW32'
126 - scripts/common/msys2-shebang
127 - scripts/common/cygpath-prefix
128 - scripts/common/print.sh
129 - scripts/babeltrace/build.sh
131 condition-kind: strings-match
132 on-evaluation-failure: run
133 condition-string1: '${{arch}}'
134 condition-string2: 'msys2-mingw64'
137 properties-content: 'MSYSTEM=MINGW64'
140 - scripts/common/msys2-shebang
141 - scripts/common/cygpath-prefix
142 - scripts/common/print.sh
143 - scripts/babeltrace/build.sh
146 - babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev
147 name: 'babeltrace_build_publishers_dev'
150 results: 'tap/**/*.log'
151 fail-if-no-results: true
152 failed-tests-mark-build-as-failure: true
153 todo-is-failure: false
156 - 'GNU Make + GNU C Compiler (gcc)'
167 recipients: '{obj:email_to}'
176 second-failure: false
181 fixed-unhealthy: true
182 still-unstable: false
184 matrix-trigger: only-parent
189 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
190 name: 'babeltrace_build_publishers_prod'
193 results: 'tap/**/*.log'
194 fail-if-no-results: true
195 failed-tests-mark-build-as-failure: true
196 todo-is-failure: false
199 - 'GNU Make + GNU C Compiler (gcc)'
207 artifacts: 'build/**,tap/**'
210 recipients: '{obj:email_to}'
211 reply-to: ci-notification@lists.lttng.org
220 second-failure: false
225 fixed-unhealthy: true
226 still-unstable: false
228 matrix-trigger: only-parent
232 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
233 name: 'babeltrace_build_publishers_gerrit'
236 results: 'tap/**/*.log'
237 fail-if-no-results: true
238 failed-tests-mark-build-as-failure: true
239 todo-is-failure: false
242 - 'GNU Make + GNU C Compiler (gcc)'
250 artifacts: 'build/**,tap/**'
257 name: babeltrace_{version}_{buildtype}
260 <<: *babeltrace_build_axes_defaults
261 <<: *babeltrace_build_builders_defaults
262 <<: *babeltrace_build_publishers_prod
265 name: babeltrace_{version}_{cctype}
268 <<: *babeltrace_build_axes_cc
269 <<: *babeltrace_build_builders_defaults
270 <<: *babeltrace_build_publishers_prod
273 name: babeltrace_{version}_winbuild
276 <<: *babeltrace_build_axes_defaults
277 <<: *babeltrace_build_builders_win
278 <<: *babeltrace_build_publishers_prod
281 name: dev_{user}_babeltrace_{version}_{buildtype}
284 <<: *babeltrace_build_axes_defaults
285 <<: *babeltrace_build_builders_defaults
286 <<: *babeltrace_build_publishers_dev
289 name: dev_gerrit_babeltrace_{buildtype}
295 url: https://review.lttng.org/babeltrace
296 refspec: 'refs/changes/*:refs/changes/*'
299 basedir: src/babeltrace
305 - comment-added-event:
306 approval-category: 'CI-Build'
309 - project-compare-type: 'PLAIN'
310 project-pattern: 'babeltrace'
312 - branch-compare-type: 'ANT'
316 node: 'master' # Applies only to matrix flyweight task
318 combination-filter: |
332 values: '{obj:build}'
334 <<: *babeltrace_build_builders_defaults
335 <<: *babeltrace_build_publishers_gerrit
339 properties-content: |
340 PROJECT_NAME=babeltrace
346 - 'gerrit-{buildtype}'
349 name: dev_gerrit_babeltrace_winbuild
355 url: https://review.lttng.org/babeltrace
356 refspec: 'refs/changes/*:refs/changes/*'
359 basedir: src/babeltrace
365 - comment-added-event:
366 approval-category: 'CI-Build'
369 - project-compare-type: 'PLAIN'
370 project-pattern: 'babeltrace'
372 - branch-compare-type: 'ANT'
377 properties-content: |
378 PROJECT_NAME=babeltrace
386 <<: *babeltrace_build_axes_defaults
387 <<: *babeltrace_build_builders_win
388 <<: *babeltrace_build_publishers_gerrit
391 name: babeltrace_{version}_release
401 url: https://github.com/{github_user}/{github_name}.git
403 browser-url: https://github.com/{github_user}/{github_name}
404 refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
406 - '*/tags/{version}.*'
407 basedir: src/babeltrace
411 !include-raw-escape: scripts/babeltrace/release.sh
415 results: 'tap/**/*.log'
416 fail-if-no-results: true
417 failed-tests-mark-build-as-failure: true
418 todo-is-failure: false
421 - 'GNU Make + GNU C Compiler (gcc)'
432 artifacts: 'out/**,tap/**'
436 name: dev_gerrit_babeltrace_pylint
442 url: https://review.lttng.org/babeltrace
443 refspec: 'refs/changes/*:refs/changes/*'
446 basedir: src/babeltrace
452 - comment-added-event:
453 approval-category: 'CI-Build'
456 - project-compare-type: 'PLAIN'
457 project-pattern: 'babeltrace'
459 - branch-compare-type: 'ANT'
466 !include-raw-escape: scripts/babeltrace/pylint.sh
470 properties-content: |
471 PROJECT_NAME=babeltrace
476 name: babeltrace_{version}_cppcheck
485 rm -f cppcheck-result.xml
486 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
490 artifacts: 'cppcheck-result.xml'
493 pattern: 'cppcheck-result.xml'
496 name: babeltrace_{version}_scan-build
506 !include-raw-escape: scripts/common/scan-build.sh
511 dir: 'scan-build-archive/'
515 name: babeltrace_{version}_coverity
528 - credentials-binding:
529 - username-password-separated:
530 credential-id: babeltrace_coverity_token
531 username: COVERITY_SCAN_PROJECT_NAME
532 password: COVERITY_SCAN_TOKEN
535 !include-raw-escape: scripts/common/coverity.sh
540 artifacts: 'analysis-results.tgz,cov-int/**'
544 name: babeltrace_{version}_pylint
554 !include-raw-escape: scripts/babeltrace/pylint.sh
558 artifacts: 'black.out,flake8.out'
560 recipients: '{obj:email_to}'
561 reply-to: ci-notification@lists.lttng.org
570 second-failure: false
575 fixed-unhealthy: true
576 still-unstable: false
578 matrix-trigger: only-parent
582 # Use - in version number since yaml anchor do not support dot
583 - babeltrace_version_glib-2-28-6_anchor: &babeltrace_version_glib-2-28-6_anchor
584 name: 'babeltrace_version_glib_anchor'
590 properties-content: |
591 LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib
592 PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig
597 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz
598 tar xvf glib-2.28.6.tar.gz
601 ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT
607 - scripts/common/print.sh
608 - scripts/babeltrace/build.sh
611 name: babeltrace_{version}_glib-2.28.6
615 <<: *babeltrace_version_glib-2-28-6_anchor
621 recipients: '{obj:email_to}'
622 reply-to: ci-notification@lists.lttng.org
631 second-failure: false
636 fixed-unhealthy: true
637 still-unstable: false
639 matrix-trigger: only-parent
644 name: dev_{user}_babeltrace_{version}_glib-2.28.6
645 <<: *babeltrace_version_glib-2-28-6_anchor
649 recipients: '{obj:email_to}'
650 reply-to: ci-notification@lists.lttng.org
659 second-failure: false
664 fixed-unhealthy: true
665 still-unstable: false
667 matrix-trigger: only-parent
676 regex: 'babeltrace[-_].*'
682 github_user: efficios
683 github_name: babeltrace
684 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
688 - '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 - 'babeltrace_{version}_{buildtype}':
695 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
696 build: !!python/tuple [std]
697 conf: !!python/tuple [std, python-bindings]
698 - 'babeltrace_{version}_{buildtype}':
700 arch: !!python/tuple [sles12sp5]
701 build: !!python/tuple [std]
702 conf: !!python/tuple [std]
703 - 'babeltrace_{version}_{buildtype}':
705 arch: !!python/tuple [el8]
706 build: !!python/tuple [std]
707 conf: !!python/tuple [std]
708 - 'babeltrace_{version}_{buildtype}':
709 buildtype: macosbuild
710 arch: !!python/tuple [macos-amd64, macos-arm64]
711 build: !!python/tuple [std]
712 conf: !!python/tuple [std]
713 - 'babeltrace_{version}_{buildtype}':
714 buildtype: freebsdbuild
715 arch: !!python/tuple [freebsd]
716 build: !!python/tuple [std]
717 conf: !!python/tuple [std]
718 - 'babeltrace_{version}_{cctype}':
720 arch: !!python/tuple [amd64]
721 build: !!python/tuple [std]
722 conf: !!python/tuple [std, static]
723 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
724 - 'babeltrace_{version}_winbuild':
725 arch: !!python/tuple [cygwin64]
726 build: !!python/tuple [std]
727 conf: !!python/tuple [std]
728 - 'babeltrace_{version}_release':
730 - 'babeltrace_{version}_cppcheck'
731 - 'babeltrace_{version}_scan-build'
735 github_user: efficios
736 github_name: babeltrace
737 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
742 - 'babeltrace_{version}_{buildtype}':
744 arch: !!python/tuple [amd64]
745 build: !!python/tuple [std, oot, dist, oot-dist]
746 conf: !!python/tuple [std, static, prod, min]
747 - 'babeltrace_{version}_{buildtype}':
749 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
750 build: !!python/tuple [std]
751 conf: !!python/tuple [std, prod]
752 - 'babeltrace_{version}_{buildtype}':
754 arch: !!python/tuple [sles12sp5]
755 build: !!python/tuple [std]
756 conf: !!python/tuple [std, prod]
757 - 'babeltrace_{version}_{buildtype}':
759 arch: !!python/tuple [el8]
760 build: !!python/tuple [std]
761 conf: !!python/tuple [std, prod]
762 - 'babeltrace_{version}_{buildtype}':
763 buildtype: macosbuild
764 arch: !!python/tuple [macos-amd64, macos-arm64]
765 build: !!python/tuple [std]
766 conf: !!python/tuple [std, prod]
767 - 'babeltrace_{version}_{buildtype}':
768 buildtype: freebsdbuild
769 arch: !!python/tuple [freebsd]
770 build: !!python/tuple [std]
771 conf: !!python/tuple [std, prod]
772 - 'babeltrace_{version}_{cctype}':
774 arch: !!python/tuple [amd64]
775 build: !!python/tuple [std]
776 conf: !!python/tuple [std, static, prod]
777 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
778 - 'babeltrace_{version}_winbuild':
779 arch: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64]
780 build: !!python/tuple [std]
781 conf: !!python/tuple [std]
782 - 'babeltrace_{version}_release':
784 - 'babeltrace_{version}_cppcheck'
785 - 'babeltrace_{version}_scan-build'
786 - 'babeltrace_{version}_pylint'
787 - 'babeltrace_{version}_coverity':
789 - 'babeltrace_{version}_glib-2.28.6':
793 name: gerrit-babeltrace
794 github_user: efficios
795 github_name: babeltrace
797 - 'dev_gerrit_babeltrace_{buildtype}':
799 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
800 build: !!python/tuple [std, oot, dist, oot-dist]
801 conf: !!python/tuple [std, static, prod, min]
802 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
803 - 'dev_gerrit_babeltrace_{buildtype}':
804 buildtype: macosbuild
805 arch: !!python/tuple [macos-amd64, macos-arm64]
806 build: !!python/tuple [std]
807 conf: !!python/tuple [std, prod]
809 - 'dev_gerrit_babeltrace_winbuild':
810 arch: !!python/tuple [cygwin64, msys2-mingw64]
811 build: !!python/tuple [std]
812 conf: !!python/tuple [std]
813 - 'dev_gerrit_babeltrace_pylint'
817 name: babeltrace-jgalar-staging
820 github_name: babeltrace
821 email_to: "jgalar@efficios.com"
825 - 'dev_{user}_babeltrace_{version}_{buildtype}':
827 arch: !!python/tuple [amd64]
828 build: !!python/tuple [std, oot, dist, oot-dist]
829 conf: !!python/tuple [std, static, python-bindings]
830 - 'dev_{user}_babeltrace_{version}_{buildtype}':
831 buildtype: macosbuild
832 arch: !!python/tuple [macos-amd64, macos-arm64]
833 build: !!python/tuple [std]
834 conf: !!python/tuple [std]
838 name: babeltrace2-jgalar-staging
841 github_name: babeltrace
842 email_to: "jgalar@efficios.com"
847 - 'dev_{user}_babeltrace_{version}_glib-2.28.6':
850 - 'dev_{user}_babeltrace_{version}_{buildtype}':
852 arch: !!python/tuple [amd64]
853 build: !!python/tuple [std, oot, dist, oot-dist]
854 conf: !!python/tuple [std, static, prod, min]
855 - 'dev_{user}_babeltrace_{version}_{buildtype}':
856 buildtype: macosbuild
857 arch: !!python/tuple [macos-amd64, macos-arm64]
858 build: !!python/tuple [std]
859 conf: !!python/tuple [std, prod]
862 name: babeltrace-views