5 <p>Job is managed by Jenkins Job Builder.</p>
7 project-type: freestyle
12 artifactDaysToKeep: -1
22 url: git://github.com/lttng/lttng-tools.git
24 browser-url: https://github.com/lttng/lttng-tools
34 url: https://github.com/lttng/lttng-tools
39 name: lttng-tools_{version}_{buildtype}
43 node: 'x86-32 || x86-64' # Applies only to matrix flyweight task
46 (build=="std") || (liburcu_version=="master")
62 name: babeltrace_version
64 !include jobs/inc/babeltrace-versions.yaml.inc
69 !include jobs/inc/liburcu-versions.yaml.inc
72 name: lttng-ust_version
82 condition-kind: strings-match
83 condition-string1: $conf
84 condition-string2: static
85 on-evaluation-failure: run
87 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
88 which-build: last-successful
91 target: 'deps/liburcu'
92 do-not-fingerprint: true
94 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=$arch,conf=std,build=std
95 which-build: last-successful
98 target: 'deps/liburcu'
99 do-not-fingerprint: true
101 project: lttng-ust_${{lttng-ust_version}}_{buildtype}/arch=$arch,conf=std,build=std
102 which-build: last-successful
105 target: 'deps/liburcu'
106 do-not-fingerprint: true
108 !include-raw-escape scripts/lttng-tools/build.sh
110 # TODO: Scan for open tasks
113 results: 'tap/**/*.tap'
114 failed-tests-mark-build-as-failure: true
117 - 'GNU Make + GNU C Compiler (gcc)'
125 artifacts: 'build/**'
131 name: lttng-tools_{version}_cppcheck
132 defaults: lttng-tools
140 rm -f lttng-tools-cppcheck.xml
141 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
145 artifacts: 'lttng-tools-cppcheck.xml'
148 pattern: 'lttng-tools-cppcheck.xml'
150 recipients: 'ci-notification@lists.lttng.org'
151 notify-every-unstable-build: true
152 send-to-individuals: false
155 name: lttng-tools_{version}_scan-build
156 defaults: lttng-tools
165 !include-raw-escape scripts/lttng-tools/scan-build.sh
170 dir: 'scan-build-archive/'
173 # TODO: lttng-tools_{version}_coverity
175 # name: lttng-tools_{version}_coverity
176 # defaults: lttng-tools
185 # !include-raw-escape scripts/lttng-tools/coverity.sh
189 # name: 'HTML Report'
190 # dir: 'scan-build-archive/'
191 # files: 'index.html'
194 name: lttng-tools_{version}_pylint
195 defaults: lttng-tools
206 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
207 which-build: last-successful
210 target: 'deps/lttng-tools'
211 do-not-fingerprint: true
213 !include-raw-escape scripts/lttng-tools/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
239 !include jobs/inc/lttng-tools-versions.yaml.inc
241 - 'lttng-tools_{version}_{buildtype}':
243 arch: !!python/tuple [x86-32, x86-64]
244 build: !!python/tuple [std, oot, dist]
245 - 'lttng-tools_{version}_{buildtype}':
247 arch: !!python/tuple [armhf, powerpc]
248 build: !!python/tuple [std]
249 - 'lttng-tools_{version}_cppcheck'
250 - 'lttng-tools_{version}_scan-build'