jjb: liburcu: Drop stable-0.8 jobs
[lttng-ci.git] / jobs / lttng-ust.yaml
1 - defaults:
2 name: lttng-ust
3 description: |
4 LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is a
5 port of the low-overhead tracing capabilities of the LTTng kernel tracer
6 to user-space. The library "liblttng-ust" enables tracing of
7 applications and libraries.
8
9 <p>Job is managed by Jenkins Job Builder.</p>
10
11 project-type: freestyle
12
13 wrappers:
14 - workspace-cleanup
15 - timestamps
16 - ansicolor
17
18 scm:
19 - git:
20 url: git://github.com/{github_user}/{github_name}.git
21 browser: githubweb
22 browser-url: https://github.com/{github_user}/{github_name}
23 branches:
24 - origin/{version}
25 basedir: src/lttng-ust
26 skip-tag: true
27
28 triggers:
29 - pollscm:
30 cron: "@hourly"
31
32 properties:
33 - inject:
34 properties-content: |
35 PROJECT_NAME=lttng-ust
36 - build-discarder:
37 num-to-keep: 2
38 - github:
39 url: https://github.com/{github_user}/{github_name}
40
41
42 ## Anchors
43 - lttng-ust_build_axes_defaults: &lttng-ust_build_axes_defaults
44 name: 'lttng-ust_build_axes_defaults'
45 project-type: matrix
46 node: 'master' # Applies only to matrix flyweight task
47 execution-strategy:
48 combination-filter: '{filter}'
49 axes:
50 - axis:
51 type: slave
52 name: arch
53 values: '{obj:arch}'
54 - axis:
55 type: user-defined
56 name: conf
57 values: '{obj:conf}'
58 - axis:
59 type: user-defined
60 name: liburcu_version
61 values: '{obj:liburcu_version}'
62 - axis:
63 type: user-defined
64 name: build
65 values: '{obj:build}'
66
67 - lttng-ust_build_builders_defaults: &lttng-ust_build_builders_defaults
68 name: 'lttng-ust_build_builders_defaults'
69 builders:
70 - conditional-step:
71 condition-kind: regex-match
72 label: '$conf'
73 regex: (std|agents)
74 on-evaluation-failure: run
75 steps:
76 - copyartifact:
77 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
78 which-build: last-successful
79 stable: false
80 filter: 'build/**'
81 target: 'deps'
82 do-not-fingerprint: true
83
84 - conditional-step:
85 condition-kind: regex-match
86 label: '$conf'
87 regex: (debug-rcu)
88 on-evaluation-failure: run
89 steps:
90 - copyartifact:
91 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
92 which-build: last-successful
93 stable: false
94 filter: 'build/**'
95 target: 'deps'
96 do-not-fingerprint: true
97 - shell:
98 !include-raw-escape: scripts/lttng-ust/build.sh
99
100
101 ## Templates
102 - job-template:
103 name: lttng-ust_{version}_{buildtype}
104 defaults: lttng-ust
105
106 <<: *lttng-ust_build_axes_defaults
107 <<: *lttng-ust_build_builders_defaults
108
109 # TODO: Scan for open tasks
110 publishers:
111 - tap:
112 results: 'tap/**/*.log'
113 fail-if-no-results: true
114 failed-tests-mark-build-as-failure: true
115 todo-is-failure: false
116 - warnings:
117 console-log-parsers:
118 - 'GNU Make + GNU C Compiler (gcc)'
119 total-thresholds:
120 unstable:
121 total-all: 0
122 total-high: 0
123 total-normal: 0
124 total-low: 0
125 - archive:
126 artifacts: 'build/**,tap/**'
127 allow-empty: false
128 - workspace-cleanup
129 - email-ext:
130 recipients: '{obj:email_to}'
131 reply-to: ci-notification@lists.lttng.org
132 always: false
133 unstable: false
134 first-failure: true
135 first-unstable: true
136 not-built: false
137 aborted: false
138 regression: false
139 failure: false
140 second-failure: false
141 improvement: false
142 still-failing: false
143 success: false
144 fixed: false
145 fixed-unhealthy: true
146 still-unstable: false
147 pre-build: false
148 matrix-trigger: only-parent
149 send-to:
150 - recipients
151
152 - job-template:
153 name: dev_gerrit_lttng-ust_{buildtype}
154 defaults: lttng-ust
155 concurrent: true
156
157 scm:
158 - git:
159 url: https://review.lttng.org/lttng-ust
160 refspec: 'refs/changes/*:refs/changes/*'
161 branches:
162 - '$GERRIT_REFSPEC'
163 basedir: src/lttng-ust
164 skip-tag: true
165
166 triggers:
167 - gerrit:
168 trigger-on:
169 - comment-added-event:
170 approval-category: 'CI-Build'
171 approval-value: 1
172 projects:
173 - project-compare-type: 'PLAIN'
174 project-pattern: 'lttng-ust'
175 branches:
176 - branch-compare-type: 'ANT'
177 branch-pattern: '**'
178 trigger-for-unreviewed-patches: true
179
180 <<: *lttng-ust_build_axes_defaults
181 <<: *lttng-ust_build_builders_defaults
182
183 properties:
184 - inject:
185 properties-content: |
186 PROJECT_NAME=lttng-ust
187 - build-discarder:
188 days-to-keep: 1
189 - throttle:
190 option: 'category'
191 categories:
192 - 'gerrit-{buildtype}'
193
194 publishers:
195 - tap:
196 results: 'tap/**/*.log'
197 fail-if-no-results: true
198 failed-tests-mark-build-as-failure: true
199 todo-is-failure: false
200 - warnings:
201 console-log-parsers:
202 - 'GNU Make + GNU C Compiler (gcc)'
203 total-thresholds:
204 failed:
205 total-all: 0
206 total-high: 0
207 total-normal: 0
208 total-low: 0
209 - archive:
210 artifacts: 'build/**,tap/**'
211 allow-empty: false
212 - workspace-cleanup
213
214 - job-template:
215 name: lttng-ust_{version}_cppcheck
216 defaults: lttng-ust
217
218 triggers:
219 - pollscm:
220 cron: "@daily"
221
222 builders:
223 - shell: |
224 rm -f cppcheck-result.xml
225 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> cppcheck-result.xml
226
227 publishers:
228 - archive:
229 artifacts: 'cppcheck-result.xml'
230 allow-empty: false
231 - cppcheck:
232 pattern: 'cppcheck-result.xml'
233 - email:
234 recipients: 'ci-notification@lists.lttng.org'
235 notify-every-unstable-build: true
236 send-to-individuals: false
237
238 - job-template:
239 name: lttng-ust_{version}_scan-build
240 defaults: lttng-ust
241 node: 'amd64'
242
243 triggers:
244 - pollscm:
245 cron: "@daily"
246
247 builders:
248 - copyartifact:
249 project: liburcu_master_build/arch=amd64,conf=std,build=std
250 which-build: last-successful
251 stable: false
252 filter: 'build/**'
253 target: 'deps'
254 do-not-fingerprint: true
255 - shell:
256 !include-raw-escape: scripts/common/scan-build.sh
257
258 publishers:
259 - html-publisher:
260 name: 'HTML Report'
261 dir: 'scan-build-archive/'
262 files: 'index.html'
263
264 - job-template:
265 name: lttng-ust_{version}_coverity
266 defaults: lttng-ust
267 node: 'amd64'
268
269 triggers:
270 - pollscm:
271 cron: "@daily"
272
273 wrappers:
274 - workspace-cleanup
275 - timestamps
276 - ansicolor:
277 colormap: xterm
278 - credentials-binding:
279 - username-password-separated:
280 credential-id: lttng-ust_coverity_token
281 username: COVERITY_SCAN_PROJECT_NAME
282 password: COVERITY_SCAN_TOKEN
283
284 builders:
285 - copyartifact:
286 project: liburcu_master_build/arch=amd64,conf=std,build=std
287 which-build: last-successful
288 stable: false
289 filter: 'build/**'
290 target: 'deps'
291 do-not-fingerprint: true
292 - shell:
293 !include-raw-escape: scripts/common/coverity.sh
294
295 publishers:
296 - workspace-cleanup
297 - archive:
298 artifacts: 'analysis-results.tgz,cov-int/**'
299 allow-empty: false
300
301
302 ## Views
303 - view-template:
304 name: 'LTTng-ust'
305 view-type: list
306 regex: 'lttng-ust[-_].*'
307
308
309 ## Projects
310 - project:
311 name: lttng-ust
312 github_user: lttng
313 github_name: lttng-ust
314 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
315 version:
316 - stable-2.8
317 - stable-2.9
318 - stable-2.10
319 - stable-2.11
320 jobs:
321 - 'lttng-ust_{version}_{buildtype}':
322 buildtype: build
323 arch: !!python/tuple [amd64]
324 build: !!python/tuple [std, dist, oot, oot-dist]
325 conf: !!python/tuple [std, agents, debug-rcu]
326 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
327 filter: '(build=="std") || (liburcu_version=="master")'
328 - 'lttng-ust_{version}_{buildtype}':
329 buildtype: portbuild
330 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
331 build: !!python/tuple [std]
332 conf: !!python/tuple [std, agents]
333 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
334 filter: ''
335 - 'lttng-ust_{version}_{buildtype}':
336 buildtype: slesbuild
337 arch: !!python/tuple [sles12sp2]
338 build: !!python/tuple [std]
339 conf: !!python/tuple [std]
340 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
341 filter: ''
342 - 'lttng-ust_{version}_{buildtype}':
343 buildtype: elbuild
344 arch: !!python/tuple [el8]
345 build: !!python/tuple [std]
346 conf: !!python/tuple [std]
347 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
348 filter: ''
349 - 'lttng-ust_{version}_cppcheck'
350 - 'lttng-ust_{version}_scan-build'
351 ## Master ##
352 - 'lttng-ust_{version}_{buildtype}':
353 buildtype: build
354 version: master
355 arch: !!python/tuple [amd64]
356 build: !!python/tuple [std, dist, oot, oot-dist]
357 conf: !!python/tuple [std, agents, debug-rcu]
358 liburcu_version: !!python/tuple [stable-0.12, master]
359 filter: '(build=="std") || (liburcu_version=="master")'
360 - 'lttng-ust_{version}_{buildtype}':
361 buildtype: portbuild
362 version: master
363 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
364 build: !!python/tuple [std]
365 conf: !!python/tuple [std, agents]
366 liburcu_version: !!python/tuple [stable-0.12, master]
367 filter: ''
368 - 'lttng-ust_{version}_{buildtype}':
369 buildtype: slesbuild
370 version: master
371 arch: !!python/tuple [sles12sp2]
372 build: !!python/tuple [std]
373 conf: !!python/tuple [std]
374 liburcu_version: !!python/tuple [stable-0.12, master]
375 filter: ''
376 - 'lttng-ust_{version}_{buildtype}':
377 buildtype: elbuild
378 version: master
379 arch: !!python/tuple [el8]
380 build: !!python/tuple [std]
381 conf: !!python/tuple [std]
382 liburcu_version: !!python/tuple [stable-0.12, master]
383 filter: ''
384 - 'lttng-ust_{version}_cppcheck':
385 version: master
386 - 'lttng-ust_{version}_scan-build':
387 version: master
388 - 'lttng-ust_{version}_coverity':
389 version: master
390 ## Stable 2.12 ##
391 - 'lttng-ust_{version}_{buildtype}':
392 buildtype: build
393 version: stable-2.12
394 arch: !!python/tuple [amd64]
395 build: !!python/tuple [std, dist, oot, oot-dist]
396 conf: !!python/tuple [std, agents, debug-rcu]
397 liburcu_version: !!python/tuple [stable-0.12, master]
398 filter: '(build=="std") || (liburcu_version=="stable-0.12")'
399 - 'lttng-ust_{version}_{buildtype}':
400 buildtype: portbuild
401 version: stable-2.12
402 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
403 build: !!python/tuple [std]
404 conf: !!python/tuple [std, agents]
405 liburcu_version: !!python/tuple [stable-0.12, master]
406 filter: ''
407 - 'lttng-ust_{version}_{buildtype}':
408 buildtype: slesbuild
409 version: stable-2.12
410 arch: !!python/tuple [sles12sp2]
411 build: !!python/tuple [std]
412 conf: !!python/tuple [std]
413 liburcu_version: !!python/tuple [stable-0.12, master]
414 filter: ''
415 - 'lttng-ust_{version}_{buildtype}':
416 buildtype: elbuild
417 version: stable-2.12
418 arch: !!python/tuple [el8]
419 build: !!python/tuple [std]
420 conf: !!python/tuple [std]
421 liburcu_version: !!python/tuple [stable-0.12, master]
422 filter: ''
423 - 'lttng-ust_{version}_cppcheck':
424 version: stable-2.12
425 - 'lttng-ust_{version}_scan-build':
426 version: stable-2.12
427
428 - project:
429 name: gerrit-lttng-ust
430 github_user: lttng
431 github_name: lttng-ust
432 jobs:
433 - 'dev_gerrit_lttng-ust_{buildtype}':
434 buildtype: build
435 arch: !!python/tuple [amd64]
436 build: !!python/tuple [std, oot, dist, oot-dist]
437 conf: !!python/tuple [std, agents]
438 liburcu_version: !!python/tuple [stable-0.12]
439 filter: '(build=="std" && conf=="std") || (arch=="amd64")'
440
441 - project:
442 name: lttng-ust-views
443 views:
444 - LTTng-ust
This page took 0.044867 seconds and 5 git commands to generate.