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)'
169 recipients: '{obj:email_to}'
178 second-failure: false
183 fixed-unhealthy: true
184 still-unstable: false
186 matrix-trigger: only-parent
191 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
192 name: 'babeltrace_build_publishers_prod'
195 results: 'tap/**/*.log'
196 failed-tests-mark-build-as-failure: true
197 todo-is-failure: false
200 - 'GNU Make + GNU C Compiler (gcc)'
208 artifacts: 'build/**'
211 recipients: '{obj:email_to}'
212 reply-to: ci-notification@lists.lttng.org
221 second-failure: false
226 fixed-unhealthy: true
227 still-unstable: false
229 matrix-trigger: only-parent
233 - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit
234 name: 'babeltrace_build_publishers_gerrit'
237 results: 'tap/**/*.log'
238 failed-tests-mark-build-as-failure: true
239 todo-is-failure: false
242 - 'GNU Make + GNU C Compiler (gcc)'
250 artifacts: 'build/**'
257 name: babeltrace_{version}_{buildtype}
260 <<: *babeltrace_build_axes_defaults
261 <<: *babeltrace_build_builders_defaults
262 <<: *babeltrace_build_publishers_prod
265 name: babeltrace_{version}_{cctype}
268 <<: *babeltrace_build_axes_cc
269 <<: *babeltrace_build_builders_defaults
270 <<: *babeltrace_build_publishers_prod
273 name: babeltrace_{version}_winbuild
276 # Use jgit on windows to work around path too long error
279 url: git://github.com/{github_user}/{github_name}.git
281 browser-url: https://github.com/{github_user}/{github_name}
284 basedir: src/babeltrace
288 <<: *babeltrace_build_axes_defaults
289 <<: *babeltrace_build_builders_win
290 <<: *babeltrace_build_publishers_prod
293 name: dev_{user}_babeltrace_{version}_{buildtype}
296 <<: *babeltrace_build_axes_defaults
297 <<: *babeltrace_build_builders_defaults
298 <<: *babeltrace_build_publishers_dev
301 name: dev_gerrit_babeltrace_{buildtype}
307 url: https://review.lttng.org/babeltrace
308 refspec: 'refs/changes/*:refs/changes/*'
311 basedir: src/babeltrace
317 - comment-added-event:
318 approval-category: 'CI-Build'
321 - project-compare-type: 'PLAIN'
322 project-pattern: 'babeltrace'
324 - branch-compare-type: 'ANT'
326 trigger-for-unreviewed-patches: true
329 node: 'master' # Applies only to matrix flyweight task
331 combination-filter: |
332 (build=="std" && conf=="python-bindings") || (arch=="amd64")
345 values: '{obj:build}'
347 <<: *babeltrace_build_builders_defaults
348 <<: *babeltrace_build_publishers_gerrit
352 properties-content: |
353 PROJECT_NAME=babeltrace
357 url: https://github.com/{github_user}/{github_name}
360 name: babeltrace_{version}_cppcheck
369 rm -f cppcheck-result.xml
370 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml
374 artifacts: 'cppcheck-result.xml'
377 pattern: 'cppcheck-result.xml'
380 name: babeltrace_{version}_scan-build
390 !include-raw-escape: scripts/common/scan-build.sh
395 dir: 'scan-build-archive/'
399 name: babeltrace_{version}_coverity
412 - credentials-binding:
413 - username-password-separated:
414 credential-id: babeltrace_coverity_token
415 username: COVERITY_SCAN_PROJECT_NAME
416 password: COVERITY_SCAN_TOKEN
419 !include-raw-escape: scripts/common/coverity.sh
424 artifacts: 'analysis-results.tgz,cov-int/**'
428 name: babeltrace_{version}_pylint
440 project: babeltrace_{version}_build/arch=amd64,build=std,conf=python-bindings
441 which-build: last-successful
444 target: 'deps/babeltrace'
446 !include-raw-escape: scripts/babeltrace/pylint.sh
450 artifacts: 'pep8.out,pylint.out'
463 recipients: '{obj:email_to}'
464 reply-to: ci-notification@lists.lttng.org
473 second-failure: false
478 fixed-unhealthy: true
479 still-unstable: false
481 matrix-trigger: only-parent
485 # Use - in version number since yaml anchor do not support dot
486 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
487 name: 'babeltrace_version_glib_anchor'
493 properties-content: |
494 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
495 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
500 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
501 tar xvf glib-2.22.5.tar.gz
504 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
509 !include-raw-escape: scripts/babeltrace/build.sh
512 name: babeltrace_{version}_glib-2.22.5
516 <<: *babeltrace_version_glib-2-22-5_anchor
519 recipients: '{obj:email_to}'
520 reply-to: ci-notification@lists.lttng.org
529 second-failure: false
534 fixed-unhealthy: true
535 still-unstable: false
537 matrix-trigger: only-parent
542 name: dev_{user}_babeltrace_{version}_glib-2.22.5
543 <<: *babeltrace_version_glib-2-22-5_anchor
547 recipients: '{obj:email_to}'
548 reply-to: ci-notification@lists.lttng.org
557 second-failure: false
562 fixed-unhealthy: true
563 still-unstable: false
565 matrix-trigger: only-parent
572 github_user: efficios
573 github_name: babeltrace
574 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
580 - 'babeltrace_{version}_{buildtype}':
582 arch: !!python/tuple [amd64]
583 build: !!python/tuple [std, oot, dist]
584 conf: !!python/tuple [std, static, python-bindings, production]
588 - 'babeltrace_{version}_{buildtype}':
590 arch: !!python/tuple [amd64]
591 build: !!python/tuple [std, oot, dist]
592 conf: !!python/tuple [std, static, python-bindings]
595 - 'babeltrace_{version}_{buildtype}':
597 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
598 build: !!python/tuple [std]
599 conf: !!python/tuple [std, static, python-bindings]
600 - 'babeltrace_{version}_{buildtype}':
602 arch: !!python/tuple [sles12sp2]
603 build: !!python/tuple [std]
604 conf: !!python/tuple [std]
605 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]
620 version: # macOS support was introduced in 1.4
624 - 'babeltrace_{version}_{cctype}':
626 arch: !!python/tuple [amd64]
627 build: !!python/tuple [std]
628 conf: !!python/tuple [std, static]
629 cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7]
630 - 'babeltrace_{version}_winbuild':
631 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
632 build: !!python/tuple [std]
633 conf: !!python/tuple [std]
634 version: # Mingw support was introduced in 2.0
637 - 'babeltrace_{version}_winbuild':
638 arch: !!python/tuple [cygwin, cygwin64]
639 build: !!python/tuple [std]
640 conf: !!python/tuple [std]
641 version: # Cygwin support was introduced in 1.5
643 - 'babeltrace_{version}_cppcheck'
644 - 'babeltrace_{version}_scan-build'
645 - 'babeltrace_{version}_pylint'
646 - 'babeltrace_{version}_coverity':
648 - 'babeltrace_{version}_glib-2.22.5':
653 name: babeltrace-jgalar-staging
656 github_name: babeltrace
657 email_to: "jgalar@efficios.com"
664 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
667 - 'dev_{user}_babeltrace_{version}_{buildtype}':
669 arch: !!python/tuple [amd64]
670 build: !!python/tuple [std, oot, dist]
671 conf: !!python/tuple [std, static, python-bindings]
672 - 'dev_{user}_babeltrace_{version}_{buildtype}':
673 buildtype: macosxbuild
674 version: # macOS support was introduced in 1.4
678 arch: !!python/tuple [macosx]
679 build: !!python/tuple [std]
680 conf: !!python/tuple [std]
684 name: gerrit-babeltrace
685 github_user: efficios
686 github_name: babeltrace
688 - 'dev_gerrit_babeltrace_{buildtype}':
690 arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386]
691 build: !!python/tuple [std, oot, dist]
692 conf: !!python/tuple [std, static, python-bindings, production]