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: babeltrace_{version}_cppcheck
377 rm -f cppcheck-result.xml
378 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
382 artifacts: 'cppcheck-result.xml'
385 pattern: 'cppcheck-result.xml'
388 name: babeltrace_{version}_scan-build
398 !include-raw-escape: scripts/common/scan-build.sh
403 dir: 'scan-build-archive/'
407 name: babeltrace_{version}_coverity
420 - credentials-binding:
421 - username-password-separated:
422 credential-id: babeltrace_coverity_token
423 username: COVERITY_SCAN_PROJECT_NAME
424 password: COVERITY_SCAN_TOKEN
427 !include-raw-escape: scripts/common/coverity.sh
432 artifacts: 'analysis-results.tgz,cov-int/**'
436 name: babeltrace_{version}_pylint
448 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
449 which-build: last-successful
452 target: 'deps/babeltrace'
454 !include-raw-escape: scripts/babeltrace/pylint.sh
458 artifacts: 'pep8.out,pylint.out'
471 recipients: '{obj:email_to}'
472 reply-to: ci-notification@lists.lttng.org
481 second-failure: false
486 fixed-unhealthy: true
487 still-unstable: false
489 matrix-trigger: only-parent
493 # Use - in version number since yaml anchor do not support dot
494 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
495 name: 'babeltrace_version_glib_anchor'
501 properties-content: |
502 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
503 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
508 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
509 tar xvf glib-2.22.5.tar.gz
512 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
517 !include-raw-escape: scripts/babeltrace/build.sh
520 name: babeltrace_{version}_glib-2.22.5
524 <<: *babeltrace_version_glib-2-22-5_anchor
530 recipients: '{obj:email_to}'
531 reply-to: ci-notification@lists.lttng.org
540 second-failure: false
545 fixed-unhealthy: true
546 still-unstable: false
548 matrix-trigger: only-parent
553 name: dev_{user}_babeltrace_{version}_glib-2.22.5
554 <<: *babeltrace_version_glib-2-22-5_anchor
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
585 regex: 'babeltrace[-_].*'
591 github_user: efficios
592 github_name: babeltrace
593 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
597 - 'babeltrace_{version}_{buildtype}':
599 arch: !!python/tuple [amd64]
600 build: !!python/tuple [std, oot, dist, oot-dist]
601 conf: !!python/tuple [std, static, python-bindings]
602 - 'babeltrace_{version}_{buildtype}':
604 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
605 build: !!python/tuple [std]
606 conf: !!python/tuple [std, python-bindings]
607 - 'babeltrace_{version}_{buildtype}':
609 arch: !!python/tuple [sles12sp2]
610 build: !!python/tuple [std]
611 conf: !!python/tuple [std]
612 version: # // support 1.3 on SLES12
615 - 'babeltrace_{version}_{buildtype}':
616 buildtype: solarisbuild
617 arch: !!python/tuple [sol10-i386, sol11-i386]
618 build: !!python/tuple [std]
619 conf: !!python/tuple [std, static]
620 - 'babeltrace_{version}_{buildtype}':
621 buildtype: macosxbuild
622 arch: !!python/tuple [macosx]
623 build: !!python/tuple [std]
624 conf: !!python/tuple [std]
625 - 'babeltrace_{version}_{cctype}':
627 arch: !!python/tuple [amd64]
628 build: !!python/tuple [std]
629 conf: !!python/tuple [std, static]
630 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
631 - 'babeltrace_{version}_winbuild':
632 arch: !!python/tuple [cygwin, cygwin64]
633 build: !!python/tuple [std]
634 conf: !!python/tuple [std]
635 - 'babeltrace_{version}_cppcheck'
636 - 'babeltrace_{version}_scan-build'
637 - 'babeltrace_{version}_pylint'
641 github_user: efficios
642 github_name: babeltrace
643 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
648 - 'babeltrace_{version}_{buildtype}':
650 arch: !!python/tuple [amd64]
651 build: !!python/tuple [std, oot, dist, oot-dist]
652 conf: !!python/tuple [std, static, prod, min]
653 - 'babeltrace_{version}_{buildtype}':
655 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
656 build: !!python/tuple [std]
657 conf: !!python/tuple [std, prod]
658 - 'babeltrace_{version}_{buildtype}':
660 arch: !!python/tuple [sles12sp2]
661 build: !!python/tuple [std]
662 conf: !!python/tuple [std, prod]
663 - 'babeltrace_{version}_{buildtype}':
664 buildtype: macosxbuild
665 arch: !!python/tuple [macosx]
666 build: !!python/tuple [std]
667 conf: !!python/tuple [std, prod]
668 - 'babeltrace_{version}_{cctype}':
670 arch: !!python/tuple [amd64]
671 build: !!python/tuple [std]
672 conf: !!python/tuple [std, static, prod]
673 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
674 - 'babeltrace_{version}_winbuild':
675 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
676 build: !!python/tuple [std]
677 conf: !!python/tuple [std]
678 - 'babeltrace_{version}_cppcheck'
679 - 'babeltrace_{version}_scan-build'
680 - 'babeltrace_{version}_pylint'
681 - 'babeltrace_{version}_coverity':
683 - 'babeltrace_{version}_glib-2.22.5':
687 name: gerrit-babeltrace
688 github_user: efficios
689 github_name: babeltrace
691 - 'dev_gerrit_babeltrace_{buildtype}':
693 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
694 build: !!python/tuple [std, oot, dist, oot-dist]
695 conf: !!python/tuple [std, static, prod, min]
696 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
697 - 'dev_gerrit_babeltrace_{buildtype}':
698 buildtype: macosxbuild
699 arch: !!python/tuple [macosx]
700 build: !!python/tuple [std]
701 conf: !!python/tuple [std, prod]
706 name: babeltrace-jgalar-staging
709 github_name: babeltrace
710 email_to: "jgalar@efficios.com"
715 - 'dev_{user}_babeltrace_{version}_{buildtype}':
717 arch: !!python/tuple [amd64]
718 build: !!python/tuple [std, oot, dist, oot-dist]
719 conf: !!python/tuple [std, static, python-bindings]
720 - 'dev_{user}_babeltrace_{version}_{buildtype}':
721 buildtype: macosxbuild
722 version: # macOS support was introduced in 1.4
724 arch: !!python/tuple [macosx]
725 build: !!python/tuple [std]
726 conf: !!python/tuple [std]
730 name: babeltrace2-jgalar-staging
733 github_name: babeltrace
734 email_to: "jgalar@efficios.com"
739 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
742 - 'dev_{user}_babeltrace_{version}_{buildtype}':
744 arch: !!python/tuple [amd64]
745 build: !!python/tuple [std, oot, dist, oot-dist]
746 conf: !!python/tuple [std, static, prod, min]
747 - 'dev_{user}_babeltrace_{version}_{buildtype}':
748 buildtype: macosxbuild
749 arch: !!python/tuple [macosx]
750 build: !!python/tuple [std]
751 conf: !!python/tuple [std, prod]
754 name: babeltrace-views