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 version: # // support 1.3 on SLES12
657 - 'babeltrace_{version}_{buildtype}':
659 arch: !!python/tuple [el8]
660 build: !!python/tuple [std]
661 conf: !!python/tuple [std]
662 - 'babeltrace_{version}_{buildtype}':
663 buildtype: solarisbuild
664 arch: !!python/tuple [sol10-i386, sol11-i386]
665 build: !!python/tuple [std]
666 conf: !!python/tuple [std, static]
667 - 'babeltrace_{version}_{buildtype}':
668 buildtype: macosxbuild
669 arch: !!python/tuple [macosx]
670 build: !!python/tuple [std]
671 conf: !!python/tuple [std]
672 - 'babeltrace_{version}_{cctype}':
674 arch: !!python/tuple [amd64]
675 build: !!python/tuple [std]
676 conf: !!python/tuple [std, static]
677 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
678 - 'babeltrace_{version}_winbuild':
679 arch: !!python/tuple [cygwin64]
680 build: !!python/tuple [std]
681 conf: !!python/tuple [std]
682 - 'babeltrace_{version}_cppcheck'
683 - 'babeltrace_{version}_scan-build'
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 [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.28.6':
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_winbuild':
755 arch: !!python/tuple [cygwin64, msys2-mingw64]
756 build: !!python/tuple [std]
757 conf: !!python/tuple [std]
758 - 'dev_gerrit_babeltrace_pylint'
762 name: babeltrace-jgalar-staging
765 github_name: babeltrace
766 email_to: "jgalar@efficios.com"
771 - 'dev_{user}_babeltrace_{version}_{buildtype}':
773 arch: !!python/tuple [amd64]
774 build: !!python/tuple [std, oot, dist, oot-dist]
775 conf: !!python/tuple [std, static, python-bindings]
776 - 'dev_{user}_babeltrace_{version}_{buildtype}':
777 buildtype: macosxbuild
778 version: # macOS support was introduced in 1.4
780 arch: !!python/tuple [macosx]
781 build: !!python/tuple [std]
782 conf: !!python/tuple [std]
786 name: babeltrace2-jgalar-staging
789 github_name: babeltrace
790 email_to: "jgalar@efficios.com"
795 - 'dev_{user}_babeltrace_{version}_glib-2.28.6':
798 - 'dev_{user}_babeltrace_{version}_{buildtype}':
800 arch: !!python/tuple [amd64]
801 build: !!python/tuple [std, oot, dist, oot-dist]
802 conf: !!python/tuple [std, static, prod, min]
803 - 'dev_{user}_babeltrace_{version}_{buildtype}':
804 buildtype: macosxbuild
805 arch: !!python/tuple [macosx]
806 build: !!python/tuple [std]
807 conf: !!python/tuple [std, prod]
810 name: babeltrace-views