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_black
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
399 !include-raw-escape: scripts/babeltrace/black.sh
403 properties-content: |
404 PROJECT_NAME=babeltrace
413 name: babeltrace_{version}_cppcheck
422 rm -f cppcheck-result.xml
423 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
427 artifacts: 'cppcheck-result.xml'
430 pattern: 'cppcheck-result.xml'
433 name: babeltrace_{version}_scan-build
443 !include-raw-escape: scripts/common/scan-build.sh
448 dir: 'scan-build-archive/'
452 name: babeltrace_{version}_coverity
465 - credentials-binding:
466 - username-password-separated:
467 credential-id: babeltrace_coverity_token
468 username: COVERITY_SCAN_PROJECT_NAME
469 password: COVERITY_SCAN_TOKEN
472 !include-raw-escape: scripts/common/coverity.sh
477 artifacts: 'analysis-results.tgz,cov-int/**'
481 name: babeltrace_{version}_pylint
493 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
494 which-build: last-successful
497 target: 'deps/babeltrace'
499 !include-raw-escape: scripts/babeltrace/pylint.sh
503 artifacts: 'pep8.out,pylint.out'
516 recipients: '{obj:email_to}'
517 reply-to: ci-notification@lists.lttng.org
526 second-failure: false
531 fixed-unhealthy: true
532 still-unstable: false
534 matrix-trigger: only-parent
538 # Use - in version number since yaml anchor do not support dot
539 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
540 name: 'babeltrace_version_glib_anchor'
546 properties-content: |
547 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
548 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
553 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
554 tar xvf glib-2.22.5.tar.gz
557 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
562 !include-raw-escape: scripts/babeltrace/build.sh
565 name: babeltrace_{version}_glib-2.22.5
569 <<: *babeltrace_version_glib-2-22-5_anchor
575 recipients: '{obj:email_to}'
576 reply-to: ci-notification@lists.lttng.org
585 second-failure: false
590 fixed-unhealthy: true
591 still-unstable: false
593 matrix-trigger: only-parent
598 name: dev_{user}_babeltrace_{version}_glib-2.22.5
599 <<: *babeltrace_version_glib-2-22-5_anchor
603 recipients: '{obj:email_to}'
604 reply-to: ci-notification@lists.lttng.org
613 second-failure: false
618 fixed-unhealthy: true
619 still-unstable: false
621 matrix-trigger: only-parent
630 regex: 'babeltrace[-_].*'
636 github_user: efficios
637 github_name: babeltrace
638 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
642 - 'babeltrace_{version}_{buildtype}':
644 arch: !!python/tuple [amd64]
645 build: !!python/tuple [std, oot, dist, oot-dist]
646 conf: !!python/tuple [std, static, python-bindings]
647 - 'babeltrace_{version}_{buildtype}':
649 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
650 build: !!python/tuple [std]
651 conf: !!python/tuple [std, python-bindings]
652 - 'babeltrace_{version}_{buildtype}':
654 arch: !!python/tuple [sles12sp2]
655 build: !!python/tuple [std]
656 conf: !!python/tuple [std]
657 version: # // support 1.3 on SLES12
660 - 'babeltrace_{version}_{buildtype}':
661 buildtype: solarisbuild
662 arch: !!python/tuple [sol10-i386, sol11-i386]
663 build: !!python/tuple [std]
664 conf: !!python/tuple [std, static]
665 - 'babeltrace_{version}_{buildtype}':
666 buildtype: macosxbuild
667 arch: !!python/tuple [macosx]
668 build: !!python/tuple [std]
669 conf: !!python/tuple [std]
670 - 'babeltrace_{version}_{cctype}':
672 arch: !!python/tuple [amd64]
673 build: !!python/tuple [std]
674 conf: !!python/tuple [std, static]
675 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
676 - 'babeltrace_{version}_winbuild':
677 arch: !!python/tuple [cygwin, cygwin64]
678 build: !!python/tuple [std]
679 conf: !!python/tuple [std]
680 - 'babeltrace_{version}_cppcheck'
681 - 'babeltrace_{version}_scan-build'
682 - 'babeltrace_{version}_pylint'
686 github_user: efficios
687 github_name: babeltrace
688 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
693 - 'babeltrace_{version}_{buildtype}':
695 arch: !!python/tuple [amd64]
696 build: !!python/tuple [std, oot, dist, oot-dist]
697 conf: !!python/tuple [std, static, prod, min]
698 - 'babeltrace_{version}_{buildtype}':
700 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
701 build: !!python/tuple [std]
702 conf: !!python/tuple [std, prod]
703 - 'babeltrace_{version}_{buildtype}':
705 arch: !!python/tuple [sles12sp2]
706 build: !!python/tuple [std]
707 conf: !!python/tuple [std, prod]
708 - 'babeltrace_{version}_{buildtype}':
709 buildtype: macosxbuild
710 arch: !!python/tuple [macosx]
711 build: !!python/tuple [std]
712 conf: !!python/tuple [std, prod]
713 - 'babeltrace_{version}_{cctype}':
715 arch: !!python/tuple [amd64]
716 build: !!python/tuple [std]
717 conf: !!python/tuple [std, static, prod]
718 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
719 - 'babeltrace_{version}_winbuild':
720 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
721 build: !!python/tuple [std]
722 conf: !!python/tuple [std]
723 - 'babeltrace_{version}_cppcheck'
724 - 'babeltrace_{version}_scan-build'
725 - 'babeltrace_{version}_pylint'
726 - 'babeltrace_{version}_coverity':
728 - 'babeltrace_{version}_glib-2.22.5':
732 name: gerrit-babeltrace
733 github_user: efficios
734 github_name: babeltrace
736 - 'dev_gerrit_babeltrace_{buildtype}':
738 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
739 build: !!python/tuple [std, oot, dist, oot-dist]
740 conf: !!python/tuple [std, static, prod, min]
741 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
742 - 'dev_gerrit_babeltrace_{buildtype}':
743 buildtype: macosxbuild
744 arch: !!python/tuple [macosx]
745 build: !!python/tuple [std]
746 conf: !!python/tuple [std, prod]
748 - 'dev_gerrit_babeltrace_black'
752 name: babeltrace-jgalar-staging
755 github_name: babeltrace
756 email_to: "jgalar@efficios.com"
761 - 'dev_{user}_babeltrace_{version}_{buildtype}':
763 arch: !!python/tuple [amd64]
764 build: !!python/tuple [std, oot, dist, oot-dist]
765 conf: !!python/tuple [std, static, python-bindings]
766 - 'dev_{user}_babeltrace_{version}_{buildtype}':
767 buildtype: macosxbuild
768 version: # macOS support was introduced in 1.4
770 arch: !!python/tuple [macosx]
771 build: !!python/tuple [std]
772 conf: !!python/tuple [std]
776 name: babeltrace2-jgalar-staging
779 github_name: babeltrace
780 email_to: "jgalar@efficios.com"
785 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
788 - 'dev_{user}_babeltrace_{version}_{buildtype}':
790 arch: !!python/tuple [amd64]
791 build: !!python/tuple [std, oot, dist, oot-dist]
792 conf: !!python/tuple [std, static, prod, min]
793 - 'dev_{user}_babeltrace_{version}_{buildtype}':
794 buildtype: macosxbuild
795 arch: !!python/tuple [macosx]
796 build: !!python/tuple [std]
797 conf: !!python/tuple [std, prod]
800 name: babeltrace-views