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: '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'
309 trigger-for-unreviewed-patches: true
312 node: 'master' # Applies only to matrix flyweight task
314 combination-filter: |
328 values: '{obj:build}'
330 <<: *babeltrace_build_builders_defaults
331 <<: *babeltrace_build_publishers_gerrit
335 properties-content: |
336 PROJECT_NAME=babeltrace
342 - 'gerrit-{buildtype}'
345 name: dev_gerrit_babeltrace_winbuild
351 url: https://review.lttng.org/babeltrace
352 refspec: 'refs/changes/*:refs/changes/*'
355 basedir: src/babeltrace
361 - comment-added-event:
362 approval-category: 'CI-Build'
365 - project-compare-type: 'PLAIN'
366 project-pattern: 'babeltrace'
368 - branch-compare-type: 'ANT'
370 trigger-for-unreviewed-patches: true
374 properties-content: |
375 PROJECT_NAME=babeltrace
383 <<: *babeltrace_build_axes_defaults
384 <<: *babeltrace_build_builders_win
385 <<: *babeltrace_build_publishers_gerrit
388 name: dev_gerrit_babeltrace_pylint
394 url: https://review.lttng.org/babeltrace
395 refspec: 'refs/changes/*:refs/changes/*'
398 basedir: src/babeltrace
404 - comment-added-event:
405 approval-category: 'CI-Build'
408 - project-compare-type: 'PLAIN'
409 project-pattern: 'babeltrace'
411 - branch-compare-type: 'ANT'
413 trigger-for-unreviewed-patches: true
419 !include-raw-escape: scripts/babeltrace/pylint.sh
423 properties-content: |
424 PROJECT_NAME=babeltrace
429 name: babeltrace_{version}_cppcheck
438 rm -f cppcheck-result.xml
439 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
443 artifacts: 'cppcheck-result.xml'
446 pattern: 'cppcheck-result.xml'
449 name: babeltrace_{version}_scan-build
459 !include-raw-escape: scripts/common/scan-build.sh
464 dir: 'scan-build-archive/'
468 name: babeltrace_{version}_coverity
481 - credentials-binding:
482 - username-password-separated:
483 credential-id: babeltrace_coverity_token
484 username: COVERITY_SCAN_PROJECT_NAME
485 password: COVERITY_SCAN_TOKEN
488 !include-raw-escape: scripts/common/coverity.sh
493 artifacts: 'analysis-results.tgz,cov-int/**'
497 name: babeltrace_{version}_pylint
507 !include-raw-escape: scripts/babeltrace/pylint.sh
511 artifacts: 'black.out,flake8.out'
513 recipients: '{obj:email_to}'
514 reply-to: ci-notification@lists.lttng.org
523 second-failure: false
528 fixed-unhealthy: true
529 still-unstable: false
531 matrix-trigger: only-parent
535 # Use - in version number since yaml anchor do not support dot
536 - babeltrace_version_glib-2-28-6_anchor: &babeltrace_version_glib-2-28-6_anchor
537 name: 'babeltrace_version_glib_anchor'
543 properties-content: |
544 LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib
545 PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig
550 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz
551 tar xvf glib-2.28.6.tar.gz
554 ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT
559 !include-raw-escape: scripts/babeltrace/build.sh
562 name: babeltrace_{version}_glib-2.28.6
566 <<: *babeltrace_version_glib-2-28-6_anchor
572 recipients: '{obj:email_to}'
573 reply-to: ci-notification@lists.lttng.org
582 second-failure: false
587 fixed-unhealthy: true
588 still-unstable: false
590 matrix-trigger: only-parent
595 name: dev_{user}_babeltrace_{version}_glib-2.28.6
596 <<: *babeltrace_version_glib-2-28-6_anchor
600 recipients: '{obj:email_to}'
601 reply-to: ci-notification@lists.lttng.org
610 second-failure: false
615 fixed-unhealthy: true
616 still-unstable: false
618 matrix-trigger: only-parent
627 regex: 'babeltrace[-_].*'
633 github_user: efficios
634 github_name: babeltrace
635 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
639 - 'babeltrace_{version}_{buildtype}':
641 arch: !!python/tuple [amd64]
642 build: !!python/tuple [std, oot, dist, oot-dist]
643 conf: !!python/tuple [std, static, python-bindings]
644 - 'babeltrace_{version}_{buildtype}':
646 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
647 build: !!python/tuple [std]
648 conf: !!python/tuple [std, python-bindings]
649 - 'babeltrace_{version}_{buildtype}':
651 arch: !!python/tuple [sles12sp2]
652 build: !!python/tuple [std]
653 conf: !!python/tuple [std]
654 - 'babeltrace_{version}_{buildtype}':
656 arch: !!python/tuple [el8]
657 build: !!python/tuple [std]
658 conf: !!python/tuple [std]
659 - 'babeltrace_{version}_{buildtype}':
660 buildtype: solarisbuild
661 arch: !!python/tuple [sol10-i386, sol11-i386]
662 build: !!python/tuple [std]
663 conf: !!python/tuple [std, static]
664 - 'babeltrace_{version}_{buildtype}':
665 buildtype: macosxbuild
666 arch: !!python/tuple [macosx]
667 build: !!python/tuple [std]
668 conf: !!python/tuple [std]
669 - 'babeltrace_{version}_{cctype}':
671 arch: !!python/tuple [amd64]
672 build: !!python/tuple [std]
673 conf: !!python/tuple [std, static]
674 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
675 - 'babeltrace_{version}_winbuild':
676 arch: !!python/tuple [cygwin64]
677 build: !!python/tuple [std]
678 conf: !!python/tuple [std]
679 - 'babeltrace_{version}_cppcheck'
680 - 'babeltrace_{version}_scan-build'
684 github_user: efficios
685 github_name: babeltrace
686 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
691 - 'babeltrace_{version}_{buildtype}':
693 arch: !!python/tuple [amd64]
694 build: !!python/tuple [std, oot, dist, oot-dist]
695 conf: !!python/tuple [std, static, prod, min]
696 - 'babeltrace_{version}_{buildtype}':
698 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
699 build: !!python/tuple [std]
700 conf: !!python/tuple [std, prod]
701 - 'babeltrace_{version}_{buildtype}':
703 arch: !!python/tuple [sles12sp2]
704 build: !!python/tuple [std]
705 conf: !!python/tuple [std, prod]
706 - 'babeltrace_{version}_{buildtype}':
708 arch: !!python/tuple [el8]
709 build: !!python/tuple [std]
710 conf: !!python/tuple [std, prod]
711 - 'babeltrace_{version}_{buildtype}':
712 buildtype: macosxbuild
713 arch: !!python/tuple [macosx]
714 build: !!python/tuple [std]
715 conf: !!python/tuple [std, prod]
716 - 'babeltrace_{version}_{cctype}':
718 arch: !!python/tuple [amd64]
719 build: !!python/tuple [std]
720 conf: !!python/tuple [std, static, prod]
721 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
722 - 'babeltrace_{version}_winbuild':
723 arch: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64]
724 build: !!python/tuple [std]
725 conf: !!python/tuple [std]
726 - 'babeltrace_{version}_cppcheck'
727 - 'babeltrace_{version}_scan-build'
728 - 'babeltrace_{version}_pylint'
729 - 'babeltrace_{version}_coverity':
731 - 'babeltrace_{version}_glib-2.28.6':
735 name: gerrit-babeltrace
736 github_user: efficios
737 github_name: babeltrace
739 - 'dev_gerrit_babeltrace_{buildtype}':
741 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
742 build: !!python/tuple [std, oot, dist, oot-dist]
743 conf: !!python/tuple [std, static, prod, min]
744 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
745 - 'dev_gerrit_babeltrace_{buildtype}':
746 buildtype: macosxbuild
747 arch: !!python/tuple [macosx]
748 build: !!python/tuple [std]
749 conf: !!python/tuple [std, prod]
751 - 'dev_gerrit_babeltrace_winbuild':
752 arch: !!python/tuple [cygwin64, msys2-mingw64]
753 build: !!python/tuple [std]
754 conf: !!python/tuple [std]
755 - 'dev_gerrit_babeltrace_pylint'
759 name: babeltrace-jgalar-staging
762 github_name: babeltrace
763 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 arch: !!python/tuple [macosx]
775 build: !!python/tuple [std]
776 conf: !!python/tuple [std]
780 name: babeltrace2-jgalar-staging
783 github_name: babeltrace
784 email_to: "jgalar@efficios.com"
789 - 'dev_{user}_babeltrace_{version}_glib-2.28.6':
792 - 'dev_{user}_babeltrace_{version}_{buildtype}':
794 arch: !!python/tuple [amd64]
795 build: !!python/tuple [std, oot, dist, oot-dist]
796 conf: !!python/tuple [std, static, prod, min]
797 - 'dev_{user}_babeltrace_{version}_{buildtype}':
798 buildtype: macosxbuild
799 arch: !!python/tuple [macosx]
800 build: !!python/tuple [std]
801 conf: !!python/tuple [std, prod]
804 name: babeltrace-views