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
25 url: git://github.com/{github_user}/{github_name}.git
27 browser-url: https://github.com/{github_user}/{github_name}
30 basedir: src/babeltrace
40 PROJECT_NAME=babeltrace
44 url: https://github.com/{github_user}/{github_name}
49 - babeltrace_version_buildtype_anchor: &babeltrace_version_buildtype_anchor
50 name: 'babeltrace_version_buildtype_anchor'
54 node: 'master' # Applies only to matrix flyweight task
71 !include-raw-escape: scripts/babeltrace/build.sh
74 name: babeltrace_{version}_{buildtype}
75 <<: *babeltrace_version_buildtype_anchor
76 # TODO: Scan for open tasks
79 results: 'tap/**/*.log'
80 failed-tests-mark-build-as-failure: true
81 todo-is-failure: false
84 - 'GNU Make + GNU C Compiler (gcc)'
95 strategy: new-failure-and-fixed
96 matrix-notifier: only-parent
101 name: dev_{user}_babeltrace_{version}_{buildtype}
102 <<: *babeltrace_version_buildtype_anchor
105 results: 'tap/**/*.log'
106 failed-tests-mark-build-as-failure: true
107 todo-is-failure: false
110 - 'GNU Make + GNU C Compiler (gcc)'
119 name: babeltrace_{version}_cppcheck
128 rm -f babeltrace-cppcheck.xml
129 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> babeltrace-cppcheck.xml
133 artifacts: 'babeltrace-cppcheck.xml'
136 pattern: 'babeltrace-cppcheck.xml'
138 recipients: 'ci-notification@lists.lttng.org'
139 notify-every-unstable-build: true
140 send-to-individuals: false
143 name: babeltrace_{version}_scan-build
153 !include-raw-escape: scripts/common/scan-build.sh
158 dir: 'scan-build-archive/'
162 name: babeltrace_{version}_coverity
175 - credentials-binding:
176 - username-password-separated:
177 credential-id: babeltrace_coverity_token
178 username: COVERITY_SCAN_PROJECT_NAME
179 password: COVERITY_SCAN_TOKEN
182 !include-raw-escape: scripts/common/coverity.sh
187 artifacts: 'analysis-results.tgz,cov-int/**'
191 name: babeltrace_{version}_pylint
203 project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings
204 which-build: last-successful
207 target: 'deps/babeltrace'
209 !include-raw-escape: scripts/babeltrace/pylint.sh
213 artifacts: 'pep8.out,pylint.out'
226 recipients: 'ci-notification@lists.lttng.org'
227 notify-every-unstable-build: true
228 send-to-individuals: false
230 # Use - in version number since yaml anchor do not support dot
231 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
232 name: 'babeltrace_version_glib_anchor'
238 properties-content: |
239 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
240 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
245 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
246 tar xvf glib-2.22.5.tar.gz
249 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
254 !include-raw-escape: scripts/babeltrace/build.sh
257 name: babeltrace_{version}_glib-2.22.5
261 <<: *babeltrace_version_glib-2-22-5_anchor
264 name: dev_{user}_babeltrace_{version}_glib-2.22.5
265 <<: *babeltrace_version_glib-2-22-5_anchor
270 github_user: efficios
271 github_name: babeltrace
278 - 'babeltrace_{version}_{buildtype}':
280 arch: !!python/tuple [x86-32, x86-64]
281 build: !!python/tuple [std, oot, dist]
282 conf: !!python/tuple [std, static, python-bindings]
283 - 'babeltrace_{version}_{buildtype}':
284 buildtype: clangbuild
285 arch: !!python/tuple [x86-32, x86-64]
286 build: !!python/tuple [clang]
287 conf: !!python/tuple [std, static]
288 - 'babeltrace_{version}_{buildtype}':
290 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
291 build: !!python/tuple [std]
292 conf: !!python/tuple [std, static, python-bindings]
293 - 'babeltrace_{version}_{buildtype}':
294 buildtype: solarisbuild
295 arch: !!python/tuple [solaris10, solaris11]
296 build: !!python/tuple [std]
297 conf: !!python/tuple [std, static]
298 - 'babeltrace_{version}_{buildtype}':
299 buildtype: macosxbuild
300 arch: !!python/tuple [macosx]
301 build: !!python/tuple [std]
302 conf: !!python/tuple [std]
307 - 'babeltrace_{version}_cppcheck'
308 - 'babeltrace_{version}_scan-build'
309 - 'babeltrace_{version}_pylint'
310 - 'babeltrace_{version}_coverity':
312 - 'babeltrace_{version}_glib-2.22.5':
314 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
317 github_name: babeltrace
320 - 'dev_{user}_babeltrace_{version}_{buildtype}':
323 github_name: babeltrace
330 arch: !!python/tuple [x86-32, x86-64]
331 build: !!python/tuple [std, oot, dist]
332 conf: !!python/tuple [std, static, python-bindings]
333 - 'dev_{user}_babeltrace_{version}_{buildtype}':
336 github_name: babeltrace
337 buildtype: macosxbuild
342 arch: !!python/tuple [macosx]
343 build: !!python/tuple [std]
344 conf: !!python/tuple [std]