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 url: https://github.com/{github_user}/{github_name}
45 - babeltrace_version_buildtype_anchor: &babeltrace_version_buildtype_anchor
46 name: 'babeltrace_version_buildtype_anchor'
50 node: 'master' # Applies only to matrix flyweight task
67 !include-raw-escape: scripts/babeltrace/build.sh
70 name: babeltrace_{version}_{buildtype}
71 <<: *babeltrace_version_buildtype_anchor
72 # TODO: Scan for open tasks
75 results: 'tap/**/*.log'
76 failed-tests-mark-build-as-failure: true
77 todo-is-failure: false
80 - 'GNU Make + GNU C Compiler (gcc)'
91 strategy: new-failure-and-fixed
92 matrix-notifier: only-parent
97 name: dev_{user}_babeltrace_{version}_{buildtype}
98 <<: *babeltrace_version_buildtype_anchor
101 results: 'tap/**/*.log'
102 failed-tests-mark-build-as-failure: true
103 todo-is-failure: false
106 - 'GNU Make + GNU C Compiler (gcc)'
115 name: babeltrace_{version}_cppcheck
124 rm -f babeltrace-cppcheck.xml
125 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> babeltrace-cppcheck.xml
129 artifacts: 'babeltrace-cppcheck.xml'
132 pattern: 'babeltrace-cppcheck.xml'
134 recipients: 'ci-notification@lists.lttng.org'
135 notify-every-unstable-build: true
136 send-to-individuals: false
139 name: babeltrace_{version}_scan-build
149 !include-raw-escape: scripts/babeltrace/scan-build.sh
154 dir: 'scan-build-archive/'
158 name: babeltrace_{version}_coverity
171 - credentials-binding:
172 - username-password-separated:
173 credential-id: babeltrace_coverity_token
174 username: COVERITY_SCAN_PROJECT_NAME
175 password: COVERITY_SCAN_TOKEN
178 !include-raw-escape: scripts/common/coverity.sh
183 artifacts: 'analysis-results.tgz,cov-int/**'
187 name: babeltrace_{version}_pylint
199 project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings
200 which-build: last-successful
203 target: 'deps/babeltrace'
205 !include-raw-escape: scripts/babeltrace/pylint.sh
209 artifacts: 'pep8.out,pylint.out'
222 recipients: 'ci-notification@lists.lttng.org'
223 notify-every-unstable-build: true
224 send-to-individuals: false
226 # Use - in version number since yaml anchor do not support dot
227 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
228 name: 'babeltrace_version_glib_anchor'
234 properties-content: |
235 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
236 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
241 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
242 tar xvf glib-2.22.5.tar.gz
245 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
250 !include-raw-escape: scripts/babeltrace/build.sh
253 name: babeltrace_{version}_glib-2.22.5
257 <<: *babeltrace_version_glib-2-22-5_anchor
260 name: dev_{user}_babeltrace_{version}_glib-2.22.5
261 <<: *babeltrace_version_glib-2-22-5_anchor
266 github_user: efficios
267 github_name: babeltrace
273 - 'babeltrace_{version}_{buildtype}':
275 arch: !!python/tuple [x86-32, x86-64]
276 build: !!python/tuple [std, oot, dist]
277 conf: !!python/tuple [std, static, python-bindings]
278 - 'babeltrace_{version}_{buildtype}':
279 buildtype: clangbuild
280 arch: !!python/tuple [x86-32, x86-64]
281 build: !!python/tuple [clang]
282 conf: !!python/tuple [std, static]
283 - 'babeltrace_{version}_{buildtype}':
285 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
286 build: !!python/tuple [std]
287 conf: !!python/tuple [std, static, python-bindings]
288 - 'babeltrace_{version}_{buildtype}':
289 buildtype: solarisbuild
290 arch: !!python/tuple [solaris10, solaris11]
291 build: !!python/tuple [std]
292 conf: !!python/tuple [std, static]
293 - 'babeltrace_{version}_{buildtype}':
294 buildtype: macosxbuild
295 arch: !!python/tuple [macosx]
296 build: !!python/tuple [std]
297 conf: !!python/tuple [std, static]
301 - 'babeltrace_{version}_cppcheck'
302 - 'babeltrace_{version}_scan-build'
303 - 'babeltrace_{version}_pylint'
304 - 'babeltrace_{version}_coverity':
306 - 'babeltrace_{version}_glib-2.22.5':
308 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
311 github_name: babeltrace
314 - 'dev_{user}_babeltrace_{version}_{buildtype}':
317 github_name: babeltrace
323 arch: !!python/tuple [x86-32, x86-64]
324 build: !!python/tuple [std, oot, dist]
325 conf: !!python/tuple [std, static, python-bindings]