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
41 url: https://github.com/{github_user}/{github_name}
46 - babeltrace_version_buildtype_anchor: &babeltrace_version_buildtype_anchor
47 name: 'babeltrace_version_buildtype_anchor'
51 node: 'master' # Applies only to matrix flyweight task
68 !include-raw-escape: scripts/babeltrace/build.sh
71 name: babeltrace_{version}_{buildtype}
72 <<: *babeltrace_version_buildtype_anchor
73 # TODO: Scan for open tasks
76 results: 'tap/**/*.log'
77 failed-tests-mark-build-as-failure: true
78 todo-is-failure: false
81 - 'GNU Make + GNU C Compiler (gcc)'
92 strategy: new-failure-and-fixed
93 matrix-notifier: only-parent
98 name: dev_{user}_babeltrace_{version}_{buildtype}
99 <<: *babeltrace_version_buildtype_anchor
102 results: 'tap/**/*.log'
103 failed-tests-mark-build-as-failure: true
104 todo-is-failure: false
107 - 'GNU Make + GNU C Compiler (gcc)'
116 name: babeltrace_{version}_cppcheck
125 rm -f babeltrace-cppcheck.xml
126 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> babeltrace-cppcheck.xml
130 artifacts: 'babeltrace-cppcheck.xml'
133 pattern: 'babeltrace-cppcheck.xml'
135 recipients: 'ci-notification@lists.lttng.org'
136 notify-every-unstable-build: true
137 send-to-individuals: false
140 name: babeltrace_{version}_scan-build
150 !include-raw-escape: scripts/babeltrace/scan-build.sh
155 dir: 'scan-build-archive/'
159 name: babeltrace_{version}_coverity
172 - credentials-binding:
173 - username-password-separated:
174 credential-id: babeltrace_coverity_token
175 username: COVERITY_SCAN_PROJECT_NAME
176 password: COVERITY_SCAN_TOKEN
179 !include-raw-escape: scripts/common/coverity.sh
184 artifacts: 'analysis-results.tgz,cov-int/**'
188 name: babeltrace_{version}_pylint
200 project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings
201 which-build: last-successful
204 target: 'deps/babeltrace'
206 !include-raw-escape: scripts/babeltrace/pylint.sh
210 artifacts: 'pep8.out,pylint.out'
223 recipients: 'ci-notification@lists.lttng.org'
224 notify-every-unstable-build: true
225 send-to-individuals: false
227 # Use - in version number since yaml anchor do not support dot
228 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
229 name: 'babeltrace_version_glib_anchor'
235 properties-content: |
236 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
237 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
242 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
243 tar xvf glib-2.22.5.tar.gz
246 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
251 !include-raw-escape: scripts/babeltrace/build.sh
254 name: babeltrace_{version}_glib-2.22.5
258 <<: *babeltrace_version_glib-2-22-5_anchor
261 name: dev_{user}_babeltrace_{version}_glib-2.22.5
262 <<: *babeltrace_version_glib-2-22-5_anchor
267 github_user: efficios
268 github_name: babeltrace
274 - 'babeltrace_{version}_{buildtype}':
276 arch: !!python/tuple [x86-32, x86-64]
277 build: !!python/tuple [std, oot, dist]
278 conf: !!python/tuple [std, static, python-bindings]
279 - 'babeltrace_{version}_{buildtype}':
280 buildtype: clangbuild
281 arch: !!python/tuple [x86-32, x86-64]
282 build: !!python/tuple [clang]
283 conf: !!python/tuple [std, static]
284 - 'babeltrace_{version}_{buildtype}':
286 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
287 build: !!python/tuple [std]
288 conf: !!python/tuple [std, static, python-bindings]
289 - 'babeltrace_{version}_{buildtype}':
290 buildtype: solarisbuild
291 arch: !!python/tuple [solaris10, solaris11]
292 build: !!python/tuple [std]
293 conf: !!python/tuple [std, static]
294 - 'babeltrace_{version}_{buildtype}':
295 buildtype: macosxbuild
296 arch: !!python/tuple [macosx]
297 build: !!python/tuple [std]
298 conf: !!python/tuple [std, static]
302 - 'babeltrace_{version}_cppcheck'
303 - 'babeltrace_{version}_scan-build'
304 - 'babeltrace_{version}_pylint'
305 - 'babeltrace_{version}_coverity':
307 - 'babeltrace_{version}_glib-2.22.5':
309 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
312 github_name: babeltrace
315 - 'dev_{user}_babeltrace_{version}_{buildtype}':
318 github_name: babeltrace
324 arch: !!python/tuple [x86-32, x86-64]
325 build: !!python/tuple [std, oot, dist]
326 conf: !!python/tuple [std, static, python-bindings]