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
30 url: https://github.com/efficios/babeltrace.git
32 browser-url: https://github.com/efficios/babeltrace.git
41 url: https://github.com/efficios/babeltrace/
46 name: babeltrace_{version}_{buildtype}
50 node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
70 !include-raw-escape scripts/babeltrace/build.sh
72 # TODO: Scan for open tasks
75 results: 'tap/**/*.tap'
76 failed-tests-mark-build-as-failure: true
79 - 'GNU Make + GNU C Compiler (gcc)'
92 name: babeltrace_{version}_cppcheck
100 rm -f babeltrace-cppcheck.xml
101 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> babeltrace-cppcheck.xml
105 artifacts: 'babeltrace-cppcheck.xml'
109 pattern: 'babeltrace-cppcheck.xml'
111 recipients: 'ci-notification@lists.lttng.org'
112 notify-every-unstable-build: true
113 send-to-individuals: false
116 name: babeltrace_{version}_scan-build
125 !include-raw-escape scripts/babeltrace/scan-build.sh
130 dir: 'scan-build-archive/'
133 # TODO: babeltrace_{version}_coverity
135 # name: babeltrace_{version}_coverity
136 # defaults: babeltrace
140 # - pollscm: "@daily"
144 # !include-raw-escape scripts/babeltrace/coverity.sh
148 # name: 'HTML Report'
149 # dir: 'scan-build-archive/'
150 # files: 'index.html'
153 name: babeltrace_{version}_pylint
164 project: babeltrace-{version}/arch=x86-64,build=std,conf=python_bindings
165 which-build: last-successful
168 target: 'dependencies/babeltrace'
170 !include-raw-escape scripts/babeltrace/pylint.sh
174 artifacts: 'pep8.out,pylint.out'
188 recipients: 'ci-notification@lists.lttng.org'
189 notify-every-unstable-build: true
190 send-to-individuals: false
197 !include jobs/inc/babeltrace-versions.yaml.inc
199 - 'babeltrace_{version}_{buildtype}':
201 arch: !!python/tuple [x86-32, x86-64]
202 build: !!python/tuple [std, oot, dist]
203 - 'babeltrace_{version}_{buildtype}':
205 arch: !!python/tuple [armhf, powerpc]
206 build: !!python/tuple [std]
207 - 'babeltrace_{version}_cppcheck'
208 - 'babeltrace_{version}_scan-build'
209 - 'babeltrace_{version}_pylint'