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 # Use jgit on windows to work around path too long error
285 url: git://github.com/{github_user}/{github_name}.git
287 browser-url: https://github.com/{github_user}/{github_name}
290 basedir: src/babeltrace
294 <<: *babeltrace_build_axes_defaults
295 <<: *babeltrace_build_builders_win
296 <<: *babeltrace_build_publishers_prod
299 name: dev_{user}_babeltrace_{version}_{buildtype}
302 <<: *babeltrace_build_axes_defaults
303 <<: *babeltrace_build_builders_defaults
304 <<: *babeltrace_build_publishers_dev
307 name: dev_gerrit_babeltrace_{buildtype}
313 url: https://review.lttng.org/babeltrace
314 refspec: 'refs/changes/*:refs/changes/*'
317 basedir: src/babeltrace
323 - comment-added-event:
324 approval-category: 'CI-Build'
327 - project-compare-type: 'PLAIN'
328 project-pattern: 'babeltrace'
330 - branch-compare-type: 'ANT'
332 trigger-for-unreviewed-patches: true
335 node: 'master' # Applies only to matrix flyweight task
337 combination-filter: |
351 values: '{obj:build}'
353 <<: *babeltrace_build_builders_defaults
354 <<: *babeltrace_build_publishers_gerrit
358 properties-content: |
359 PROJECT_NAME=babeltrace
368 name: dev_gerrit_babeltrace_pylint
374 url: https://review.lttng.org/babeltrace
375 refspec: 'refs/changes/*:refs/changes/*'
378 basedir: src/babeltrace
384 - comment-added-event:
385 approval-category: 'CI-Build'
388 - project-compare-type: 'PLAIN'
389 project-pattern: 'babeltrace'
391 - branch-compare-type: 'ANT'
393 trigger-for-unreviewed-patches: true
399 !include-raw-escape: scripts/babeltrace/pylint.sh
403 properties-content: |
404 PROJECT_NAME=babeltrace
409 name: babeltrace_{version}_cppcheck
418 rm -f cppcheck-result.xml
419 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
423 artifacts: 'cppcheck-result.xml'
426 pattern: 'cppcheck-result.xml'
429 name: babeltrace_{version}_scan-build
439 !include-raw-escape: scripts/common/scan-build.sh
444 dir: 'scan-build-archive/'
448 name: babeltrace_{version}_coverity
461 - credentials-binding:
462 - username-password-separated:
463 credential-id: babeltrace_coverity_token
464 username: COVERITY_SCAN_PROJECT_NAME
465 password: COVERITY_SCAN_TOKEN
468 !include-raw-escape: scripts/common/coverity.sh
473 artifacts: 'analysis-results.tgz,cov-int/**'
477 name: babeltrace_{version}_pylint
487 !include-raw-escape: scripts/babeltrace/pylint.sh
491 artifacts: 'black.out,flake8.out'
493 recipients: '{obj:email_to}'
494 reply-to: ci-notification@lists.lttng.org
503 second-failure: false
508 fixed-unhealthy: true
509 still-unstable: false
511 matrix-trigger: only-parent
515 # Use - in version number since yaml anchor do not support dot
516 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
517 name: 'babeltrace_version_glib_anchor'
523 properties-content: |
524 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
525 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
530 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
531 tar xvf glib-2.22.5.tar.gz
534 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
539 !include-raw-escape: scripts/babeltrace/build.sh
542 name: babeltrace_{version}_glib-2.22.5
546 <<: *babeltrace_version_glib-2-22-5_anchor
552 recipients: '{obj:email_to}'
553 reply-to: ci-notification@lists.lttng.org
562 second-failure: false
567 fixed-unhealthy: true
568 still-unstable: false
570 matrix-trigger: only-parent
575 name: dev_{user}_babeltrace_{version}_glib-2.22.5
576 <<: *babeltrace_version_glib-2-22-5_anchor
580 recipients: '{obj:email_to}'
581 reply-to: ci-notification@lists.lttng.org
590 second-failure: false
595 fixed-unhealthy: true
596 still-unstable: false
598 matrix-trigger: only-parent
607 regex: 'babeltrace[-_].*'
613 github_user: efficios
614 github_name: babeltrace
615 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
619 - 'babeltrace_{version}_{buildtype}':
621 arch: !!python/tuple [amd64]
622 build: !!python/tuple [std, oot, dist, oot-dist]
623 conf: !!python/tuple [std, static, python-bindings]
624 - 'babeltrace_{version}_{buildtype}':
626 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
627 build: !!python/tuple [std]
628 conf: !!python/tuple [std, python-bindings]
629 - 'babeltrace_{version}_{buildtype}':
631 arch: !!python/tuple [sles12sp2]
632 build: !!python/tuple [std]
633 conf: !!python/tuple [std]
634 version: # // support 1.3 on SLES12
637 - 'babeltrace_{version}_{buildtype}':
639 arch: !!python/tuple [el8]
640 build: !!python/tuple [std]
641 conf: !!python/tuple [std]
642 - 'babeltrace_{version}_{buildtype}':
643 buildtype: solarisbuild
644 arch: !!python/tuple [sol10-i386, sol11-i386]
645 build: !!python/tuple [std]
646 conf: !!python/tuple [std, static]
647 - 'babeltrace_{version}_{buildtype}':
648 buildtype: macosxbuild
649 arch: !!python/tuple [macosx]
650 build: !!python/tuple [std]
651 conf: !!python/tuple [std]
652 - 'babeltrace_{version}_{cctype}':
654 arch: !!python/tuple [amd64]
655 build: !!python/tuple [std]
656 conf: !!python/tuple [std, static]
657 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
658 - 'babeltrace_{version}_winbuild':
659 arch: !!python/tuple [cygwin, cygwin64]
660 build: !!python/tuple [std]
661 conf: !!python/tuple [std]
662 - 'babeltrace_{version}_cppcheck'
663 - 'babeltrace_{version}_scan-build'
667 github_user: efficios
668 github_name: babeltrace
669 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
674 - 'babeltrace_{version}_{buildtype}':
676 arch: !!python/tuple [amd64]
677 build: !!python/tuple [std, oot, dist, oot-dist]
678 conf: !!python/tuple [std, static, prod, min]
679 - 'babeltrace_{version}_{buildtype}':
681 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
682 build: !!python/tuple [std]
683 conf: !!python/tuple [std, prod]
684 - 'babeltrace_{version}_{buildtype}':
686 arch: !!python/tuple [sles12sp2]
687 build: !!python/tuple [std]
688 conf: !!python/tuple [std, prod]
689 - 'babeltrace_{version}_{buildtype}':
691 arch: !!python/tuple [el8]
692 build: !!python/tuple [std]
693 conf: !!python/tuple [std, prod]
694 - 'babeltrace_{version}_{buildtype}':
695 buildtype: macosxbuild
696 arch: !!python/tuple [macosx]
697 build: !!python/tuple [std]
698 conf: !!python/tuple [std, prod]
699 - 'babeltrace_{version}_{cctype}':
701 arch: !!python/tuple [amd64]
702 build: !!python/tuple [std]
703 conf: !!python/tuple [std, static, prod]
704 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
705 - 'babeltrace_{version}_winbuild':
706 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
707 build: !!python/tuple [std]
708 conf: !!python/tuple [std]
709 - 'babeltrace_{version}_cppcheck'
710 - 'babeltrace_{version}_scan-build'
711 - 'babeltrace_{version}_pylint'
712 - 'babeltrace_{version}_coverity':
714 - 'babeltrace_{version}_glib-2.22.5':
718 name: gerrit-babeltrace
719 github_user: efficios
720 github_name: babeltrace
722 - 'dev_gerrit_babeltrace_{buildtype}':
724 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
725 build: !!python/tuple [std, oot, dist, oot-dist]
726 conf: !!python/tuple [std, static, prod, min]
727 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
728 - 'dev_gerrit_babeltrace_{buildtype}':
729 buildtype: macosxbuild
730 arch: !!python/tuple [macosx]
731 build: !!python/tuple [std]
732 conf: !!python/tuple [std, prod]
734 - 'dev_gerrit_babeltrace_pylint'
738 name: babeltrace-jgalar-staging
741 github_name: babeltrace
742 email_to: "jgalar@efficios.com"
747 - 'dev_{user}_babeltrace_{version}_{buildtype}':
749 arch: !!python/tuple [amd64]
750 build: !!python/tuple [std, oot, dist, oot-dist]
751 conf: !!python/tuple [std, static, python-bindings]
752 - 'dev_{user}_babeltrace_{version}_{buildtype}':
753 buildtype: macosxbuild
754 version: # macOS support was introduced in 1.4
756 arch: !!python/tuple [macosx]
757 build: !!python/tuple [std]
758 conf: !!python/tuple [std]
762 name: babeltrace2-jgalar-staging
765 github_name: babeltrace
766 email_to: "jgalar@efficios.com"
771 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
774 - 'dev_{user}_babeltrace_{version}_{buildtype}':
776 arch: !!python/tuple [amd64]
777 build: !!python/tuple [std, oot, dist, oot-dist]
778 conf: !!python/tuple [std, static, prod, min]
779 - 'dev_{user}_babeltrace_{version}_{buildtype}':
780 buildtype: macosxbuild
781 arch: !!python/tuple [macosx]
782 build: !!python/tuple [std]
783 conf: !!python/tuple [std, prod]
786 name: babeltrace-views