ansible: Add el8 packages
[lttng-ci.git] / jobs / lttng-ust.yaml
CommitLineData
2b68721a
MJ
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
2b68721a
MJ
13 wrappers:
14 - workspace-cleanup
15 - timestamps
16 - ansicolor
17
18 scm:
19 - git:
51ca880a 20 url: git://github.com/{github_user}/{github_name}.git
2b68721a 21 browser: githubweb
51ca880a 22 browser-url: https://github.com/{github_user}/{github_name}
2b68721a
MJ
23 branches:
24 - origin/{version}
1f4fba8c 25 basedir: src/lttng-ust
89b9225e 26 skip-tag: true
2b68721a
MJ
27
28 triggers:
29 - pollscm:
30 cron: "@hourly"
31
32 properties:
69f05d59
MJ
33 - inject:
34 properties-content: |
35 PROJECT_NAME=lttng-ust
edf72710
MJ
36 - build-discarder:
37 num-to-keep: 2
2b68721a 38 - github:
51ca880a 39 url: https://github.com/{github_user}/{github_name}
2b68721a
MJ
40
41
42## Templates
43- job-template:
44 name: lttng-ust_{version}_{buildtype}
45 defaults: lttng-ust
46
47 project-type: matrix
ca8c6144 48 node: 'master' # Applies only to matrix flyweight task
2b68721a
MJ
49 execution-strategy:
50 combination-filter: |
51 (build=="std") || (liburcu_version=="master")
52 axes:
53 - axis:
54 type: slave
55 name: arch
56 values: '{obj:arch}'
57 - axis:
58 type: user-defined
59 name: conf
95654431 60 values: '{obj:conf}'
2b68721a
MJ
61 - axis:
62 type: user-defined
63 name: liburcu_version
81bf613d 64 values: '{obj:liburcu_version}'
2b68721a
MJ
65 - axis:
66 type: user-defined
67 name: build
68 values: '{obj:build}'
69
70 builders:
0349e2c0
JR
71 - conditional-step:
72 condition-kind: regex-match
73 label: '$conf'
74 regex: (std|agents)
75 on-evaluation-failure: run
76 steps:
77 - copyartifact:
78 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
79 which-build: last-successful
80 stable: false
81 filter: 'build/**'
3579dc14 82 target: 'deps'
0349e2c0
JR
83 do-not-fingerprint: true
84
85 - conditional-step:
86 condition-kind: regex-match
87 label: '$conf'
88 regex: (debug-rcu)
89 on-evaluation-failure: run
90 steps:
91 - copyartifact:
92 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
93 which-build: last-successful
94 stable: false
95 filter: 'build/**'
3579dc14 96 target: 'deps'
0349e2c0 97 do-not-fingerprint: true
2b68721a 98 - shell:
ef63064f 99 !include-raw-escape: scripts/lttng-ust/build.sh
2b68721a
MJ
100
101 # TODO: Scan for open tasks
102 publishers:
103 - tap:
1f4fba8c 104 results: 'tap/**/*.log'
1d56e325 105 fail-if-no-results: true
2b68721a 106 failed-tests-mark-build-as-failure: true
95654431 107 todo-is-failure: false
2b68721a
MJ
108 - warnings:
109 console-log-parsers:
110 - 'GNU Make + GNU C Compiler (gcc)'
51ca880a
MJ
111 total-thresholds:
112 unstable:
d2c76ee5
MJ
113 total-all: 0
114 total-high: 0
115 total-normal: 0
116 total-low: 0
2b68721a 117 - archive:
3579dc14 118 artifacts: 'build/**,tap/**'
2b68721a
MJ
119 allow-empty: false
120 - workspace-cleanup
68fff945
JR
121 - email-ext:
122 recipients: '{obj:email_to}'
123 reply-to: ci-notification@lists.lttng.org
124 always: false
125 unstable: false
126 first-failure: true
127 first-unstable: true
128 not-built: false
129 aborted: false
130 regression: false
131 failure: false
132 second-failure: false
133 improvement: false
134 still-failing: false
135 success: false
136 fixed: false
137 fixed-unhealthy: true
138 still-unstable: false
139 pre-build: false
140 matrix-trigger: only-parent
141 send-to:
142 - recipients
2b68721a
MJ
143
144- job-template:
145 name: lttng-ust_{version}_cppcheck
146 defaults: lttng-ust
147
148 triggers:
149 - pollscm:
150 cron: "@daily"
151
152 builders:
153 - shell: |
5279b0f2
MJ
154 rm -f cppcheck-result.xml
155 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> cppcheck-result.xml
2b68721a
MJ
156
157 publishers:
158 - archive:
5279b0f2 159 artifacts: 'cppcheck-result.xml'
2b68721a
MJ
160 allow-empty: false
161 - cppcheck:
5279b0f2 162 pattern: 'cppcheck-result.xml'
2b68721a
MJ
163 - email:
164 recipients: 'ci-notification@lists.lttng.org'
165 notify-every-unstable-build: true
166 send-to-individuals: false
167
168- job-template:
169 name: lttng-ust_{version}_scan-build
170 defaults: lttng-ust
16844a6d 171 node: 'amd64'
2b68721a
MJ
172
173 triggers:
174 - pollscm:
175 cron: "@daily"
176
177 builders:
c9b78c7b 178 - copyartifact:
16844a6d 179 project: liburcu_master_build/arch=amd64,conf=std,build=std
c9b78c7b 180 which-build: last-successful
3522265a 181 stable: false
c9b78c7b
MJ
182 filter: 'build/**'
183 target: 'deps/liburcu'
184 do-not-fingerprint: true
2b68721a 185 - shell:
69f05d59 186 !include-raw-escape: scripts/common/scan-build.sh
2b68721a
MJ
187
188 publishers:
189 - html-publisher:
190 name: 'HTML Report'
191 dir: 'scan-build-archive/'
192 files: 'index.html'
193
cdb4cba4
MJ
194- job-template:
195 name: lttng-ust_{version}_coverity
196 defaults: lttng-ust
16844a6d 197 node: 'amd64'
cdb4cba4
MJ
198
199 triggers:
200 - pollscm:
201 cron: "@daily"
202
203 wrappers:
204 - workspace-cleanup
205 - timestamps
206 - ansicolor:
207 colormap: xterm
208 - credentials-binding:
209 - username-password-separated:
210 credential-id: lttng-ust_coverity_token
211 username: COVERITY_SCAN_PROJECT_NAME
212 password: COVERITY_SCAN_TOKEN
213
214 builders:
215 - copyartifact:
16844a6d 216 project: liburcu_master_build/arch=amd64,conf=std,build=std
cdb4cba4 217 which-build: last-successful
3522265a 218 stable: false
cdb4cba4
MJ
219 filter: 'build/**'
220 target: 'deps/liburcu'
221 do-not-fingerprint: true
222 - shell:
ef63064f 223 !include-raw-escape: scripts/common/coverity.sh
cdb4cba4
MJ
224
225 publishers:
226 - workspace-cleanup
1f4fba8c
MJ
227 - archive:
228 artifacts: 'analysis-results.tgz,cov-int/**'
229 allow-empty: false
2b68721a 230
2b68721a 231
3579dc14
MJ
232## Views
233- view-template:
234 name: 'LTTng-ust'
235 view-type: list
236 regex: 'lttng-ust[-_].*'
2b68721a 237
2b68721a 238
3579dc14 239## Projects
2b68721a
MJ
240- project:
241 name: lttng-ust
51ca880a
MJ
242 github_user: lttng
243 github_name: lttng-ust
68fff945 244 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
2b68721a 245 version:
9beacf91 246 - stable-2.8
0a9d9a74 247 - stable-2.9
b631316e 248 - stable-2.10
7f5ffb7a 249 - stable-2.11
2b68721a
MJ
250 jobs:
251 - 'lttng-ust_{version}_{buildtype}':
252 buildtype: build
16844a6d 253 arch: !!python/tuple [amd64]
67122b96 254 build: !!python/tuple [std, dist, oot, oot-dist]
0349e2c0 255 conf: !!python/tuple [std, agents, debug-rcu]
3579dc14 256 liburcu_version: !!python/tuple [stable-0.8, stable-0.9, stable-0.10, stable-0.11, master]
2b68721a
MJ
257 - 'lttng-ust_{version}_{buildtype}':
258 buildtype: portbuild
16844a6d 259 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
2b68721a 260 build: !!python/tuple [std]
67122b96 261 conf: !!python/tuple [std, agents]
3579dc14 262 liburcu_version: !!python/tuple [stable-0.8, stable-0.9, stable-0.10, stable-0.11, master]
81bf613d
MJ
263 - 'lttng-ust_{version}_{buildtype}':
264 buildtype: slesbuild
265 arch: !!python/tuple [sles12sp2]
266 build: !!python/tuple [std]
267 conf: !!python/tuple [std]
3579dc14 268 liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.11, master]
2b68721a
MJ
269 - 'lttng-ust_{version}_cppcheck'
270 - 'lttng-ust_{version}_scan-build'
fe16cb00
MJ
271 - 'lttng-ust_{version}_{buildtype}':
272 buildtype: build
273 version: master
16844a6d 274 arch: !!python/tuple [amd64]
fe16cb00
MJ
275 build: !!python/tuple [std, dist, oot, oot-dist]
276 conf: !!python/tuple [std, agents, debug-rcu]
3579dc14 277 liburcu_version: !!python/tuple [stable-0.11, master]
fe16cb00
MJ
278 - 'lttng-ust_{version}_{buildtype}':
279 buildtype: portbuild
280 version: master
16844a6d 281 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
fe16cb00
MJ
282 build: !!python/tuple [std]
283 conf: !!python/tuple [std, agents]
3579dc14 284 liburcu_version: !!python/tuple [stable-0.11, master]
fe16cb00
MJ
285 - 'lttng-ust_{version}_{buildtype}':
286 buildtype: slesbuild
287 version: master
288 arch: !!python/tuple [sles12sp2]
289 build: !!python/tuple [std]
290 conf: !!python/tuple [std]
3579dc14 291 liburcu_version: !!python/tuple [stable-0.11, master]
fe16cb00
MJ
292 - 'lttng-ust_{version}_cppcheck':
293 version: master
294 - 'lttng-ust_{version}_scan-build':
295 version: master
cdb4cba4
MJ
296 - 'lttng-ust_{version}_coverity':
297 version: master
2b68721a 298
23ea1b88
MJ
299 # stable-2.7
300 - 'lttng-ust_{version}_{buildtype}':
301 buildtype: slesbuild
302 version: stable-2.7
303 arch: !!python/tuple [sles12sp2]
304 build: !!python/tuple [std]
305 conf: !!python/tuple [std]
306 liburcu_version: !!python/tuple [stable-0.9]
307
3579dc14 308- project:
e04f80ef 309 name: lttng-ust-views
3579dc14
MJ
310 views:
311 - LTTng-ust
This page took 0.040246 seconds and 4 git commands to generate.