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 failed-tests-mark-build-as-failure: true
158 todo-is-failure: false
161 - 'GNU Make + GNU C Compiler (gcc)'
172 recipients: '{obj:email_to}'
181 second-failure: false
186 fixed-unhealthy: true
187 still-unstable: false
189 matrix-trigger: only-parent
194 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
195 name: 'babeltrace_build_publishers_prod'
198 results: 'tap/**/*.log'
199 failed-tests-mark-build-as-failure: true
200 todo-is-failure: false
203 - 'GNU Make + GNU C Compiler (gcc)'
211 artifacts: 'build/**,tap/**'
214 recipients: '{obj:email_to}'
215 reply-to: ci-notification@lists.lttng.org
224 second-failure: false
229 fixed-unhealthy: true
230 still-unstable: false
232 matrix-trigger: only-parent
236 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
237 name: 'babeltrace_build_publishers_gerrit'
240 results: 'tap/**/*.log'
241 failed-tests-mark-build-as-failure: true
242 todo-is-failure: false
245 - 'GNU Make + GNU C Compiler (gcc)'
253 artifacts: 'build/**,tap/**'
260 name: babeltrace_{version}_{buildtype}
263 <<: *babeltrace_build_axes_defaults
264 <<: *babeltrace_build_builders_defaults
265 <<: *babeltrace_build_publishers_prod
268 name: babeltrace_{version}_{cctype}
271 <<: *babeltrace_build_axes_cc
272 <<: *babeltrace_build_builders_defaults
273 <<: *babeltrace_build_publishers_prod
276 name: babeltrace_{version}_winbuild
279 # Use jgit on windows to work around path too long error
282 url: git://github.com/{github_user}/{github_name}.git
284 browser-url: https://github.com/{github_user}/{github_name}
287 basedir: src/babeltrace
291 <<: *babeltrace_build_axes_defaults
292 <<: *babeltrace_build_builders_win
293 <<: *babeltrace_build_publishers_prod
296 name: dev_{user}_babeltrace_{version}_{buildtype}
299 <<: *babeltrace_build_axes_defaults
300 <<: *babeltrace_build_builders_defaults
301 <<: *babeltrace_build_publishers_dev
304 name: dev_gerrit_babeltrace_{buildtype}
310 url: https://review.lttng.org/babeltrace
311 refspec: 'refs/changes/*:refs/changes/*'
314 basedir: src/babeltrace
320 - comment-added-event:
321 approval-category: 'CI-Build'
324 - project-compare-type: 'PLAIN'
325 project-pattern: 'babeltrace'
327 - branch-compare-type: 'ANT'
329 trigger-for-unreviewed-patches: true
332 node: 'master' # Applies only to matrix flyweight task
334 combination-filter: |
335 (build=="std" && conf=="std") || (arch=="amd64")
348 values: '{obj:build}'
350 <<: *babeltrace_build_builders_defaults
351 <<: *babeltrace_build_publishers_gerrit
355 properties-content: |
356 PROJECT_NAME=babeltrace
360 url: https://github.com/{github_user}/{github_name}
363 name: babeltrace_{version}_cppcheck
372 rm -f cppcheck-result.xml
373 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
377 artifacts: 'cppcheck-result.xml'
380 pattern: 'cppcheck-result.xml'
383 name: babeltrace_{version}_scan-build
393 !include-raw-escape: scripts/common/scan-build.sh
398 dir: 'scan-build-archive/'
402 name: babeltrace_{version}_coverity
415 - credentials-binding:
416 - username-password-separated:
417 credential-id: babeltrace_coverity_token
418 username: COVERITY_SCAN_PROJECT_NAME
419 password: COVERITY_SCAN_TOKEN
422 !include-raw-escape: scripts/common/coverity.sh
427 artifacts: 'analysis-results.tgz,cov-int/**'
431 name: babeltrace_{version}_pylint
443 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
444 which-build: last-successful
447 target: 'deps/babeltrace'
449 !include-raw-escape: scripts/babeltrace/pylint.sh
453 artifacts: 'pep8.out,pylint.out'
466 recipients: '{obj:email_to}'
467 reply-to: ci-notification@lists.lttng.org
476 second-failure: false
481 fixed-unhealthy: true
482 still-unstable: false
484 matrix-trigger: only-parent
488 # Use - in version number since yaml anchor do not support dot
489 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
490 name: 'babeltrace_version_glib_anchor'
496 properties-content: |
497 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
498 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
503 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
504 tar xvf glib-2.22.5.tar.gz
507 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
512 !include-raw-escape: scripts/babeltrace/build.sh
515 name: babeltrace_{version}_glib-2.22.5
519 <<: *babeltrace_version_glib-2-22-5_anchor
525 recipients: '{obj:email_to}'
526 reply-to: ci-notification@lists.lttng.org
535 second-failure: false
540 fixed-unhealthy: true
541 still-unstable: false
543 matrix-trigger: only-parent
548 name: dev_{user}_babeltrace_{version}_glib-2.22.5
549 <<: *babeltrace_version_glib-2-22-5_anchor
553 recipients: '{obj:email_to}'
554 reply-to: ci-notification@lists.lttng.org
563 second-failure: false
568 fixed-unhealthy: true
569 still-unstable: false
571 matrix-trigger: only-parent
580 regex: 'babeltrace[-_].*'
586 github_user: efficios
587 github_name: babeltrace
588 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
592 - 'babeltrace_{version}_{buildtype}':
594 arch: !!python/tuple [amd64]
595 build: !!python/tuple [std, oot, dist, oot-dist]
596 conf: !!python/tuple [std, static, python-bindings]
597 - 'babeltrace_{version}_{buildtype}':
599 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
600 build: !!python/tuple [std]
601 conf: !!python/tuple [std, python-bindings]
602 - 'babeltrace_{version}_{buildtype}':
604 arch: !!python/tuple [sles12sp2]
605 build: !!python/tuple [std]
606 conf: !!python/tuple [std]
607 version: # // support 1.3 on SLES12
610 - 'babeltrace_{version}_{buildtype}':
611 buildtype: solarisbuild
612 arch: !!python/tuple [sol10-i386, sol11-i386]
613 build: !!python/tuple [std]
614 conf: !!python/tuple [std, static]
615 - 'babeltrace_{version}_{buildtype}':
616 buildtype: macosxbuild
617 arch: !!python/tuple [macosx]
618 build: !!python/tuple [std]
619 conf: !!python/tuple [std, python-bindings]
620 - 'babeltrace_{version}_{cctype}':
622 arch: !!python/tuple [amd64]
623 build: !!python/tuple [std]
624 conf: !!python/tuple [std, static]
625 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
626 - 'babeltrace_{version}_winbuild':
627 arch: !!python/tuple [cygwin, cygwin64]
628 build: !!python/tuple [std]
629 conf: !!python/tuple [std]
630 - 'babeltrace_{version}_cppcheck'
631 - 'babeltrace_{version}_scan-build'
632 - 'babeltrace_{version}_pylint'
636 github_user: efficios
637 github_name: babeltrace
638 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
643 - 'babeltrace_{version}_{buildtype}':
645 arch: !!python/tuple [amd64]
646 build: !!python/tuple [std, oot, dist, oot-dist]
647 conf: !!python/tuple [std, static, prod, min]
648 - 'babeltrace_{version}_{buildtype}':
650 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
651 build: !!python/tuple [std]
652 conf: !!python/tuple [std, prod]
653 - 'babeltrace_{version}_{buildtype}':
655 arch: !!python/tuple [sles12sp2]
656 build: !!python/tuple [std]
657 conf: !!python/tuple [std, prod]
658 - 'babeltrace_{version}_{buildtype}':
659 buildtype: macosxbuild
660 arch: !!python/tuple [macosx]
661 build: !!python/tuple [std]
662 conf: !!python/tuple [std, prod]
663 - 'babeltrace_{version}_{cctype}':
665 arch: !!python/tuple [amd64]
666 build: !!python/tuple [std]
667 conf: !!python/tuple [std, static, prod]
668 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
669 - 'babeltrace_{version}_winbuild':
670 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
671 build: !!python/tuple [std]
672 conf: !!python/tuple [std]
673 - 'babeltrace_{version}_cppcheck'
674 - 'babeltrace_{version}_scan-build'
675 - 'babeltrace_{version}_pylint'
676 - 'babeltrace_{version}_coverity':
678 - 'babeltrace_{version}_glib-2.22.5':
682 name: gerrit-babeltrace
683 github_user: efficios
684 github_name: babeltrace
686 - 'dev_gerrit_babeltrace_{buildtype}':
688 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
689 build: !!python/tuple [std, oot, dist, oot-dist]
690 conf: !!python/tuple [std, static, prod, min]
694 name: babeltrace-jgalar-staging
697 github_name: babeltrace
698 email_to: "jgalar@efficios.com"
703 - 'dev_{user}_babeltrace_{version}_{buildtype}':
705 arch: !!python/tuple [amd64]
706 build: !!python/tuple [std, oot, dist, oot-dist]
707 conf: !!python/tuple [std, static, python-bindings]
708 - 'dev_{user}_babeltrace_{version}_{buildtype}':
709 buildtype: macosxbuild
710 version: # macOS support was introduced in 1.4
712 arch: !!python/tuple [macosx]
713 build: !!python/tuple [std]
714 conf: !!python/tuple [std]
718 name: babeltrace2-jgalar-staging
721 github_name: babeltrace
722 email_to: "jgalar@efficios.com"
727 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
730 - 'dev_{user}_babeltrace_{version}_{buildtype}':
732 arch: !!python/tuple [amd64]
733 build: !!python/tuple [std, oot, dist, oot-dist]
734 conf: !!python/tuple [std, static, prod, min]
735 - 'dev_{user}_babeltrace_{version}_{buildtype}':
736 buildtype: macosxbuild
737 arch: !!python/tuple [macosx]
738 build: !!python/tuple [std]
739 conf: !!python/tuple [std, prod]
742 name: babeltrace-views