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: https://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'
98 - scripts/common/print.sh
99 - scripts/babeltrace/build.sh
101 - babeltrace_build_builders_win: &babeltrace_build_builders_win
102 name: 'babeltrace_build_builders_win'
105 condition-kind: strings-match
106 on-evaluation-failure: run
107 condition-string1: '${{arch}}'
108 condition-string2: 'cygwin64'
112 - scripts/common/cygwin64-shebang
113 - scripts/common/cygpath-prefix
114 - scripts/common/print.sh
115 - scripts/babeltrace/build.sh
117 condition-kind: strings-match
118 on-evaluation-failure: run
119 condition-string1: '${{arch}}'
120 condition-string2: 'msys2-mingw32'
123 properties-content: 'MSYSTEM=MINGW32'
126 - scripts/common/msys2-shebang
127 - scripts/common/cygpath-prefix
128 - scripts/common/print.sh
129 - scripts/babeltrace/build.sh
131 condition-kind: strings-match
132 on-evaluation-failure: run
133 condition-string1: '${{arch}}'
134 condition-string2: 'msys2-mingw64'
137 properties-content: 'MSYSTEM=MINGW64'
140 - scripts/common/msys2-shebang
141 - scripts/common/cygpath-prefix
142 - scripts/common/print.sh
143 - scripts/babeltrace/build.sh
146 - babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev
147 name: 'babeltrace_build_publishers_dev'
150 results: 'tap/**/*.log'
151 fail-if-no-results: true
152 failed-tests-mark-build-as-failure: true
153 todo-is-failure: false
156 - 'GNU Make + GNU C Compiler (gcc)'
167 recipients: '{obj:email_to}'
176 second-failure: false
181 fixed-unhealthy: true
182 still-unstable: false
184 matrix-trigger: only-parent
189 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
190 name: 'babeltrace_build_publishers_prod'
193 results: 'tap/**/*.log'
194 fail-if-no-results: true
195 failed-tests-mark-build-as-failure: true
196 todo-is-failure: false
199 - 'GNU Make + GNU C Compiler (gcc)'
207 artifacts: 'build/**,tap/**'
210 recipients: '{obj:email_to}'
211 reply-to: ci-notification@lists.lttng.org
220 second-failure: false
225 fixed-unhealthy: true
226 still-unstable: false
228 matrix-trigger: only-parent
232 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
233 name: 'babeltrace_build_publishers_gerrit'
236 results: 'tap/**/*.log'
237 fail-if-no-results: true
238 failed-tests-mark-build-as-failure: true
239 todo-is-failure: false
242 - 'GNU Make + GNU C Compiler (gcc)'
250 artifacts: 'build/**,tap/**'
257 name: babeltrace_{version}_{buildtype}
260 <<: *babeltrace_build_axes_defaults
261 <<: *babeltrace_build_builders_defaults
262 <<: *babeltrace_build_publishers_prod
265 name: '{job_prefix}babeltrace_{version}_{buildtype}'
268 <<: *babeltrace_build_axes_defaults
269 <<: *babeltrace_build_builders_defaults
270 <<: *babeltrace_build_publishers_prod
273 name: babeltrace_{version}_{cctype}
276 <<: *babeltrace_build_axes_cc
277 <<: *babeltrace_build_builders_defaults
278 <<: *babeltrace_build_publishers_prod
281 name: babeltrace_{version}_winbuild
284 <<: *babeltrace_build_axes_defaults
285 <<: *babeltrace_build_builders_win
286 <<: *babeltrace_build_publishers_prod
289 name: dev_{user}_babeltrace_{version}_{buildtype}
292 <<: *babeltrace_build_axes_defaults
293 <<: *babeltrace_build_builders_defaults
294 <<: *babeltrace_build_publishers_dev
297 name: dev_gerrit_babeltrace_{buildtype}
303 url: https://review.lttng.org/babeltrace
304 refspec: 'refs/changes/*:refs/changes/*'
307 basedir: src/babeltrace
313 - comment-added-event:
314 approval-category: 'CI-Build'
317 - project-compare-type: 'PLAIN'
318 project-pattern: 'babeltrace'
320 - branch-compare-type: 'ANT'
324 node: 'master' # Applies only to matrix flyweight task
326 combination-filter: |
340 values: '{obj:build}'
342 <<: *babeltrace_build_builders_defaults
343 <<: *babeltrace_build_publishers_gerrit
347 properties-content: |
348 PROJECT_NAME=babeltrace
354 - 'gerrit-{buildtype}'
357 name: dev_gerrit_babeltrace_winbuild
363 url: https://review.lttng.org/babeltrace
364 refspec: 'refs/changes/*:refs/changes/*'
367 basedir: src/babeltrace
373 - comment-added-event:
374 approval-category: 'CI-Build'
377 - project-compare-type: 'PLAIN'
378 project-pattern: 'babeltrace'
380 - branch-compare-type: 'ANT'
385 properties-content: |
386 PROJECT_NAME=babeltrace
394 <<: *babeltrace_build_axes_defaults
395 <<: *babeltrace_build_builders_win
396 <<: *babeltrace_build_publishers_gerrit
399 name: babeltrace_{version}_release
409 url: https://github.com/{github_user}/{github_name}.git
411 browser-url: https://github.com/{github_user}/{github_name}
412 refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
414 - '*/tags/{version}.*'
415 basedir: src/babeltrace
419 !include-raw-escape: scripts/babeltrace/release.sh
423 results: 'tap/**/*.log'
424 fail-if-no-results: true
425 failed-tests-mark-build-as-failure: true
426 todo-is-failure: false
429 - 'GNU Make + GNU C Compiler (gcc)'
440 artifacts: 'out/**,tap/**'
444 name: dev_gerrit_babeltrace_pylint
450 url: https://review.lttng.org/babeltrace
451 refspec: 'refs/changes/*:refs/changes/*'
454 basedir: src/babeltrace
460 - comment-added-event:
461 approval-category: 'CI-Build'
464 - project-compare-type: 'PLAIN'
465 project-pattern: 'babeltrace'
467 - branch-compare-type: 'ANT'
474 !include-raw-escape: scripts/babeltrace/pylint.sh
478 properties-content: |
479 PROJECT_NAME=babeltrace
484 name: babeltrace_{version}_cppcheck
493 rm -f cppcheck-result.xml
494 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
498 artifacts: 'cppcheck-result.xml'
501 pattern: 'cppcheck-result.xml'
504 name: babeltrace_{version}_scan-build
514 !include-raw-escape: scripts/common/scan-build.sh
519 dir: 'scan-build-archive/'
523 name: babeltrace_{version}_coverity
536 - credentials-binding:
537 - username-password-separated:
538 credential-id: babeltrace_coverity_token
539 username: COVERITY_SCAN_PROJECT_NAME
540 password: COVERITY_SCAN_TOKEN
543 !include-raw-escape: scripts/common/coverity.sh
548 artifacts: 'analysis-results.tgz,cov-int/**'
552 name: babeltrace_{version}_pylint
562 !include-raw-escape: scripts/babeltrace/pylint.sh
566 artifacts: 'black.out,flake8.out'
568 recipients: '{obj:email_to}'
569 reply-to: ci-notification@lists.lttng.org
578 second-failure: false
583 fixed-unhealthy: true
584 still-unstable: false
586 matrix-trigger: only-parent
590 # Use - in version number since yaml anchor do not support dot
591 - babeltrace_version_glib-2-28-6_anchor: &babeltrace_version_glib-2-28-6_anchor
592 name: 'babeltrace_version_glib_anchor'
598 properties-content: |
599 LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib
600 PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig
605 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz
606 tar xvf glib-2.28.6.tar.gz
609 ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT
615 - scripts/common/print.sh
616 - scripts/babeltrace/build.sh
619 name: babeltrace_{version}_glib-2.28.6
623 <<: *babeltrace_version_glib-2-28-6_anchor
629 recipients: '{obj:email_to}'
630 reply-to: ci-notification@lists.lttng.org
639 second-failure: false
644 fixed-unhealthy: true
645 still-unstable: false
647 matrix-trigger: only-parent
652 name: dev_{user}_babeltrace_{version}_glib-2.28.6
653 <<: *babeltrace_version_glib-2-28-6_anchor
657 recipients: '{obj:email_to}'
658 reply-to: ci-notification@lists.lttng.org
667 second-failure: false
672 fixed-unhealthy: true
673 still-unstable: false
675 matrix-trigger: only-parent
684 regex: 'babeltrace[-_].*'
689 name: dev_upstream_babeltrace
690 job_prefix: dev_upstream_
691 github_user: efficios
692 github_name: babeltrace
693 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
697 - '{job_prefix}babeltrace_{version}_{buildtype}':
699 arch: !!python/tuple [amd64]
700 build: !!python/tuple [std, oot, dist, oot-dist]
701 conf: !!python/tuple [std, static, python-bindings]
702 - '{job_prefix}babeltrace_{version}_{buildtype}':
704 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
705 build: !!python/tuple [std]
706 conf: !!python/tuple [std, python-bindings]
707 - '{job_prefix}babeltrace_{version}_{buildtype}':
709 arch: !!python/tuple [sles12sp5]
710 build: !!python/tuple [std]
711 conf: !!python/tuple [std]
712 - '{job_prefix}babeltrace_{version}_{buildtype}':
714 arch: !!python/tuple [el8]
715 build: !!python/tuple [std]
716 conf: !!python/tuple [std]
721 github_user: efficios
722 github_name: babeltrace
723 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
728 - 'babeltrace_{version}_{buildtype}':
730 arch: !!python/tuple [amd64]
731 build: !!python/tuple [std, oot, dist, oot-dist]
732 conf: !!python/tuple [std, static, prod, min]
733 - 'babeltrace_{version}_{buildtype}':
735 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
736 build: !!python/tuple [std]
737 conf: !!python/tuple [std, prod]
738 - 'babeltrace_{version}_{buildtype}':
740 arch: !!python/tuple [sles12sp5]
741 build: !!python/tuple [std]
742 conf: !!python/tuple [std, prod]
743 - 'babeltrace_{version}_{buildtype}':
745 arch: !!python/tuple [el8]
746 build: !!python/tuple [std]
747 conf: !!python/tuple [std, prod]
748 - 'babeltrace_{version}_{buildtype}':
749 buildtype: macosbuild
750 arch: !!python/tuple [macos-amd64, macos-arm64]
751 build: !!python/tuple [std]
752 conf: !!python/tuple [std, prod]
753 - 'babeltrace_{version}_{buildtype}':
754 buildtype: freebsdbuild
755 arch: !!python/tuple [freebsd]
756 build: !!python/tuple [std]
757 conf: !!python/tuple [std, prod]
758 - 'babeltrace_{version}_{cctype}':
760 arch: !!python/tuple [amd64]
761 build: !!python/tuple [std]
762 conf: !!python/tuple [std, static, prod]
763 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
764 - 'babeltrace_{version}_winbuild':
765 arch: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64]
766 build: !!python/tuple [std]
767 conf: !!python/tuple [std]
768 - 'babeltrace_{version}_release':
770 - 'babeltrace_{version}_cppcheck'
771 - 'babeltrace_{version}_scan-build'
772 - 'babeltrace_{version}_pylint'
773 - 'babeltrace_{version}_coverity':
775 - 'babeltrace_{version}_glib-2.28.6':
779 name: gerrit-babeltrace
781 github_user: efficios
782 github_name: babeltrace
784 - 'dev_gerrit_babeltrace_{buildtype}':
786 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
787 build: !!python/tuple [std, oot, dist, oot-dist]
788 conf: !!python/tuple [std, static, prod, min]
789 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
790 - 'dev_gerrit_babeltrace_{buildtype}':
791 buildtype: macosbuild
792 arch: !!python/tuple [macos-amd64, macos-arm64]
793 build: !!python/tuple [std]
794 conf: !!python/tuple [std, prod]
796 - 'dev_gerrit_babeltrace_winbuild':
797 arch: !!python/tuple [cygwin64, msys2-mingw64]
798 build: !!python/tuple [std]
799 conf: !!python/tuple [std]
800 - 'dev_gerrit_babeltrace_pylint'
804 name: babeltrace-jgalar-staging
808 github_name: babeltrace
809 email_to: "jgalar@efficios.com"
813 - 'dev_{user}_babeltrace_{version}_{buildtype}':
815 arch: !!python/tuple [amd64]
816 build: !!python/tuple [std, oot, dist, oot-dist]
817 conf: !!python/tuple [std, static, python-bindings]
818 - 'dev_{user}_babeltrace_{version}_{buildtype}':
819 buildtype: macosbuild
820 arch: !!python/tuple [macos-amd64, macos-arm64]
821 build: !!python/tuple [std]
822 conf: !!python/tuple [std]
826 name: babeltrace2-jgalar-staging
830 github_name: babeltrace
831 email_to: "jgalar@efficios.com"
836 - 'dev_{user}_babeltrace_{version}_glib-2.28.6':
839 - 'dev_{user}_babeltrace_{version}_{buildtype}':
841 arch: !!python/tuple [amd64]
842 build: !!python/tuple [std, oot, dist, oot-dist]
843 conf: !!python/tuple [std, static, prod, min]
844 - 'dev_{user}_babeltrace_{version}_{buildtype}':
845 buildtype: macosbuild
846 arch: !!python/tuple [macos-amd64, macos-arm64]
847 build: !!python/tuple [std]
848 conf: !!python/tuple [std, prod]
851 name: babeltrace-views