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_defaults: &babeltrace_build_publishers_defaults
132 name: 'babeltrace_build_publishers_defaults'
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 - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod
149 name: 'babeltrace_build_publishers_prod'
152 results: 'tap/**/*.log'
153 failed-tests-mark-build-as-failure: true
154 todo-is-failure: false
157 - 'GNU Make + GNU C Compiler (gcc)'
165 artifacts: 'build/**'
168 strategy: new-failure-and-fixed
169 matrix-notifier: only-parent
176 name: babeltrace_{version}_{buildtype}
179 <<: *babeltrace_build_axes_defaults
180 <<: *babeltrace_build_builders_defaults
181 <<: *babeltrace_build_publishers_prod
184 name: babeltrace_{version}_winbuild
187 <<: *babeltrace_build_axes_defaults
188 <<: *babeltrace_build_builders_win
189 <<: *babeltrace_build_publishers_prod
192 name: dev_{user}_babeltrace_{version}_{buildtype}
195 <<: *babeltrace_build_axes_defaults
196 <<: *babeltrace_build_builders_defaults
197 <<: *babeltrace_build_publishers_defaults
200 name: babeltrace_{version}_cppcheck
209 rm -f babeltrace-cppcheck.xml
210 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> babeltrace-cppcheck.xml
214 artifacts: 'babeltrace-cppcheck.xml'
217 pattern: 'babeltrace-cppcheck.xml'
220 name: babeltrace_{version}_scan-build
230 !include-raw-escape: scripts/common/scan-build.sh
235 dir: 'scan-build-archive/'
239 name: babeltrace_{version}_coverity
252 - credentials-binding:
253 - username-password-separated:
254 credential-id: babeltrace_coverity_token
255 username: COVERITY_SCAN_PROJECT_NAME
256 password: COVERITY_SCAN_TOKEN
259 !include-raw-escape: scripts/common/coverity.sh
264 artifacts: 'analysis-results.tgz,cov-int/**'
268 name: babeltrace_{version}_pylint
280 project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings
281 which-build: last-successful
284 target: 'deps/babeltrace'
286 !include-raw-escape: scripts/babeltrace/pylint.sh
290 artifacts: 'pep8.out,pylint.out'
303 recipients: 'ci-notification@lists.lttng.org'
304 notify-every-unstable-build: true
305 send-to-individuals: false
307 # Use - in version number since yaml anchor do not support dot
308 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
309 name: 'babeltrace_version_glib_anchor'
315 properties-content: |
316 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
317 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
322 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
323 tar xvf glib-2.22.5.tar.gz
326 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
331 !include-raw-escape: scripts/babeltrace/build.sh
334 name: babeltrace_{version}_glib-2.22.5
338 <<: *babeltrace_version_glib-2-22-5_anchor
341 name: dev_{user}_babeltrace_{version}_glib-2.22.5
342 <<: *babeltrace_version_glib-2-22-5_anchor
348 github_user: efficios
349 github_name: babeltrace
357 - 'babeltrace_{version}_{buildtype}':
359 arch: !!python/tuple [x86-32, x86-64]
360 build: !!python/tuple [std, oot, dist]
361 conf: !!python/tuple [std, static, python-bindings]
362 - 'babeltrace_{version}_{buildtype}':
363 buildtype: clangbuild
364 arch: !!python/tuple [x86-32, x86-64]
365 build: !!python/tuple [clang]
366 conf: !!python/tuple [std, static]
367 - 'babeltrace_{version}_{buildtype}':
369 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
370 build: !!python/tuple [std]
371 conf: !!python/tuple [std, static, python-bindings]
372 - 'babeltrace_{version}_{buildtype}':
374 arch: !!python/tuple [sles12sp2]
375 build: !!python/tuple [std]
376 conf: !!python/tuple [std]
377 - 'babeltrace_{version}_{buildtype}':
378 buildtype: solarisbuild
379 arch: !!python/tuple [sol10-i386, sol11-i386]
380 build: !!python/tuple [std]
381 conf: !!python/tuple [std, static]
382 - 'babeltrace_{version}_{buildtype}':
383 buildtype: macosxbuild
384 arch: !!python/tuple [macosx]
385 build: !!python/tuple [std]
386 conf: !!python/tuple [std]
387 version: # macOS support was introduced in 1.4
392 - 'babeltrace_{version}_winbuild':
393 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
394 build: !!python/tuple [std]
395 conf: !!python/tuple [std]
396 version: # Mingw support was introduced in 2.0
399 - 'babeltrace_{version}_winbuild':
400 arch: !!python/tuple [cygwin, cygwin64]
401 build: !!python/tuple [std]
402 conf: !!python/tuple [std]
403 version: # Cygwin support was introduced in 1.5
405 - 'babeltrace_{version}_cppcheck'
406 - 'babeltrace_{version}_scan-build'
407 - 'babeltrace_{version}_pylint'
408 - 'babeltrace_{version}_coverity':
410 - 'babeltrace_{version}_glib-2.22.5':
415 name: babeltrace-jgalar-staging
418 github_name: babeltrace
426 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
429 - 'dev_{user}_babeltrace_{version}_{buildtype}':
431 arch: !!python/tuple [x86-32, x86-64]
432 build: !!python/tuple [std, oot, dist]
433 conf: !!python/tuple [std, static, python-bindings]
434 - 'dev_{user}_babeltrace_{version}_{buildtype}':
435 buildtype: macosxbuild
436 version: # macOS support was introduced in 1.4
441 arch: !!python/tuple [macosx]
442 build: !!python/tuple [std]
443 conf: !!python/tuple [std]