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
20 artifactDaysToKeep: -1
31 url: git://github.com/{github_user}/{github_name}.git
33 browser-url: https://github.com/{github_user}/{github_name}
43 url: https://github.com/{github_user}/{github_name}
48 - babeltrace_version_buildtype_anchor: &babeltrace_version_buildtype_anchor
49 name: 'babeltrace_version_buildtype_anchor'
53 node: 'master' # Applies only to matrix flyweight task
70 !include-raw-escape: scripts/babeltrace/build.sh
73 name: babeltrace_{version}_{buildtype}
74 <<: *babeltrace_version_buildtype_anchor
75 # TODO: Scan for open tasks
78 results: 'tap/**/*.tap'
79 failed-tests-mark-build-as-failure: true
80 todo-is-failure: false
83 - 'GNU Make + GNU C Compiler (gcc)'
94 strategy: new-failure-and-fixed
95 matrix-notifier: only-parent
100 name: dev_{user}_babeltrace_{version}_{buildtype}
101 <<: *babeltrace_version_buildtype_anchor
104 results: 'tap/**/*.tap'
105 failed-tests-mark-build-as-failure: true
106 todo-is-failure: false
109 - 'GNU Make + GNU C Compiler (gcc)'
117 strategy: new-failure-and-fixed
118 notify-committers: True
121 matrix-notifier: only-configurations
126 name: babeltrace_{version}_cppcheck
135 rm -f babeltrace-cppcheck.xml
136 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> babeltrace-cppcheck.xml
140 artifacts: 'babeltrace-cppcheck.xml'
143 pattern: 'babeltrace-cppcheck.xml'
145 recipients: 'ci-notification@lists.lttng.org'
146 notify-every-unstable-build: true
147 send-to-individuals: false
150 name: babeltrace_{version}_scan-build
160 !include-raw-escape: scripts/babeltrace/scan-build.sh
165 dir: 'scan-build-archive/'
169 name: babeltrace_{version}_coverity
182 - credentials-binding:
183 - username-password-separated:
184 credential-id: babeltrace_coverity_token
185 username: COVERITY_SCAN_PROJECT_NAME
186 password: COVERITY_SCAN_TOKEN
189 !include-raw-escape: scripts/common/coverity.sh
195 name: babeltrace_{version}_pylint
207 project: babeltrace_{version}_build/arch=x86-64,build=std,conf=python-bindings
208 which-build: last-successful
211 target: 'deps/babeltrace'
213 !include-raw-escape: scripts/babeltrace/pylint.sh
217 artifacts: 'pep8.out,pylint.out'
230 recipients: 'ci-notification@lists.lttng.org'
231 notify-every-unstable-build: true
232 send-to-individuals: false
234 # Use - in version number since yaml anchor do not support dot
235 - babeltrace_version_glib-2-22-5_anchor: &babeltrace_version_glib-2-22-5_anchor
236 name: 'babeltrace_version_glib_anchor'
242 properties-content: |
243 LD_LIBRARY_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib
244 PKG_CONFIG_PATH=$WORKSPACE/glib-2.22.5/BUILD_RESULT/lib/pkgconfig
249 wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.5.tar.gz
250 tar xvf glib-2.22.5.tar.gz
253 ./configure --prefix=$WORKSPACE/glib-2.22.5/BUILD_RESULT
258 !include-raw-escape: scripts/babeltrace/build.sh
261 name: babeltrace_{version}_glib-2.22.5
265 <<: *babeltrace_version_glib-2-22-5_anchor
268 name: dev_{user}_babeltrace_{version}_glib-2.22.5
269 <<: *babeltrace_version_glib-2-22-5_anchor
274 github_user: efficios
275 github_name: babeltrace
277 !include: jobs/inc/babeltrace-versions.yaml.inc
279 - 'babeltrace_{version}_{buildtype}':
281 arch: !!python/tuple [x86-32, x86-64]
282 build: !!python/tuple [std, oot, dist]
283 conf: !!python/tuple [std, static, python-bindings]
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]
297 - 'babeltrace_{version}_cppcheck'
298 - 'babeltrace_{version}_scan-build'
299 - 'babeltrace_{version}_pylint'
300 - 'babeltrace_{version}_coverity':
302 - 'babeltrace_{version}_glib-2.22.5':
304 - 'dev_{user}_babeltrace_{version}_glib-2.22.5':
307 github_name: babeltrace
310 - 'dev_{user}_babeltrace_{version}_{buildtype}':
313 github_name: babeltrace
319 arch: !!python/tuple [x86-32, x86-64]
320 build: !!python/tuple [std, oot, dist]
321 conf: !!python/tuple [std, static, python-bindings]