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: babeltrace_{version}_release
398 url: git://github.com/{github_user}/{github_name}.git
400 browser-url: https://github.com/{github_user}/{github_name}
401 refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
403 - '*/tags/{version}.*'
404 basedir: src/babeltrace
408 !include-raw-escape: scripts/babeltrace/release.sh
412 results: 'tap/**/*.log'
413 fail-if-no-results: true
414 failed-tests-mark-build-as-failure: true
415 todo-is-failure: false
418 - 'GNU Make + GNU C Compiler (gcc)'
429 artifacts: 'out/**,tap/**'
433 name: dev_gerrit_babeltrace_pylint
439 url: https://review.lttng.org/babeltrace
440 refspec: 'refs/changes/*:refs/changes/*'
443 basedir: src/babeltrace
449 - comment-added-event:
450 approval-category: 'CI-Build'
453 - project-compare-type: 'PLAIN'
454 project-pattern: 'babeltrace'
456 - branch-compare-type: 'ANT'
458 trigger-for-unreviewed-patches: true
464 !include-raw-escape: scripts/babeltrace/pylint.sh
468 properties-content: |
469 PROJECT_NAME=babeltrace
474 name: babeltrace_{version}_cppcheck
483 rm -f cppcheck-result.xml
484 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
488 artifacts: 'cppcheck-result.xml'
491 pattern: 'cppcheck-result.xml'
494 name: babeltrace_{version}_scan-build
504 !include-raw-escape: scripts/common/scan-build.sh
509 dir: 'scan-build-archive/'
513 name: babeltrace_{version}_coverity
526 - credentials-binding:
527 - username-password-separated:
528 credential-id: babeltrace_coverity_token
529 username: COVERITY_SCAN_PROJECT_NAME
530 password: COVERITY_SCAN_TOKEN
533 !include-raw-escape: scripts/common/coverity.sh
538 artifacts: 'analysis-results.tgz,cov-int/**'
542 name: babeltrace_{version}_pylint
552 !include-raw-escape: scripts/babeltrace/pylint.sh
556 artifacts: 'black.out,flake8.out'
558 recipients: '{obj:email_to}'
559 reply-to: ci-notification@lists.lttng.org
568 second-failure: false
573 fixed-unhealthy: true
574 still-unstable: false
576 matrix-trigger: only-parent
580 # Use - in version number since yaml anchor do not support dot
581 - babeltrace_version_glib-2-28-6_anchor: &babeltrace_version_glib-2-28-6_anchor
582 name: 'babeltrace_version_glib_anchor'
588 properties-content: |
589 LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib
590 PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig
595 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz
596 tar xvf glib-2.28.6.tar.gz
599 ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT
604 !include-raw-escape: scripts/babeltrace/build.sh
607 name: babeltrace_{version}_glib-2.28.6
611 <<: *babeltrace_version_glib-2-28-6_anchor
617 recipients: '{obj:email_to}'
618 reply-to: ci-notification@lists.lttng.org
627 second-failure: false
632 fixed-unhealthy: true
633 still-unstable: false
635 matrix-trigger: only-parent
640 name: dev_{user}_babeltrace_{version}_glib-2.28.6
641 <<: *babeltrace_version_glib-2-28-6_anchor
645 recipients: '{obj:email_to}'
646 reply-to: ci-notification@lists.lttng.org
655 second-failure: false
660 fixed-unhealthy: true
661 still-unstable: false
663 matrix-trigger: only-parent
672 regex: 'babeltrace[-_].*'
678 github_user: efficios
679 github_name: babeltrace
680 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
684 - 'babeltrace_{version}_{buildtype}':
686 arch: !!python/tuple [amd64]
687 build: !!python/tuple [std, oot, dist, oot-dist]
688 conf: !!python/tuple [std, static, python-bindings]
689 - 'babeltrace_{version}_{buildtype}':
691 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
692 build: !!python/tuple [std]
693 conf: !!python/tuple [std, python-bindings]
694 - 'babeltrace_{version}_{buildtype}':
696 arch: !!python/tuple [sles12sp2]
697 build: !!python/tuple [std]
698 conf: !!python/tuple [std]
699 - 'babeltrace_{version}_{buildtype}':
701 arch: !!python/tuple [el8]
702 build: !!python/tuple [std]
703 conf: !!python/tuple [std]
704 - 'babeltrace_{version}_{buildtype}':
705 buildtype: solarisbuild
706 arch: !!python/tuple [sol10-i386, sol11-i386]
707 build: !!python/tuple [std]
708 conf: !!python/tuple [std, static]
709 - 'babeltrace_{version}_{buildtype}':
710 buildtype: macosxbuild
711 arch: !!python/tuple [macosx]
712 build: !!python/tuple [std]
713 conf: !!python/tuple [std]
714 - 'babeltrace_{version}_{cctype}':
716 arch: !!python/tuple [amd64]
717 build: !!python/tuple [std]
718 conf: !!python/tuple [std, static]
719 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
720 - 'babeltrace_{version}_winbuild':
721 arch: !!python/tuple [cygwin64]
722 build: !!python/tuple [std]
723 conf: !!python/tuple [std]
724 - 'babeltrace_{version}_release':
726 - 'babeltrace_{version}_cppcheck'
727 - 'babeltrace_{version}_scan-build'
731 github_user: efficios
732 github_name: babeltrace
733 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
738 - 'babeltrace_{version}_{buildtype}':
740 arch: !!python/tuple [amd64]
741 build: !!python/tuple [std, oot, dist, oot-dist]
742 conf: !!python/tuple [std, static, prod, min]
743 - 'babeltrace_{version}_{buildtype}':
745 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
746 build: !!python/tuple [std]
747 conf: !!python/tuple [std, prod]
748 - 'babeltrace_{version}_{buildtype}':
750 arch: !!python/tuple [sles12sp2]
751 build: !!python/tuple [std]
752 conf: !!python/tuple [std, prod]
753 - 'babeltrace_{version}_{buildtype}':
755 arch: !!python/tuple [el8]
756 build: !!python/tuple [std]
757 conf: !!python/tuple [std, prod]
758 - 'babeltrace_{version}_{buildtype}':
759 buildtype: macosxbuild
760 arch: !!python/tuple [macosx]
761 build: !!python/tuple [std]
762 conf: !!python/tuple [std, prod]
763 - 'babeltrace_{version}_{cctype}':
765 arch: !!python/tuple [amd64]
766 build: !!python/tuple [std]
767 conf: !!python/tuple [std, static, prod]
768 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
769 - 'babeltrace_{version}_winbuild':
770 arch: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64]
771 build: !!python/tuple [std]
772 conf: !!python/tuple [std]
773 - 'babeltrace_{version}_release':
775 - 'babeltrace_{version}_cppcheck'
776 - 'babeltrace_{version}_scan-build'
777 - 'babeltrace_{version}_pylint'
778 - 'babeltrace_{version}_coverity':
780 - 'babeltrace_{version}_glib-2.28.6':
784 name: gerrit-babeltrace
785 github_user: efficios
786 github_name: babeltrace
788 - 'dev_gerrit_babeltrace_{buildtype}':
790 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
791 build: !!python/tuple [std, oot, dist, oot-dist]
792 conf: !!python/tuple [std, static, prod, min]
793 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
794 - 'dev_gerrit_babeltrace_{buildtype}':
795 buildtype: macosxbuild
796 arch: !!python/tuple [macosx]
797 build: !!python/tuple [std]
798 conf: !!python/tuple [std, prod]
800 - 'dev_gerrit_babeltrace_winbuild':
801 arch: !!python/tuple [cygwin64, msys2-mingw64]
802 build: !!python/tuple [std]
803 conf: !!python/tuple [std]
804 - 'dev_gerrit_babeltrace_pylint'
808 name: babeltrace-jgalar-staging
811 github_name: babeltrace
812 email_to: "jgalar@efficios.com"
816 - 'dev_{user}_babeltrace_{version}_{buildtype}':
818 arch: !!python/tuple [amd64]
819 build: !!python/tuple [std, oot, dist, oot-dist]
820 conf: !!python/tuple [std, static, python-bindings]
821 - 'dev_{user}_babeltrace_{version}_{buildtype}':
822 buildtype: macosxbuild
823 arch: !!python/tuple [macosx]
824 build: !!python/tuple [std]
825 conf: !!python/tuple [std]
829 name: babeltrace2-jgalar-staging
832 github_name: babeltrace
833 email_to: "jgalar@efficios.com"
838 - 'dev_{user}_babeltrace_{version}_glib-2.28.6':
841 - 'dev_{user}_babeltrace_{version}_{buildtype}':
843 arch: !!python/tuple [amd64]
844 build: !!python/tuple [std, oot, dist, oot-dist]
845 conf: !!python/tuple [std, static, prod, min]
846 - 'dev_{user}_babeltrace_{version}_{buildtype}':
847 buildtype: macosxbuild
848 arch: !!python/tuple [macosx]
849 build: !!python/tuple [std]
850 conf: !!python/tuple [std, prod]
853 name: babeltrace-views