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
409 name: babeltrace_{version}_cppcheck
418 rm -f cppcheck-result.xml
419 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
423 artifacts: 'cppcheck-result.xml'
426 pattern: 'cppcheck-result.xml'
429 name: babeltrace_{version}_scan-build
439 !include-raw-escape: scripts/common/scan-build.sh
444 dir: 'scan-build-archive/'
448 name: babeltrace_{version}_coverity
461 - credentials-binding:
462 - username-password-separated:
463 credential-id: babeltrace_coverity_token
464 username: COVERITY_SCAN_PROJECT_NAME
465 password: COVERITY_SCAN_TOKEN
468 !include-raw-escape: scripts/common/coverity.sh
473 artifacts: 'analysis-results.tgz,cov-int/**'
477 name: babeltrace_{version}_pylint
489 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
490 which-build: last-successful
493 target: 'deps/babeltrace'
495 !include-raw-escape: scripts/babeltrace/pylint.sh
499 artifacts: 'pep8.out,pylint.out'
512 recipients: '{obj:email_to}'
513 reply-to: ci-notification@lists.lttng.org
522 second-failure: false
527 fixed-unhealthy: true
528 still-unstable: false
530 matrix-trigger: only-parent
534 # Use - in version number since yaml anchor do not support dot
535 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
536 name: 'babeltrace_version_glib_anchor'
542 properties-content: |
543 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
544 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
549 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
550 tar xvf glib-2.22.5.tar.gz
553 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
558 !include-raw-escape: scripts/babeltrace/build.sh
561 name: babeltrace_{version}_glib-2.22.5
565 <<: *babeltrace_version_glib-2-22-5_anchor
571 recipients: '{obj:email_to}'
572 reply-to: ci-notification@lists.lttng.org
581 second-failure: false
586 fixed-unhealthy: true
587 still-unstable: false
589 matrix-trigger: only-parent
594 name: dev_{user}_babeltrace_{version}_glib-2.22.5
595 <<: *babeltrace_version_glib-2-22-5_anchor
599 recipients: '{obj:email_to}'
600 reply-to: ci-notification@lists.lttng.org
609 second-failure: false
614 fixed-unhealthy: true
615 still-unstable: false
617 matrix-trigger: only-parent
626 regex: 'babeltrace[-_].*'
632 github_user: efficios
633 github_name: babeltrace
634 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
638 - 'babeltrace_{version}_{buildtype}':
640 arch: !!python/tuple [amd64]
641 build: !!python/tuple [std, oot, dist, oot-dist]
642 conf: !!python/tuple [std, static, python-bindings]
643 - 'babeltrace_{version}_{buildtype}':
645 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
646 build: !!python/tuple [std]
647 conf: !!python/tuple [std, python-bindings]
648 - 'babeltrace_{version}_{buildtype}':
650 arch: !!python/tuple [sles12sp2]
651 build: !!python/tuple [std]
652 conf: !!python/tuple [std]
653 version: # // support 1.3 on SLES12
656 - 'babeltrace_{version}_{buildtype}':
658 arch: !!python/tuple [el8]
659 build: !!python/tuple [std]
660 conf: !!python/tuple [std]
661 - 'babeltrace_{version}_{buildtype}':
662 buildtype: solarisbuild
663 arch: !!python/tuple [sol10-i386, sol11-i386]
664 build: !!python/tuple [std]
665 conf: !!python/tuple [std, static]
666 - 'babeltrace_{version}_{buildtype}':
667 buildtype: macosxbuild
668 arch: !!python/tuple [macosx]
669 build: !!python/tuple [std]
670 conf: !!python/tuple [std]
671 - 'babeltrace_{version}_{cctype}':
673 arch: !!python/tuple [amd64]
674 build: !!python/tuple [std]
675 conf: !!python/tuple [std, static]
676 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
677 - 'babeltrace_{version}_winbuild':
678 arch: !!python/tuple [cygwin, cygwin64]
679 build: !!python/tuple [std]
680 conf: !!python/tuple [std]
681 - 'babeltrace_{version}_cppcheck'
682 - 'babeltrace_{version}_scan-build'
683 - 'babeltrace_{version}_pylint'
687 github_user: efficios
688 github_name: babeltrace
689 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
694 - 'babeltrace_{version}_{buildtype}':
696 arch: !!python/tuple [amd64]
697 build: !!python/tuple [std, oot, dist, oot-dist]
698 conf: !!python/tuple [std, static, prod, min]
699 - 'babeltrace_{version}_{buildtype}':
701 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
702 build: !!python/tuple [std]
703 conf: !!python/tuple [std, prod]
704 - 'babeltrace_{version}_{buildtype}':
706 arch: !!python/tuple [sles12sp2]
707 build: !!python/tuple [std]
708 conf: !!python/tuple [std, prod]
709 - 'babeltrace_{version}_{buildtype}':
711 arch: !!python/tuple [el8]
712 build: !!python/tuple [std]
713 conf: !!python/tuple [std, prod]
714 - 'babeltrace_{version}_{buildtype}':
715 buildtype: macosxbuild
716 arch: !!python/tuple [macosx]
717 build: !!python/tuple [std]
718 conf: !!python/tuple [std, prod]
719 - 'babeltrace_{version}_{cctype}':
721 arch: !!python/tuple [amd64]
722 build: !!python/tuple [std]
723 conf: !!python/tuple [std, static, prod]
724 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
725 - 'babeltrace_{version}_winbuild':
726 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
727 build: !!python/tuple [std]
728 conf: !!python/tuple [std]
729 - 'babeltrace_{version}_cppcheck'
730 - 'babeltrace_{version}_scan-build'
731 - 'babeltrace_{version}_pylint'
732 - 'babeltrace_{version}_coverity':
734 - 'babeltrace_{version}_glib-2.22.5':
738 name: gerrit-babeltrace
739 github_user: efficios
740 github_name: babeltrace
742 - 'dev_gerrit_babeltrace_{buildtype}':
744 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
745 build: !!python/tuple [std, oot, dist, oot-dist]
746 conf: !!python/tuple [std, static, prod, min]
747 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
748 - 'dev_gerrit_babeltrace_{buildtype}':
749 buildtype: macosxbuild
750 arch: !!python/tuple [macosx]
751 build: !!python/tuple [std]
752 conf: !!python/tuple [std, prod]
754 - 'dev_gerrit_babeltrace_black'
758 name: babeltrace-jgalar-staging
761 github_name: babeltrace
762 email_to: "jgalar@efficios.com"
767 - 'dev_{user}_babeltrace_{version}_{buildtype}':
769 arch: !!python/tuple [amd64]
770 build: !!python/tuple [std, oot, dist, oot-dist]
771 conf: !!python/tuple [std, static, python-bindings]
772 - 'dev_{user}_babeltrace_{version}_{buildtype}':
773 buildtype: macosxbuild
774 version: # macOS support was introduced in 1.4
776 arch: !!python/tuple [macosx]
777 build: !!python/tuple [std]
778 conf: !!python/tuple [std]
782 name: babeltrace2-jgalar-staging
785 github_name: babeltrace
786 email_to: "jgalar@efficios.com"
791 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
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, prod, min]
799 - 'dev_{user}_babeltrace_{version}_{buildtype}':
800 buildtype: macosxbuild
801 arch: !!python/tuple [macosx]
802 build: !!python/tuple [std]
803 conf: !!python/tuple [std, prod]
806 name: babeltrace-views