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
145 # Use - in version number since yaml anchor do not support dot
146 - babeltrace_build_builders_glib-2-28-6: &babeltrace_build_builders_glib-2-28-6
147 name: 'babeltrace_build_builders_glib-2-28-6'
150 properties-content: |
151 LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib
152 PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig
157 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz
158 tar xvf glib-2.28.6.tar.gz
161 ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT
162 make -j `nproc` >/dev/null 2>&1 # Hide warnings
166 - scripts/common/print.sh
167 - scripts/babeltrace/build.sh
169 - babeltrace_build_publishers_defaults: &babeltrace_build_publishers_defaults
170 name: 'babeltrace_build_publishers_defaults'
173 results: 'tap/**/*.log'
174 fail-if-no-results: true
175 failed-tests-mark-build-as-failure: true
176 todo-is-failure: false
179 - 'GNU Make + GNU C Compiler (gcc)'
187 artifacts: 'build/**,tap/**'
190 recipients: '{obj:email_to}'
191 reply-to: ci-notification@lists.lttng.org
200 second-failure: false
205 fixed-unhealthy: true
206 still-unstable: false
208 matrix-trigger: only-parent
212 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
213 name: 'babeltrace_build_publishers_gerrit'
216 results: 'tap/**/*.log'
217 fail-if-no-results: true
218 failed-tests-mark-build-as-failure: true
219 todo-is-failure: false
222 - 'GNU Make + GNU C Compiler (gcc)'
230 artifacts: 'build/**,tap/**'
237 name: babeltrace_{version}_{buildtype}
240 <<: *babeltrace_build_axes_defaults
241 <<: *babeltrace_build_builders_defaults
242 <<: *babeltrace_build_publishers_defaults
245 name: '{job_prefix}babeltrace_{version}_{buildtype}'
248 <<: *babeltrace_build_axes_defaults
249 <<: *babeltrace_build_builders_defaults
250 <<: *babeltrace_build_publishers_defaults
253 name: babeltrace_{version}_{cctype}
256 <<: *babeltrace_build_axes_cc
257 <<: *babeltrace_build_builders_defaults
258 <<: *babeltrace_build_publishers_defaults
261 name: babeltrace_{version}_winbuild
264 <<: *babeltrace_build_axes_defaults
265 <<: *babeltrace_build_builders_win
266 <<: *babeltrace_build_publishers_defaults
269 name: dev_gerrit_babeltrace_{buildtype}
275 url: https://review.lttng.org/babeltrace
276 refspec: 'refs/changes/*:refs/changes/*'
279 basedir: src/babeltrace
285 - comment-added-event:
286 approval-category: 'CI-Build'
289 - project-compare-type: 'PLAIN'
290 project-pattern: 'babeltrace'
292 - branch-compare-type: 'ANT'
296 node: 'master' # Applies only to matrix flyweight task
298 combination-filter: |
312 values: '{obj:build}'
314 <<: *babeltrace_build_builders_defaults
315 <<: *babeltrace_build_publishers_gerrit
319 properties-content: |
320 PROJECT_NAME=babeltrace
326 - 'gerrit-{buildtype}'
329 name: dev_gerrit_babeltrace_winbuild
335 url: https://review.lttng.org/babeltrace
336 refspec: 'refs/changes/*:refs/changes/*'
339 basedir: src/babeltrace
345 - comment-added-event:
346 approval-category: 'CI-Build'
349 - project-compare-type: 'PLAIN'
350 project-pattern: 'babeltrace'
352 - branch-compare-type: 'ANT'
357 properties-content: |
358 PROJECT_NAME=babeltrace
366 <<: *babeltrace_build_axes_defaults
367 <<: *babeltrace_build_builders_win
368 <<: *babeltrace_build_publishers_gerrit
371 name: babeltrace_{version}_release
381 url: https://github.com/{github_user}/{github_name}.git
383 browser-url: https://github.com/{github_user}/{github_name}
384 refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
386 - '*/tags/{version}.*'
387 basedir: src/babeltrace
391 !include-raw-escape: scripts/babeltrace/release.sh
395 results: 'tap/**/*.log'
396 fail-if-no-results: true
397 failed-tests-mark-build-as-failure: true
398 todo-is-failure: false
401 - 'GNU Make + GNU C Compiler (gcc)'
412 artifacts: 'out/**,tap/**'
416 name: dev_gerrit_babeltrace_pylint
422 url: https://review.lttng.org/babeltrace
423 refspec: 'refs/changes/*:refs/changes/*'
426 basedir: src/babeltrace
432 - comment-added-event:
433 approval-category: 'CI-Build'
436 - project-compare-type: 'PLAIN'
437 project-pattern: 'babeltrace'
439 - branch-compare-type: 'ANT'
446 !include-raw-escape: scripts/babeltrace/pylint.sh
450 properties-content: |
451 PROJECT_NAME=babeltrace
456 name: babeltrace_{version}_cppcheck
465 rm -f cppcheck-result.xml
466 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
470 artifacts: 'cppcheck-result.xml'
473 pattern: 'cppcheck-result.xml'
476 name: babeltrace_{version}_scan-build
486 !include-raw-escape: scripts/common/scan-build.sh
491 dir: 'scan-build-archive/'
495 name: babeltrace_{version}_coverity
508 - credentials-binding:
509 - username-password-separated:
510 credential-id: babeltrace_coverity_token
511 username: COVERITY_SCAN_PROJECT_NAME
512 password: COVERITY_SCAN_TOKEN
515 !include-raw-escape: scripts/common/coverity.sh
520 artifacts: 'analysis-results.tgz,cov-int/**'
524 name: babeltrace_{version}_pylint
534 !include-raw-escape: scripts/babeltrace/pylint.sh
538 artifacts: 'black.out,flake8.out'
540 recipients: '{obj:email_to}'
541 reply-to: ci-notification@lists.lttng.org
550 second-failure: false
555 fixed-unhealthy: true
556 still-unstable: false
558 matrix-trigger: only-parent
563 name: babeltrace_{version}_glib-2.28.6
567 <<: *babeltrace_build_builders_glib-2-28-6
568 <<: *babeltrace_build_publishers_defaults
571 name: '{job_prefix}babeltrace_{version}_glib-2.28.6'
575 <<: *babeltrace_build_builders_glib-2-28-6
576 <<: *babeltrace_build_publishers_defaults
583 regex: 'babeltrace[-_].*'
590 github_user: efficios
591 github_name: babeltrace
592 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, prod, min]
602 - 'babeltrace_{version}_{buildtype}':
604 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
605 build: !!python/tuple [std]
606 conf: !!python/tuple [std, prod]
607 - 'babeltrace_{version}_{buildtype}':
609 arch: !!python/tuple [sles12sp5]
610 build: !!python/tuple [std]
611 conf: !!python/tuple [std, prod]
612 - 'babeltrace_{version}_{buildtype}':
614 arch: !!python/tuple [el8]
615 build: !!python/tuple [std]
616 conf: !!python/tuple [std, prod]
617 - 'babeltrace_{version}_{buildtype}':
618 buildtype: macosbuild
619 arch: !!python/tuple [macos-amd64, macos-arm64]
620 build: !!python/tuple [std]
621 conf: !!python/tuple [std, prod]
622 - 'babeltrace_{version}_{buildtype}':
623 buildtype: freebsdbuild
624 arch: !!python/tuple [freebsd]
625 build: !!python/tuple [std]
626 conf: !!python/tuple [std, prod]
627 - 'babeltrace_{version}_{cctype}':
629 arch: !!python/tuple [amd64]
630 build: !!python/tuple [std]
631 conf: !!python/tuple [std, static, prod]
632 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
633 - 'babeltrace_{version}_winbuild':
634 arch: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64]
635 build: !!python/tuple [std]
636 conf: !!python/tuple [std]
637 - 'babeltrace_{version}_release':
639 - 'babeltrace_{version}_cppcheck'
640 - 'babeltrace_{version}_scan-build'
641 - 'babeltrace_{version}_pylint'
642 - 'babeltrace_{version}_coverity':
644 - 'babeltrace_{version}_glib-2.28.6':
648 name: gerrit-babeltrace
650 github_user: efficios
651 github_name: babeltrace
653 - 'dev_gerrit_babeltrace_{buildtype}':
655 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
656 build: !!python/tuple [std, oot, dist, oot-dist]
657 conf: !!python/tuple [std, static, prod, min]
658 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
659 - 'dev_gerrit_babeltrace_{buildtype}':
660 buildtype: macosbuild
661 arch: !!python/tuple [macos-amd64, macos-arm64]
662 build: !!python/tuple [std]
663 conf: !!python/tuple [std, prod]
665 - 'dev_gerrit_babeltrace_winbuild':
666 arch: !!python/tuple [cygwin64, msys2-mingw64]
667 build: !!python/tuple [std]
668 conf: !!python/tuple [std]
669 - 'dev_gerrit_babeltrace_pylint'
673 name: dev_upstream_babeltrace
674 job_prefix: dev_upstream_
675 github_user: efficios
676 github_name: babeltrace
677 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
681 - '{job_prefix}babeltrace_{version}_{buildtype}':
683 arch: !!python/tuple [amd64]
684 build: !!python/tuple [std, oot, dist, oot-dist]
685 conf: !!python/tuple [std, static, python-bindings]
686 - '{job_prefix}babeltrace_{version}_{buildtype}':
688 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
689 build: !!python/tuple [std]
690 conf: !!python/tuple [std, python-bindings]
691 - '{job_prefix}babeltrace_{version}_{buildtype}':
693 arch: !!python/tuple [sles12sp5]
694 build: !!python/tuple [std]
695 conf: !!python/tuple [std]
696 - '{job_prefix}babeltrace_{version}_{buildtype}':
698 arch: !!python/tuple [el8]
699 build: !!python/tuple [std]
700 conf: !!python/tuple [std]
704 name: babeltrace-jgalar-staging
705 job_prefix: 'dev_jgalar_'
707 github_name: babeltrace
708 email_to: "jgalar@efficios.com"
712 - '{job_prefix}babeltrace_{version}_{buildtype}':
714 arch: !!python/tuple [amd64]
715 build: !!python/tuple [std, oot, dist, oot-dist]
716 conf: !!python/tuple [std, static, python-bindings]
717 - '{job_prefix}babeltrace_{version}_{buildtype}':
718 buildtype: macosbuild
719 arch: !!python/tuple [macos-amd64, macos-arm64]
720 build: !!python/tuple [std]
721 conf: !!python/tuple [std]
725 name: babeltrace2-jgalar-staging
726 job_prefix: 'dev_jgalar_'
728 github_name: babeltrace
729 email_to: "jgalar@efficios.com"
734 - '{job_prefix}babeltrace_{version}_glib-2.28.6':
737 - '{job_prefix}babeltrace_{version}_{buildtype}':
739 arch: !!python/tuple [amd64]
740 build: !!python/tuple [std, oot, dist, oot-dist]
741 conf: !!python/tuple [std, static, prod, min]
742 - '{job_prefix}babeltrace_{version}_{buildtype}':
743 buildtype: macosbuild
744 arch: !!python/tuple [macos-amd64, macos-arm64]
745 build: !!python/tuple [std]
746 conf: !!python/tuple [std, prod]
749 name: babeltrace-views