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 fail-if-no-results: true
158 failed-tests-mark-build-as-failure: true
159 todo-is-failure: false
162 - 'GNU Make + GNU C Compiler (gcc)'
173 recipients: '{obj:email_to}'
182 second-failure: false
187 fixed-unhealthy: true
188 still-unstable: false
190 matrix-trigger: only-parent
195 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
196 name: 'babeltrace_build_publishers_prod'
199 results: 'tap/**/*.log'
200 fail-if-no-results: true
201 failed-tests-mark-build-as-failure: true
202 todo-is-failure: false
205 - 'GNU Make + GNU C Compiler (gcc)'
213 artifacts: 'build/**,tap/**'
216 recipients: '{obj:email_to}'
217 reply-to: ci-notification@lists.lttng.org
226 second-failure: false
231 fixed-unhealthy: true
232 still-unstable: false
234 matrix-trigger: only-parent
238 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
239 name: 'babeltrace_build_publishers_gerrit'
242 results: 'tap/**/*.log'
243 fail-if-no-results: true
244 failed-tests-mark-build-as-failure: true
245 todo-is-failure: false
248 - 'GNU Make + GNU C Compiler (gcc)'
256 artifacts: 'build/**,tap/**'
263 name: babeltrace_{version}_{buildtype}
266 <<: *babeltrace_build_axes_defaults
267 <<: *babeltrace_build_builders_defaults
268 <<: *babeltrace_build_publishers_prod
271 name: babeltrace_{version}_{cctype}
274 <<: *babeltrace_build_axes_cc
275 <<: *babeltrace_build_builders_defaults
276 <<: *babeltrace_build_publishers_prod
279 name: babeltrace_{version}_winbuild
282 # Use jgit on windows to work around path too long error
285 url: git://github.com/{github_user}/{github_name}.git
287 browser-url: https://github.com/{github_user}/{github_name}
290 basedir: src/babeltrace
294 <<: *babeltrace_build_axes_defaults
295 <<: *babeltrace_build_builders_win
296 <<: *babeltrace_build_publishers_prod
299 name: dev_{user}_babeltrace_{version}_{buildtype}
302 <<: *babeltrace_build_axes_defaults
303 <<: *babeltrace_build_builders_defaults
304 <<: *babeltrace_build_publishers_dev
307 name: dev_gerrit_babeltrace_{buildtype}
313 url: https://review.lttng.org/babeltrace
314 refspec: 'refs/changes/*:refs/changes/*'
317 basedir: src/babeltrace
323 - comment-added-event:
324 approval-category: 'CI-Build'
327 - project-compare-type: 'PLAIN'
328 project-pattern: 'babeltrace'
330 - branch-compare-type: 'ANT'
332 trigger-for-unreviewed-patches: true
335 node: 'master' # Applies only to matrix flyweight task
337 combination-filter: |
351 values: '{obj:build}'
353 <<: *babeltrace_build_builders_defaults
354 <<: *babeltrace_build_publishers_gerrit
358 properties-content: |
359 PROJECT_NAME=babeltrace
368 name: dev_gerrit_babeltrace_winbuild
374 url: https://review.lttng.org/babeltrace
375 refspec: 'refs/changes/*:refs/changes/*'
378 basedir: src/babeltrace
384 - comment-added-event:
385 approval-category: 'CI-Build'
388 - project-compare-type: 'PLAIN'
389 project-pattern: 'babeltrace'
391 - branch-compare-type: 'ANT'
393 trigger-for-unreviewed-patches: true
397 properties-content: |
398 PROJECT_NAME=babeltrace
406 <<: *babeltrace_build_axes_defaults
407 <<: *babeltrace_build_builders_win
408 <<: *babeltrace_build_publishers_gerrit
411 name: dev_gerrit_babeltrace_pylint
417 url: https://review.lttng.org/babeltrace
418 refspec: 'refs/changes/*:refs/changes/*'
421 basedir: src/babeltrace
427 - comment-added-event:
428 approval-category: 'CI-Build'
431 - project-compare-type: 'PLAIN'
432 project-pattern: 'babeltrace'
434 - branch-compare-type: 'ANT'
436 trigger-for-unreviewed-patches: true
442 !include-raw-escape: scripts/babeltrace/pylint.sh
446 properties-content: |
447 PROJECT_NAME=babeltrace
452 name: babeltrace_{version}_cppcheck
461 rm -f cppcheck-result.xml
462 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
466 artifacts: 'cppcheck-result.xml'
469 pattern: 'cppcheck-result.xml'
472 name: babeltrace_{version}_scan-build
482 !include-raw-escape: scripts/common/scan-build.sh
487 dir: 'scan-build-archive/'
491 name: babeltrace_{version}_coverity
504 - credentials-binding:
505 - username-password-separated:
506 credential-id: babeltrace_coverity_token
507 username: COVERITY_SCAN_PROJECT_NAME
508 password: COVERITY_SCAN_TOKEN
511 !include-raw-escape: scripts/common/coverity.sh
516 artifacts: 'analysis-results.tgz,cov-int/**'
520 name: babeltrace_{version}_pylint
530 !include-raw-escape: scripts/babeltrace/pylint.sh
534 artifacts: 'black.out,flake8.out'
536 recipients: '{obj:email_to}'
537 reply-to: ci-notification@lists.lttng.org
546 second-failure: false
551 fixed-unhealthy: true
552 still-unstable: false
554 matrix-trigger: only-parent
558 # Use - in version number since yaml anchor do not support dot
559 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
560 name: 'babeltrace_version_glib_anchor'
566 properties-content: |
567 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
568 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
573 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
574 tar xvf glib-2.22.5.tar.gz
577 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
582 !include-raw-escape: scripts/babeltrace/build.sh
585 name: babeltrace_{version}_glib-2.22.5
589 <<: *babeltrace_version_glib-2-22-5_anchor
595 recipients: '{obj:email_to}'
596 reply-to: ci-notification@lists.lttng.org
605 second-failure: false
610 fixed-unhealthy: true
611 still-unstable: false
613 matrix-trigger: only-parent
618 name: dev_{user}_babeltrace_{version}_glib-2.22.5
619 <<: *babeltrace_version_glib-2-22-5_anchor
623 recipients: '{obj:email_to}'
624 reply-to: ci-notification@lists.lttng.org
633 second-failure: false
638 fixed-unhealthy: true
639 still-unstable: false
641 matrix-trigger: only-parent
650 regex: 'babeltrace[-_].*'
656 github_user: efficios
657 github_name: babeltrace
658 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
662 - 'babeltrace_{version}_{buildtype}':
664 arch: !!python/tuple [amd64]
665 build: !!python/tuple [std, oot, dist, oot-dist]
666 conf: !!python/tuple [std, static, python-bindings]
667 - 'babeltrace_{version}_{buildtype}':
669 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
670 build: !!python/tuple [std]
671 conf: !!python/tuple [std, python-bindings]
672 - 'babeltrace_{version}_{buildtype}':
674 arch: !!python/tuple [sles12sp2]
675 build: !!python/tuple [std]
676 conf: !!python/tuple [std]
677 version: # // support 1.3 on SLES12
680 - 'babeltrace_{version}_{buildtype}':
682 arch: !!python/tuple [el8]
683 build: !!python/tuple [std]
684 conf: !!python/tuple [std]
685 - 'babeltrace_{version}_{buildtype}':
686 buildtype: solarisbuild
687 arch: !!python/tuple [sol10-i386, sol11-i386]
688 build: !!python/tuple [std]
689 conf: !!python/tuple [std, static]
690 - 'babeltrace_{version}_{buildtype}':
691 buildtype: macosxbuild
692 arch: !!python/tuple [macosx]
693 build: !!python/tuple [std]
694 conf: !!python/tuple [std]
695 - 'babeltrace_{version}_{cctype}':
697 arch: !!python/tuple [amd64]
698 build: !!python/tuple [std]
699 conf: !!python/tuple [std, static]
700 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
701 - 'babeltrace_{version}_winbuild':
702 arch: !!python/tuple [cygwin, cygwin64]
703 build: !!python/tuple [std]
704 conf: !!python/tuple [std]
705 - 'babeltrace_{version}_cppcheck'
706 - 'babeltrace_{version}_scan-build'
710 github_user: efficios
711 github_name: babeltrace
712 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
717 - 'babeltrace_{version}_{buildtype}':
719 arch: !!python/tuple [amd64]
720 build: !!python/tuple [std, oot, dist, oot-dist]
721 conf: !!python/tuple [std, static, prod, min]
722 - 'babeltrace_{version}_{buildtype}':
724 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
725 build: !!python/tuple [std]
726 conf: !!python/tuple [std, prod]
727 - 'babeltrace_{version}_{buildtype}':
729 arch: !!python/tuple [sles12sp2]
730 build: !!python/tuple [std]
731 conf: !!python/tuple [std, prod]
732 - 'babeltrace_{version}_{buildtype}':
734 arch: !!python/tuple [el8]
735 build: !!python/tuple [std]
736 conf: !!python/tuple [std, prod]
737 - 'babeltrace_{version}_{buildtype}':
738 buildtype: macosxbuild
739 arch: !!python/tuple [macosx]
740 build: !!python/tuple [std]
741 conf: !!python/tuple [std, prod]
742 - 'babeltrace_{version}_{cctype}':
744 arch: !!python/tuple [amd64]
745 build: !!python/tuple [std]
746 conf: !!python/tuple [std, static, prod]
747 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
748 - 'babeltrace_{version}_winbuild':
749 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
750 build: !!python/tuple [std]
751 conf: !!python/tuple [std]
752 - 'babeltrace_{version}_cppcheck'
753 - 'babeltrace_{version}_scan-build'
754 - 'babeltrace_{version}_pylint'
755 - 'babeltrace_{version}_coverity':
757 - 'babeltrace_{version}_glib-2.22.5':
761 name: gerrit-babeltrace
762 github_user: efficios
763 github_name: babeltrace
765 - 'dev_gerrit_babeltrace_{buildtype}':
767 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
768 build: !!python/tuple [std, oot, dist, oot-dist]
769 conf: !!python/tuple [std, static, prod, min]
770 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
771 - 'dev_gerrit_babeltrace_{buildtype}':
772 buildtype: macosxbuild
773 arch: !!python/tuple [macosx]
774 build: !!python/tuple [std]
775 conf: !!python/tuple [std, prod]
777 - 'dev_gerrit_babeltrace_winbuild':
778 arch: !!python/tuple [cygwin64, msys2-mingw64]
779 build: !!python/tuple [std]
780 conf: !!python/tuple [std]
781 - 'dev_gerrit_babeltrace_pylint'
785 name: babeltrace-jgalar-staging
788 github_name: babeltrace
789 email_to: "jgalar@efficios.com"
794 - 'dev_{user}_babeltrace_{version}_{buildtype}':
796 arch: !!python/tuple [amd64]
797 build: !!python/tuple [std, oot, dist, oot-dist]
798 conf: !!python/tuple [std, static, python-bindings]
799 - 'dev_{user}_babeltrace_{version}_{buildtype}':
800 buildtype: macosxbuild
801 version: # macOS support was introduced in 1.4
803 arch: !!python/tuple [macosx]
804 build: !!python/tuple [std]
805 conf: !!python/tuple [std]
809 name: babeltrace2-jgalar-staging
812 github_name: babeltrace
813 email_to: "jgalar@efficios.com"
818 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
821 - 'dev_{user}_babeltrace_{version}_{buildtype}':
823 arch: !!python/tuple [amd64]
824 build: !!python/tuple [std, oot, dist, oot-dist]
825 conf: !!python/tuple [std, static, prod, min]
826 - 'dev_{user}_babeltrace_{version}_{buildtype}':
827 buildtype: macosxbuild
828 arch: !!python/tuple [macosx]
829 build: !!python/tuple [std]
830 conf: !!python/tuple [std, prod]
833 name: babeltrace-views