lttng-tools: Remove combination filter
[lttng-ci.git] / jobs / lttng-tools.yaml
1 - defaults:
2 name: lttng-tools
3 description: |
4 The lttng-tools project provides a session daemon (lttng-sessiond)
5 that acts as a tracing registry, the "lttng" command line for tracing
6 control, a lttng-ctl library for tracing control and a lttng-relayd
7 for network streaming.
8
9 <p>Job is managed by Jenkins Job Builder.</p>
10
11 project-type: freestyle
12
13 logrotate:
14 daysToKeep: -1
15 numToKeep: 2
16 artifactDaysToKeep: -1
17 artifactNumToKeep: -1
18
19 wrappers:
20 - workspace-cleanup
21 - timestamps
22 - ansicolor
23
24 scm:
25 - git:
26 url: git://github.com/{github_user}/{github_name}.git
27 browser: githubweb
28 browser-url: https://github.com/{github_user}/{github_name}
29 branches:
30 - origin/{version}
31
32 triggers:
33 - pollscm:
34 cron: "@hourly"
35
36 properties:
37 - github:
38 url: https://github.com/{github_user}/{github_name}
39
40
41 ## Templates
42 - job-template:
43 name: lttng-tools_{version}_{buildtype}
44 defaults: lttng-tools
45
46 project-type: matrix
47 node: 'master' # Applies only to matrix flyweight task
48 axes:
49 - axis:
50 type: slave
51 name: arch
52 values: '{obj:arch}'
53 - axis:
54 type: user-defined
55 name: conf
56 values: '{obj:conf}'
57 - axis:
58 type: user-defined
59 name: liburcu_version
60 values: '{obj:urcuversion}'
61 - axis:
62 type: user-defined
63 name: babeltrace_version
64 values: '{obj:babelversion}'
65 - axis:
66 type: user-defined
67 name: build
68 values: '{obj:build}'
69
70 properties:
71 - throttle:
72 max-per-node: 1
73 option: 'category'
74 categories:
75 - 'lttng-tools'
76 matrix-builds: false
77 matrix-configs: true
78 triggers:
79 - pollscm:
80 cron: "@hourly"
81 - reverse:
82 jobs: 'lttng-ust_{version}_{buildtype}'
83 result: 'success'
84
85 builders:
86 - conditional-step:
87 condition-kind: regex-match
88 label: '$conf'
89 regex: (std|static)
90 on-evaluation-failure: run
91 steps:
92 - copyartifact:
93 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
94 which-build: last-successful
95 stable: true
96 filter: 'build/**'
97 target: 'deps/liburcu'
98 do-not-fingerprint: true
99 - copyartifact:
100 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
101 which-build: last-successful
102 stable: true
103 filter: 'build/**'
104 target: 'deps/babeltrace'
105 do-not-fingerprint: true
106 - copyartifact:
107 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
108 which-build: last-successful
109 stable: true
110 filter: 'build/**'
111 target: 'deps/lttng-ust'
112 do-not-fingerprint: true
113 - conditional-step:
114 condition-kind: regex-match
115 label: '$conf'
116 regex: (python-bindings|no-ust)
117 on-evaluation-failure: run
118 steps:
119 - copyartifact:
120 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
121 which-build: last-successful
122 stable: true
123 filter: 'build/**'
124 target: 'deps/liburcu'
125 do-not-fingerprint: true
126 - copyartifact:
127 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
128 which-build: last-successful
129 stable: true
130 filter: 'build/**'
131 target: 'deps/babeltrace'
132 do-not-fingerprint: true
133 - copyartifact:
134 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
135 which-build: last-successful
136 stable: true
137 filter: 'build/**'
138 target: 'deps/lttng-ust'
139 do-not-fingerprint: true
140 - conditional-step:
141 condition-kind: regex-match
142 label: '$conf'
143 regex: (java-agent|python-agent)
144 on-evaluation-failure: run
145 steps:
146 - copyartifact:
147 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
148 which-build: last-successful
149 stable: true
150 filter: 'build/**'
151 target: 'deps/liburcu'
152 do-not-fingerprint: true
153 - copyartifact:
154 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
155 which-build: last-successful
156 stable: true
157 filter: 'build/**'
158 target: 'deps/babeltrace'
159 do-not-fingerprint: true
160 - copyartifact:
161 project: lttng-ust_{version}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
162 which-build: last-successful
163 stable: true
164 filter: 'build/**'
165 target: 'deps/lttng-ust'
166 do-not-fingerprint: true
167 - shell:
168 !include-raw-escape: scripts/lttng-tools/build.sh
169
170 # TODO: Scan for open tasks
171 publishers:
172 - tap:
173 results: 'tap/**/*.tap'
174 failed-tests-mark-build-as-failure: true
175 todo-is-failure: false
176 - warnings:
177 console-log-parsers:
178 - 'GNU Make + GNU C Compiler (gcc)'
179 total-thresholds:
180 unstable:
181 total-all: 0
182 total-high: 0
183 total-normal: 0
184 total-low: 0
185 - archive:
186 artifacts: 'build/**'
187 allow-empty: false
188 - workspace-cleanup
189 - ircbot:
190 strategy: new-failure-and-fixed
191 matrix-notifier: only-parent
192 channels:
193 - name: '#lttng'
194
195
196 - job-template:
197 name: lttng-tools_{version}_cppcheck
198 defaults: lttng-tools
199
200 triggers:
201 - pollscm:
202 cron: "@daily"
203
204 builders:
205 - shell: |
206 rm -f lttng-tools-cppcheck.xml
207 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
208
209 publishers:
210 - archive:
211 artifacts: 'lttng-tools-cppcheck.xml'
212 allow-empty: false
213 - cppcheck:
214 pattern: 'lttng-tools-cppcheck.xml'
215 - email:
216 recipients: 'ci-notification@lists.lttng.org'
217 notify-every-unstable-build: true
218 send-to-individuals: false
219
220 - job-template:
221 name: lttng-tools_{version}_scan-build
222 defaults: lttng-tools
223 node: 'x86-64'
224
225 triggers:
226 - pollscm:
227 cron: "@daily"
228
229 builders:
230 - copyartifact:
231 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
232 which-build: last-successful
233 stable: true
234 filter: 'build/**'
235 target: 'deps/liburcu'
236 do-not-fingerprint: true
237 - copyartifact:
238 project: lttng-ust_{version}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
239 which-build: last-successful
240 stable: true
241 filter: 'build/**'
242 target: 'deps/lttng-ust'
243 do-not-fingerprint: true
244 - shell:
245 !include-raw-escape: scripts/lttng-tools/scan-build.sh
246
247 publishers:
248 - html-publisher:
249 name: 'HTML Report'
250 dir: 'scan-build-archive/'
251 files: 'index.html'
252
253 - job-template:
254 name: lttng-tools_{version}_coverity
255 defaults: lttng-tools
256 node: 'x86-64'
257
258 triggers:
259 - pollscm:
260 cron: "@daily"
261
262 wrappers:
263 - workspace-cleanup
264 - timestamps
265 - ansicolor:
266 colormap: xterm
267 - credentials-binding:
268 - username-password-separated:
269 credential-id: lttng-tools_coverity_token
270 username: COVERITY_SCAN_PROJECT_NAME
271 password: COVERITY_SCAN_TOKEN
272
273 builders:
274 - copyartifact:
275 project: liburcu_master_build/arch=x86-64,conf=std,build=std
276 which-build: last-successful
277 stable: true
278 filter: 'build/**'
279 target: 'deps/liburcu'
280 do-not-fingerprint: true
281 - copyartifact:
282 project: lttng-ust_{version}_build/liburcu_version={version},arch=x86-64,conf=std,build=std
283 which-build: last-successful
284 stable: true
285 filter: 'build/**'
286 target: 'deps/lttng-ust'
287 do-not-fingerprint: true
288 - shell:
289 !include-raw-escape: scripts/common/coverity.sh
290
291 publishers:
292 - workspace-cleanup
293
294 # TODO
295 - job-template:
296 name: lttng-tools_{version}_pylint
297 defaults: lttng-tools
298 node: 'x86-64'
299
300 scm: []
301
302 triggers:
303 - pollscm:
304 cron: "@daily"
305
306 builders:
307 - copyartifact:
308 project: lttng-tools-{version}/arch=x86-64,build=std,conf=python-agent
309 which-build: last-successful
310 stable: true
311 filter: 'build/**'
312 target: 'deps/lttng-tools'
313 do-not-fingerprint: true
314 - shell:
315 !include-raw-escape: scripts/lttng-tools/pylint.sh
316
317 publishers:
318 - archive:
319 artifacts: 'pep8.out,pylint.out'
320 - violations:
321 pep8:
322 pattern: pep8.out
323 min: 10
324 max: 999
325 unstable: 999
326 pylint:
327 pattern: pylint.out
328 min: 10
329 max: 999
330 unstable: 999
331 - email:
332 recipients: 'ci-notification@lists.lttng.org'
333 notify-every-unstable-build: true
334 send-to-individuals: false
335
336
337 ## Project
338 - project:
339 name: lttng-tools
340 github_user: lttng
341 github_name: lttng-tools
342 version:
343 !include: jobs/inc/lttng-tools-versions.yaml.inc
344 jobs:
345 - 'lttng-tools_{version}_{buildtype}':
346 buildtype: build
347 version: master
348 arch: !!python/tuple [x86-32, x86-64]
349 build: !!python/tuple [std, oot, dist]
350 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
351 urcuversion: !!python/tuple [master]
352 babelversion: !!python/tuple [master]
353 - 'lttng-tools_{version}_{buildtype}':
354 buildtype: portbuild
355 version: master
356 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
357 build: !!python/tuple [std]
358 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
359 urcuversion: !!python/tuple [master]
360 babelversion: !!python/tuple [master]
361 - 'lttng-tools_{version}_{buildtype}':
362 buildtype: build
363 version: stable-2.8
364 arch: !!python/tuple [x86-32, x86-64]
365 build: !!python/tuple [std, oot, dist]
366 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
367 urcuversion: !!python/tuple [stable-0.9]
368 babelversion: !!python/tuple [stable-1.3]
369 - 'lttng-tools_{version}_{buildtype}':
370 buildtype: portbuild
371 version: stable-2.8
372 arch: !!python/tuple [armhf, arm64, powerpc]
373 build: !!python/tuple [std]
374 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
375 urcuversion: !!python/tuple [stable-0.9]
376 babelversion: !!python/tuple [stable-1.3]
377 - 'lttng-tools_{version}_{buildtype}':
378 buildtype: build
379 version: stable-2.7
380 arch: !!python/tuple [x86-32, x86-64]
381 build: !!python/tuple [std, oot, dist]
382 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
383 urcuversion: !!python/tuple [stable-0.9]
384 babelversion: !!python/tuple [stable-1.3]
385 - 'lttng-tools_{version}_{buildtype}':
386 buildtype: portbuild
387 version: stable-2.7
388 arch: !!python/tuple [armhf, arm64, powerpc]
389 build: !!python/tuple [std]
390 conf: !!python/tuple [std, no-ust, python-bindings, java-agent, python-agent]
391 urcuversion: !!python/tuple [stable-0.9]
392 babelversion: !!python/tuple [stable-1.3]
393 - 'lttng-tools_{version}_{buildtype}':
394 buildtype: build
395 version: stable-2.6
396 arch: !!python/tuple [x86-32, x86-64]
397 build: !!python/tuple [std, oot, dist]
398 conf: !!python/tuple [std, no-ust, python-bindings]
399 urcuversion: !!python/tuple [stable-0.9]
400 babelversion: !!python/tuple [stable-1.3]
401 - 'lttng-tools_{version}_{buildtype}':
402 buildtype: portbuild
403 version: stable-2.6
404 arch: !!python/tuple [armhf, arm64, powerpc]
405 build: !!python/tuple [std]
406 conf: !!python/tuple [std, no-ust, python-bindings]
407 urcuversion: !!python/tuple [stable-0.9]
408 babelversion: !!python/tuple [stable-1.3]
409 - 'lttng-tools_{version}_cppcheck'
410 - 'lttng-tools_{version}_scan-build':
411 version: master
412 urcuversion: master
413 - 'lttng-tools_{version}_scan-build':
414 version: stable-2.8
415 urcuversion: stable-0.9
416 - 'lttng-tools_{version}_scan-build':
417 version: stable-2.7
418 urcuversion: stable-0.9
419 - 'lttng-tools_{version}_scan-build':
420 version: stable-2.6
421 urcuversion: stable-0.9
422 #- 'lttng-tools_{version}_pylint'
423 - 'lttng-tools_{version}_coverity':
424 version: master
425
This page took 0.038481 seconds and 5 git commands to generate.