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_builders_defaults: &babeltrace_build_builders_defaults
73 name: 'babeltrace_build_builders_defaults'
76 !include-raw-escape: scripts/babeltrace/build.sh
78 - babeltrace_build_builders_win: &babeltrace_build_builders_win
79 name: 'babeltrace_build_builders_win'
82 condition-kind: strings-match
83 on-evaluation-failure: run
84 condition-string1: '${{arch}}'
85 condition-string2: 'cygwin'
89 - scripts/common/cygwin-shebang
90 - scripts/common/cygwin-prefix
91 - scripts/babeltrace/build.sh
93 condition-kind: strings-match
94 on-evaluation-failure: run
95 condition-string1: '${{arch}}'
96 condition-string2: 'cygwin64'
100 - scripts/common/cygwin64-shebang
101 - scripts/common/cygwin-prefix
102 - scripts/babeltrace/build.sh
104 condition-kind: strings-match
105 on-evaluation-failure: run
106 condition-string1: '${{arch}}'
107 condition-string2: 'msys2-mingw32'
110 properties-content: 'MSYSTEM=MINGW32'
113 - scripts/common/msys2-shebang
114 - scripts/common/cygwin-prefix
115 - scripts/babeltrace/build.sh
117 condition-kind: strings-match
118 on-evaluation-failure: run
119 condition-string1: '${{arch}}'
120 condition-string2: 'msys2-mingw64'
123 properties-content: 'MSYSTEM=MINGW64'
126 - scripts/common/msys2-shebang
127 - scripts/common/cygwin-prefix
128 - scripts/babeltrace/build.sh
131 - babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev
132 name: 'babeltrace_build_publishers_dev'
135 results: 'tap/**/*.log'
136 failed-tests-mark-build-as-failure: true
137 todo-is-failure: false
140 - 'GNU Make + GNU C Compiler (gcc)'
148 recipients: '{obj:email_to}'
157 second-failure: false
162 fixed-unhealthy: true
163 still-unstable: false
165 matrix-trigger: only-parent
170 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
171 name: 'babeltrace_build_publishers_prod'
174 results: 'tap/**/*.log'
175 failed-tests-mark-build-as-failure: true
176 todo-is-failure: false
179 - 'GNU Make + GNU C Compiler (gcc)'
187 artifacts: 'build/**'
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
215 name: babeltrace_{version}_{buildtype}
218 <<: *babeltrace_build_axes_defaults
219 <<: *babeltrace_build_builders_defaults
220 <<: *babeltrace_build_publishers_prod
223 name: babeltrace_{version}_winbuild
226 <<: *babeltrace_build_axes_defaults
227 <<: *babeltrace_build_builders_win
228 <<: *babeltrace_build_publishers_prod
231 name: dev_{user}_babeltrace_{version}_{buildtype}
234 <<: *babeltrace_build_axes_defaults
235 <<: *babeltrace_build_builders_defaults
236 <<: *babeltrace_build_publishers_dev
239 name: babeltrace_{version}_cppcheck
248 rm -f babeltrace-cppcheck.xml
249 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> babeltrace-cppcheck.xml
253 artifacts: 'babeltrace-cppcheck.xml'
256 pattern: 'babeltrace-cppcheck.xml'
259 name: babeltrace_{version}_scan-build
269 !include-raw-escape: scripts/common/scan-build.sh
274 dir: 'scan-build-archive/'
278 name: babeltrace_{version}_coverity
291 - credentials-binding:
292 - username-password-separated:
293 credential-id: babeltrace_coverity_token
294 username: COVERITY_SCAN_PROJECT_NAME
295 password: COVERITY_SCAN_TOKEN
298 !include-raw-escape: scripts/common/coverity.sh
303 artifacts: 'analysis-results.tgz,cov-int/**'
307 name: babeltrace_{version}_pylint
319 project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings
320 which-build: last-successful
323 target: 'deps/babeltrace'
325 !include-raw-escape: scripts/babeltrace/pylint.sh
329 artifacts: 'pep8.out,pylint.out'
342 recipients: '{obj:email_to}'
343 reply-to: ci-notification@lists.lttng.org
352 second-failure: false
357 fixed-unhealthy: true
358 still-unstable: false
360 matrix-trigger: only-parent
364 # Use - in version number since yaml anchor do not support dot
365 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
366 name: 'babeltrace_version_glib_anchor'
372 properties-content: |
373 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
374 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
379 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
380 tar xvf glib-2.22.5.tar.gz
383 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
388 !include-raw-escape: scripts/babeltrace/build.sh
391 name: babeltrace_{version}_glib-2.22.5
395 <<: *babeltrace_version_glib-2-22-5_anchor
398 recipients: '{obj:email_to}'
399 reply-to: ci-notification@lists.lttng.org
408 second-failure: false
413 fixed-unhealthy: true
414 still-unstable: false
416 matrix-trigger: only-parent
421 name: dev_{user}_babeltrace_{version}_glib-2.22.5
422 <<: *babeltrace_version_glib-2-22-5_anchor
426 recipients: '{obj:email_to}'
427 reply-to: ci-notification@lists.lttng.org
436 second-failure: false
441 fixed-unhealthy: true
442 still-unstable: false
444 matrix-trigger: only-parent
451 github_user: efficios
452 github_name: babeltrace
453 email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
461 - 'babeltrace_{version}_{buildtype}':
463 arch: !!python/tuple [x86-32, x86-64]
464 build: !!python/tuple [std, oot, dist]
465 conf: !!python/tuple [std, static, python-bindings]
466 - 'babeltrace_{version}_{buildtype}':
467 buildtype: clangbuild
468 arch: !!python/tuple [x86-32, x86-64]
469 build: !!python/tuple [clang]
470 conf: !!python/tuple [std, static]
471 - 'babeltrace_{version}_{buildtype}':
473 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
474 build: !!python/tuple [std]
475 conf: !!python/tuple [std, static, python-bindings]
476 - 'babeltrace_{version}_{buildtype}':
478 arch: !!python/tuple [sles12sp2]
479 build: !!python/tuple [std]
480 conf: !!python/tuple [std]
481 - 'babeltrace_{version}_{buildtype}':
482 buildtype: solarisbuild
483 arch: !!python/tuple [sol10-i386, sol11-i386]
484 build: !!python/tuple [std]
485 conf: !!python/tuple [std, static]
486 - 'babeltrace_{version}_{buildtype}':
487 buildtype: macosxbuild
488 arch: !!python/tuple [macosx]
489 build: !!python/tuple [std]
490 conf: !!python/tuple [std]
491 version: # macOS support was introduced in 1.4
496 - 'babeltrace_{version}_winbuild':
497 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
498 build: !!python/tuple [std]
499 conf: !!python/tuple [std]
500 version: # Mingw support was introduced in 2.0
503 - 'babeltrace_{version}_winbuild':
504 arch: !!python/tuple [cygwin, cygwin64]
505 build: !!python/tuple [std]
506 conf: !!python/tuple [std]
507 version: # Cygwin support was introduced in 1.5
509 - 'babeltrace_{version}_cppcheck'
510 - 'babeltrace_{version}_scan-build'
511 - 'babeltrace_{version}_pylint'
512 - 'babeltrace_{version}_coverity':
514 - 'babeltrace_{version}_glib-2.22.5':
519 name: babeltrace-jgalar-staging
522 github_name: babeltrace
523 email_to: "jgalar@efficios.com"
531 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
534 - 'dev_{user}_babeltrace_{version}_{buildtype}':
536 arch: !!python/tuple [x86-32, x86-64]
537 build: !!python/tuple [std, oot, dist]
538 conf: !!python/tuple [std, static, python-bindings]
539 - 'dev_{user}_babeltrace_{version}_{buildtype}':
540 buildtype: macosxbuild
541 version: # macOS support was introduced in 1.4
546 arch: !!python/tuple [macosx]
547 build: !!python/tuple [std]
548 conf: !!python/tuple [std]