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 <<: *babeltrace_build_axes_defaults
283 <<: *babeltrace_build_builders_win
284 <<: *babeltrace_build_publishers_prod
287 name: dev_{user}_babeltrace_{version}_{buildtype}
290 <<: *babeltrace_build_axes_defaults
291 <<: *babeltrace_build_builders_defaults
292 <<: *babeltrace_build_publishers_dev
295 name: dev_gerrit_babeltrace_{buildtype}
301 url: https://review.lttng.org/babeltrace
302 refspec: 'refs/changes/*:refs/changes/*'
305 basedir: src/babeltrace
311 - comment-added-event:
312 approval-category: 'CI-Build'
315 - project-compare-type: 'PLAIN'
316 project-pattern: 'babeltrace'
318 - branch-compare-type: 'ANT'
320 trigger-for-unreviewed-patches: true
323 node: 'master' # Applies only to matrix flyweight task
325 combination-filter: |
339 values: '{obj:build}'
341 <<: *babeltrace_build_builders_defaults
342 <<: *babeltrace_build_publishers_gerrit
346 properties-content: |
347 PROJECT_NAME=babeltrace
353 - 'gerrit-{buildtype}'
356 name: dev_gerrit_babeltrace_winbuild
362 url: https://review.lttng.org/babeltrace
363 refspec: 'refs/changes/*:refs/changes/*'
366 basedir: src/babeltrace
372 - comment-added-event:
373 approval-category: 'CI-Build'
376 - project-compare-type: 'PLAIN'
377 project-pattern: 'babeltrace'
379 - branch-compare-type: 'ANT'
381 trigger-for-unreviewed-patches: true
385 properties-content: |
386 PROJECT_NAME=babeltrace
394 <<: *babeltrace_build_axes_defaults
395 <<: *babeltrace_build_builders_win
396 <<: *babeltrace_build_publishers_gerrit
399 name: dev_gerrit_babeltrace_pylint
405 url: https://review.lttng.org/babeltrace
406 refspec: 'refs/changes/*:refs/changes/*'
409 basedir: src/babeltrace
415 - comment-added-event:
416 approval-category: 'CI-Build'
419 - project-compare-type: 'PLAIN'
420 project-pattern: 'babeltrace'
422 - branch-compare-type: 'ANT'
424 trigger-for-unreviewed-patches: true
430 !include-raw-escape: scripts/babeltrace/pylint.sh
434 properties-content: |
435 PROJECT_NAME=babeltrace
440 name: babeltrace_{version}_cppcheck
449 rm -f cppcheck-result.xml
450 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
454 artifacts: 'cppcheck-result.xml'
457 pattern: 'cppcheck-result.xml'
460 name: babeltrace_{version}_scan-build
470 !include-raw-escape: scripts/common/scan-build.sh
475 dir: 'scan-build-archive/'
479 name: babeltrace_{version}_coverity
492 - credentials-binding:
493 - username-password-separated:
494 credential-id: babeltrace_coverity_token
495 username: COVERITY_SCAN_PROJECT_NAME
496 password: COVERITY_SCAN_TOKEN
499 !include-raw-escape: scripts/common/coverity.sh
504 artifacts: 'analysis-results.tgz,cov-int/**'
508 name: babeltrace_{version}_pylint
518 !include-raw-escape: scripts/babeltrace/pylint.sh
522 artifacts: 'black.out,flake8.out'
524 recipients: '{obj:email_to}'
525 reply-to: ci-notification@lists.lttng.org
534 second-failure: false
539 fixed-unhealthy: true
540 still-unstable: false
542 matrix-trigger: only-parent
546 # Use - in version number since yaml anchor do not support dot
547 - babeltrace_version_glib-2-28-6_anchor: &babeltrace_version_glib-2-28-6_anchor
548 name: 'babeltrace_version_glib_anchor'
554 properties-content: |
555 LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib
556 PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig
561 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz
562 tar xvf glib-2.28.6.tar.gz
565 ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT
570 !include-raw-escape: scripts/babeltrace/build.sh
573 name: babeltrace_{version}_glib-2.28.6
577 <<: *babeltrace_version_glib-2-28-6_anchor
583 recipients: '{obj:email_to}'
584 reply-to: ci-notification@lists.lttng.org
593 second-failure: false
598 fixed-unhealthy: true
599 still-unstable: false
601 matrix-trigger: only-parent
606 name: dev_{user}_babeltrace_{version}_glib-2.28.6
607 <<: *babeltrace_version_glib-2-28-6_anchor
611 recipients: '{obj:email_to}'
612 reply-to: ci-notification@lists.lttng.org
621 second-failure: false
626 fixed-unhealthy: true
627 still-unstable: false
629 matrix-trigger: only-parent
638 regex: 'babeltrace[-_].*'
644 github_user: efficios
645 github_name: babeltrace
646 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
650 - 'babeltrace_{version}_{buildtype}':
652 arch: !!python/tuple [amd64]
653 build: !!python/tuple [std, oot, dist, oot-dist]
654 conf: !!python/tuple [std, static, python-bindings]
655 - 'babeltrace_{version}_{buildtype}':
657 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
658 build: !!python/tuple [std]
659 conf: !!python/tuple [std, python-bindings]
660 - 'babeltrace_{version}_{buildtype}':
662 arch: !!python/tuple [sles12sp2]
663 build: !!python/tuple [std]
664 conf: !!python/tuple [std]
665 version: # // support 1.3 on SLES12
668 - 'babeltrace_{version}_{buildtype}':
670 arch: !!python/tuple [el8]
671 build: !!python/tuple [std]
672 conf: !!python/tuple [std]
673 - 'babeltrace_{version}_{buildtype}':
674 buildtype: solarisbuild
675 arch: !!python/tuple [sol10-i386, sol11-i386]
676 build: !!python/tuple [std]
677 conf: !!python/tuple [std, static]
678 - 'babeltrace_{version}_{buildtype}':
679 buildtype: macosxbuild
680 arch: !!python/tuple [macosx]
681 build: !!python/tuple [std]
682 conf: !!python/tuple [std]
683 - 'babeltrace_{version}_{cctype}':
685 arch: !!python/tuple [amd64]
686 build: !!python/tuple [std]
687 conf: !!python/tuple [std, static]
688 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
689 - 'babeltrace_{version}_winbuild':
690 arch: !!python/tuple [cygwin, cygwin64]
691 build: !!python/tuple [std]
692 conf: !!python/tuple [std]
693 - 'babeltrace_{version}_cppcheck'
694 - 'babeltrace_{version}_scan-build'
698 github_user: efficios
699 github_name: babeltrace
700 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
705 - 'babeltrace_{version}_{buildtype}':
707 arch: !!python/tuple [amd64]
708 build: !!python/tuple [std, oot, dist, oot-dist]
709 conf: !!python/tuple [std, static, prod, min]
710 - 'babeltrace_{version}_{buildtype}':
712 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
713 build: !!python/tuple [std]
714 conf: !!python/tuple [std, prod]
715 - 'babeltrace_{version}_{buildtype}':
717 arch: !!python/tuple [sles12sp2]
718 build: !!python/tuple [std]
719 conf: !!python/tuple [std, prod]
720 - 'babeltrace_{version}_{buildtype}':
722 arch: !!python/tuple [el8]
723 build: !!python/tuple [std]
724 conf: !!python/tuple [std, prod]
725 - 'babeltrace_{version}_{buildtype}':
726 buildtype: macosxbuild
727 arch: !!python/tuple [macosx]
728 build: !!python/tuple [std]
729 conf: !!python/tuple [std, prod]
730 - 'babeltrace_{version}_{cctype}':
732 arch: !!python/tuple [amd64]
733 build: !!python/tuple [std]
734 conf: !!python/tuple [std, static, prod]
735 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
736 - 'babeltrace_{version}_winbuild':
737 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
738 build: !!python/tuple [std]
739 conf: !!python/tuple [std]
740 - 'babeltrace_{version}_cppcheck'
741 - 'babeltrace_{version}_scan-build'
742 - 'babeltrace_{version}_pylint'
743 - 'babeltrace_{version}_coverity':
745 - 'babeltrace_{version}_glib-2.28.6':
749 name: gerrit-babeltrace
750 github_user: efficios
751 github_name: babeltrace
753 - 'dev_gerrit_babeltrace_{buildtype}':
755 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
756 build: !!python/tuple [std, oot, dist, oot-dist]
757 conf: !!python/tuple [std, static, prod, min]
758 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
759 - 'dev_gerrit_babeltrace_{buildtype}':
760 buildtype: macosxbuild
761 arch: !!python/tuple [macosx]
762 build: !!python/tuple [std]
763 conf: !!python/tuple [std, prod]
765 - 'dev_gerrit_babeltrace_winbuild':
766 arch: !!python/tuple [cygwin64, msys2-mingw64]
767 build: !!python/tuple [std]
768 conf: !!python/tuple [std]
769 - 'dev_gerrit_babeltrace_pylint'
773 name: babeltrace-jgalar-staging
776 github_name: babeltrace
777 email_to: "jgalar@efficios.com"
782 - 'dev_{user}_babeltrace_{version}_{buildtype}':
784 arch: !!python/tuple [amd64]
785 build: !!python/tuple [std, oot, dist, oot-dist]
786 conf: !!python/tuple [std, static, python-bindings]
787 - 'dev_{user}_babeltrace_{version}_{buildtype}':
788 buildtype: macosxbuild
789 version: # macOS support was introduced in 1.4
791 arch: !!python/tuple [macosx]
792 build: !!python/tuple [std]
793 conf: !!python/tuple [std]
797 name: babeltrace2-jgalar-staging
800 github_name: babeltrace
801 email_to: "jgalar@efficios.com"
806 - 'dev_{user}_babeltrace_{version}_glib-2.28.6':
809 - 'dev_{user}_babeltrace_{version}_{buildtype}':
811 arch: !!python/tuple [amd64]
812 build: !!python/tuple [std, oot, dist, oot-dist]
813 conf: !!python/tuple [std, static, prod, min]
814 - 'dev_{user}_babeltrace_{version}_{buildtype}':
815 buildtype: macosxbuild
816 arch: !!python/tuple [macosx]
817 build: !!python/tuple [std]
818 conf: !!python/tuple [std, prod]
821 name: babeltrace-views