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 artifacts: 'build/**'
155 strategy: new-failure-and-fixed
156 matrix-notifier: only-parent
163 name: babeltrace_{version}_{buildtype}
166 <<: *babeltrace_build_axes_defaults
167 <<: *babeltrace_build_builders_defaults
168 <<: *babeltrace_build_publishers_defaults
169 <<: *babeltrace_build_publishers_prod
172 name: babeltrace_{version}_winbuild
175 <<: *babeltrace_build_axes_defaults
176 <<: *babeltrace_build_builders_win
177 <<: *babeltrace_build_publishers_defaults
178 <<: *babeltrace_build_publishers_prod
181 name: dev_{user}_babeltrace_{version}_{buildtype}
184 <<: *babeltrace_build_axes_defaults
185 <<: *babeltrace_build_builders_defaults
186 <<: *babeltrace_build_publishers_defaults
189 name: babeltrace_{version}_cppcheck
198 rm -f babeltrace-cppcheck.xml
199 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> babeltrace-cppcheck.xml
203 artifacts: 'babeltrace-cppcheck.xml'
206 pattern: 'babeltrace-cppcheck.xml'
209 name: babeltrace_{version}_scan-build
219 !include-raw-escape: scripts/common/scan-build.sh
224 dir: 'scan-build-archive/'
228 name: babeltrace_{version}_coverity
241 - credentials-binding:
242 - username-password-separated:
243 credential-id: babeltrace_coverity_token
244 username: COVERITY_SCAN_PROJECT_NAME
245 password: COVERITY_SCAN_TOKEN
248 !include-raw-escape: scripts/common/coverity.sh
253 artifacts: 'analysis-results.tgz,cov-int/**'
257 name: babeltrace_{version}_pylint
269 project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings
270 which-build: last-successful
273 target: 'deps/babeltrace'
275 !include-raw-escape: scripts/babeltrace/pylint.sh
279 artifacts: 'pep8.out,pylint.out'
292 recipients: 'ci-notification@lists.lttng.org'
293 notify-every-unstable-build: true
294 send-to-individuals: false
296 # Use - in version number since yaml anchor do not support dot
297 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
298 name: 'babeltrace_version_glib_anchor'
304 properties-content: |
305 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
306 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
311 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
312 tar xvf glib-2.22.5.tar.gz
315 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
320 !include-raw-escape: scripts/babeltrace/build.sh
323 name: babeltrace_{version}_glib-2.22.5
327 <<: *babeltrace_version_glib-2-22-5_anchor
330 name: dev_{user}_babeltrace_{version}_glib-2.22.5
331 <<: *babeltrace_version_glib-2-22-5_anchor
337 github_user: efficios
338 github_name: babeltrace
345 - 'babeltrace_{version}_{buildtype}':
347 arch: !!python/tuple [x86-32, x86-64]
348 build: !!python/tuple [std, oot, dist]
349 conf: !!python/tuple [std, static, python-bindings]
350 - 'babeltrace_{version}_{buildtype}':
351 buildtype: clangbuild
352 arch: !!python/tuple [x86-32, x86-64]
353 build: !!python/tuple [clang]
354 conf: !!python/tuple [std, static]
355 - 'babeltrace_{version}_{buildtype}':
357 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
358 build: !!python/tuple [std]
359 conf: !!python/tuple [std, static, python-bindings]
360 - 'babeltrace_{version}_{buildtype}':
362 arch: !!python/tuple [sles12sp2]
363 build: !!python/tuple [std]
364 conf: !!python/tuple [std]
365 - 'babeltrace_{version}_{buildtype}':
366 buildtype: solarisbuild
367 arch: !!python/tuple [solaris10, solaris11]
368 build: !!python/tuple [std]
369 conf: !!python/tuple [std, static]
370 - 'babeltrace_{version}_{buildtype}':
371 buildtype: macosxbuild
372 arch: !!python/tuple [macosx]
373 build: !!python/tuple [std]
374 conf: !!python/tuple [std]
379 - 'babeltrace_{version}_winbuild':
380 arch: !!python/tuple [cygwin, cygwin64, msys2-mingw32, msys2-mingw64]
381 build: !!python/tuple [std]
382 conf: !!python/tuple [std]
385 - 'babeltrace_{version}_winbuild':
386 arch: !!python/tuple [cygwin, cygwin64]
387 build: !!python/tuple [std]
388 conf: !!python/tuple [std]
391 - 'babeltrace_{version}_cppcheck'
392 - 'babeltrace_{version}_scan-build'
393 - 'babeltrace_{version}_pylint'
394 - 'babeltrace_{version}_coverity':
396 - 'babeltrace_{version}_glib-2.22.5':
398 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
401 github_name: babeltrace
404 - 'dev_{user}_babeltrace_{version}_{buildtype}':
407 github_name: babeltrace
414 arch: !!python/tuple [x86-32, x86-64]
415 build: !!python/tuple [std, oot, dist]
416 conf: !!python/tuple [std, static, python-bindings]
417 - 'dev_{user}_babeltrace_{version}_{buildtype}':
420 github_name: babeltrace
421 buildtype: macosxbuild
426 arch: !!python/tuple [macosx]
427 build: !!python/tuple [std]
428 conf: !!python/tuple [std]