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
46 PROJECT_NAME=babeltrace
50 url: https://github.com/{github_user}/{github_name}
54 - babeltrace_build_axes_defaults: &babeltrace_build_axes_defaults
55 name: 'babeltrace_build_axes_defaults'
57 node: 'master' # Applies only to matrix flyweight task
72 - babeltrace_build_axes_cc: &babeltrace_build_axes_cc
73 name: 'babeltrace_build_axes_cc'
75 node: 'master' # Applies only to matrix flyweight task
94 - babeltrace_build_builders_defaults: &babeltrace_build_builders_defaults
95 name: 'babeltrace_build_builders_defaults'
98 !include-raw-escape: scripts/babeltrace/build.sh
100 - babeltrace_build_builders_win: &babeltrace_build_builders_win
101 name: 'babeltrace_build_builders_win'
104 condition-kind: strings-match
105 on-evaluation-failure: run
106 condition-string1: '${{arch}}'
107 condition-string2: 'cygwin'
111 - scripts/common/cygwin-shebang
112 - scripts/common/cygwin-prefix
113 - scripts/babeltrace/build.sh
115 condition-kind: strings-match
116 on-evaluation-failure: run
117 condition-string1: '${{arch}}'
118 condition-string2: 'cygwin64'
122 - scripts/common/cygwin64-shebang
123 - scripts/common/cygwin-prefix
124 - scripts/babeltrace/build.sh
126 condition-kind: strings-match
127 on-evaluation-failure: run
128 condition-string1: '${{arch}}'
129 condition-string2: 'msys2-mingw32'
132 properties-content: 'MSYSTEM=MINGW32'
135 - scripts/common/msys2-shebang
136 - scripts/common/cygwin-prefix
137 - scripts/babeltrace/build.sh
139 condition-kind: strings-match
140 on-evaluation-failure: run
141 condition-string1: '${{arch}}'
142 condition-string2: 'msys2-mingw64'
145 properties-content: 'MSYSTEM=MINGW64'
148 - scripts/common/msys2-shebang
149 - scripts/common/cygwin-prefix
150 - scripts/babeltrace/build.sh
153 - babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev
154 name: 'babeltrace_build_publishers_dev'
157 results: 'tap/**/*.log'
158 failed-tests-mark-build-as-failure: true
159 todo-is-failure: false
162 - 'GNU Make + GNU C Compiler (gcc)'
170 recipients: '{obj:email_to}'
179 second-failure: false
184 fixed-unhealthy: true
185 still-unstable: false
187 matrix-trigger: only-parent
192 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
193 name: 'babeltrace_build_publishers_prod'
196 results: 'tap/**/*.log'
197 failed-tests-mark-build-as-failure: true
198 todo-is-failure: false
201 - 'GNU Make + GNU C Compiler (gcc)'
209 artifacts: 'build/**'
212 recipients: '{obj:email_to}'
213 reply-to: ci-notification@lists.lttng.org
222 second-failure: false
227 fixed-unhealthy: true
228 still-unstable: false
230 matrix-trigger: only-parent
234 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
235 name: 'babeltrace_build_publishers_gerrit'
238 results: 'tap/**/*.log'
239 failed-tests-mark-build-as-failure: true
240 todo-is-failure: false
243 - 'GNU Make + GNU C Compiler (gcc)'
251 artifacts: 'build/**'
258 name: babeltrace_{version}_{buildtype}
261 <<: *babeltrace_build_axes_defaults
262 <<: *babeltrace_build_builders_defaults
263 <<: *babeltrace_build_publishers_prod
266 name: babeltrace_{version}_{cctype}
269 <<: *babeltrace_build_axes_cc
270 <<: *babeltrace_build_builders_defaults
271 <<: *babeltrace_build_publishers_prod
274 name: babeltrace_{version}_winbuild
277 <<: *babeltrace_build_axes_defaults
278 <<: *babeltrace_build_builders_win
279 <<: *babeltrace_build_publishers_prod
282 name: dev_{user}_babeltrace_{version}_{buildtype}
285 <<: *babeltrace_build_axes_defaults
286 <<: *babeltrace_build_builders_defaults
287 <<: *babeltrace_build_publishers_dev
290 name: dev_gerrit_babeltrace_{buildtype}
296 url: https://review.lttng.org/babeltrace
297 refspec: 'refs/changes/*:refs/changes/*'
300 basedir: src/babeltrace
306 - comment-added-event:
307 approval-category: 'CI-Build'
310 - project-compare-type: 'PLAIN'
311 project-pattern: 'babeltrace'
313 - branch-compare-type: 'ANT'
315 trigger-for-unreviewed-patches: true
318 node: 'master' # Applies only to matrix flyweight task
320 combination-filter: |
321 (build=="std" && conf=="python-bindings") || (arch=="amd64")
334 values: '{obj:build}'
336 <<: *babeltrace_build_builders_defaults
337 <<: *babeltrace_build_publishers_gerrit
341 properties-content: |
342 PROJECT_NAME=babeltrace
346 url: https://github.com/{github_user}/{github_name}
349 name: babeltrace_{version}_cppcheck
358 rm -f cppcheck-result.xml
359 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
363 artifacts: 'cppcheck-result.xml'
366 pattern: 'cppcheck-result.xml'
369 name: babeltrace_{version}_scan-build
379 !include-raw-escape: scripts/common/scan-build.sh
384 dir: 'scan-build-archive/'
388 name: babeltrace_{version}_coverity
401 - credentials-binding:
402 - username-password-separated:
403 credential-id: babeltrace_coverity_token
404 username: COVERITY_SCAN_PROJECT_NAME
405 password: COVERITY_SCAN_TOKEN
408 !include-raw-escape: scripts/common/coverity.sh
413 artifacts: 'analysis-results.tgz,cov-int/**'
417 name: babeltrace_{version}_pylint
429 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
430 which-build: last-successful
433 target: 'deps/babeltrace'
435 !include-raw-escape: scripts/babeltrace/pylint.sh
439 artifacts: 'pep8.out,pylint.out'
452 recipients: '{obj:email_to}'
453 reply-to: ci-notification@lists.lttng.org
462 second-failure: false
467 fixed-unhealthy: true
468 still-unstable: false
470 matrix-trigger: only-parent
474 # Use - in version number since yaml anchor do not support dot
475 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
476 name: 'babeltrace_version_glib_anchor'
482 properties-content: |
483 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
484 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
489 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
490 tar xvf glib-2.22.5.tar.gz
493 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
498 !include-raw-escape: scripts/babeltrace/build.sh
501 name: babeltrace_{version}_glib-2.22.5
505 <<: *babeltrace_version_glib-2-22-5_anchor
508 recipients: '{obj:email_to}'
509 reply-to: ci-notification@lists.lttng.org
518 second-failure: false
523 fixed-unhealthy: true
524 still-unstable: false
526 matrix-trigger: only-parent
531 name: dev_{user}_babeltrace_{version}_glib-2.22.5
532 <<: *babeltrace_version_glib-2-22-5_anchor
536 recipients: '{obj:email_to}'
537 reply-to: ci-notification@lists.lttng.org
546 second-failure: false
551 fixed-unhealthy: true
552 still-unstable: false
554 matrix-trigger: only-parent
561 github_user: efficios
562 github_name: babeltrace
563 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
569 - 'babeltrace_{version}_{buildtype}':
571 arch: !!python/tuple [amd64]
572 build: !!python/tuple [std, oot, dist]
573 conf: !!python/tuple [std, static, python-bindings, production]
577 - 'babeltrace_{version}_{buildtype}':
579 arch: !!python/tuple [amd64]
580 build: !!python/tuple [std, oot, dist]
581 conf: !!python/tuple [std, static, python-bindings]
584 - 'babeltrace_{version}_{buildtype}':
586 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
587 build: !!python/tuple [std]
588 conf: !!python/tuple [std, static, python-bindings]
589 - 'babeltrace_{version}_{buildtype}':
591 arch: !!python/tuple [sles12sp2]
592 build: !!python/tuple [std]
593 conf: !!python/tuple [std]
594 version: # // support 1.3 on SLES12
599 - 'babeltrace_{version}_{buildtype}':
600 buildtype: solarisbuild
601 arch: !!python/tuple [sol10-i386, sol11-i386]
602 build: !!python/tuple [std]
603 conf: !!python/tuple [std, static]
604 - 'babeltrace_{version}_{buildtype}':
605 buildtype: macosxbuild
606 arch: !!python/tuple [macosx]
607 build: !!python/tuple [std]
608 conf: !!python/tuple [std]
609 version: # macOS support was introduced in 1.4
613 - 'babeltrace_{version}_{cctype}':
615 arch: !!python/tuple [amd64]
616 build: !!python/tuple [std]
617 conf: !!python/tuple [std, static]
618 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
619 - 'babeltrace_{version}_winbuild':
620 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
621 build: !!python/tuple [std]
622 conf: !!python/tuple [std]
623 version: # Mingw support was introduced in 2.0
626 - 'babeltrace_{version}_winbuild':
627 arch: !!python/tuple [cygwin, cygwin64]
628 build: !!python/tuple [std]
629 conf: !!python/tuple [std]
630 version: # Cygwin support was introduced in 1.5
632 - 'babeltrace_{version}_cppcheck'
633 - 'babeltrace_{version}_scan-build'
634 - 'babeltrace_{version}_pylint'
635 - 'babeltrace_{version}_coverity':
637 - 'babeltrace_{version}_glib-2.22.5':
642 name: babeltrace-jgalar-staging
645 github_name: babeltrace
646 email_to: "jgalar@efficios.com"
653 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
656 - 'dev_{user}_babeltrace_{version}_{buildtype}':
658 arch: !!python/tuple [amd64]
659 build: !!python/tuple [std, oot, dist]
660 conf: !!python/tuple [std, static, python-bindings]
661 - 'dev_{user}_babeltrace_{version}_{buildtype}':
662 buildtype: macosxbuild
663 version: # macOS support was introduced in 1.4
667 arch: !!python/tuple [macosx]
668 build: !!python/tuple [std]
669 conf: !!python/tuple [std]
673 name: gerrit-babeltrace
674 github_user: efficios
675 github_name: babeltrace
677 - 'dev_gerrit_babeltrace_{buildtype}':
679 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
680 build: !!python/tuple [std, oot, dist]
681 conf: !!python/tuple [std, static, python-bindings, production]