Commit | Line | Data |
---|---|---|
00ece24a MJ |
1 | --- |
2 | ## Defaults | |
2b68721a MJ |
3 | - defaults: |
4 | name: lttng-ust | |
5 | description: | | |
6 | LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is a | |
7 | port of the low-overhead tracing capabilities of the LTTng kernel tracer | |
8 | to user-space. The library "liblttng-ust" enables tracing of | |
9 | applications and libraries. | |
10 | ||
11 | <p>Job is managed by Jenkins Job Builder.</p> | |
12 | ||
13 | project-type: freestyle | |
14 | ||
2b68721a | 15 | wrappers: |
2356937a MJ |
16 | - ansicolor: <tng-ust_wrapper_ansicolor_defaults |
17 | colormap: xterm | |
18 | - timeout: <tng-ust_wrapper_timeout_defaults | |
19 | timeout: 20 | |
20 | fail: true | |
21 | type: no-activity | |
22 | write-description: "<h1 style=\"color:red\">This build failed due to timeout.</h1>" | |
2b68721a | 23 | - timestamps |
2356937a | 24 | - workspace-cleanup |
2b68721a MJ |
25 | |
26 | scm: | |
27 | - git: | |
4d27af8f | 28 | url: https://github.com/{github_user}/{github_name}.git |
2b68721a | 29 | browser: githubweb |
51ca880a | 30 | browser-url: https://github.com/{github_user}/{github_name} |
2b68721a MJ |
31 | branches: |
32 | - origin/{version} | |
1f4fba8c | 33 | basedir: src/lttng-ust |
89b9225e | 34 | skip-tag: true |
2b68721a MJ |
35 | |
36 | triggers: | |
37 | - pollscm: | |
38 | cron: "@hourly" | |
39 | ||
40 | properties: | |
69f05d59 MJ |
41 | - inject: |
42 | properties-content: | | |
43 | PROJECT_NAME=lttng-ust | |
edf72710 | 44 | - build-discarder: |
3b228cdd MJ |
45 | num-to-keep: 10 |
46 | artifact-num-to-keep: 2 | |
2b68721a | 47 | - github: |
51ca880a | 48 | url: https://github.com/{github_user}/{github_name} |
2b68721a MJ |
49 | |
50 | ||
a3bc0379 | 51 | ## Anchors |
00ece24a | 52 | - _lttng-ust_matrix_axes_defaults: <tng-ust_matrix_axes_defaults |
2356937a | 53 | name: 'lttng-ust_matrix_axes_defaults' |
2b68721a | 54 | project-type: matrix |
ca8c6144 | 55 | node: 'master' # Applies only to matrix flyweight task |
2356937a | 56 | execution-strategy: <tng-ust_matrix_execution-strategy_defaults |
568b5cbd | 57 | combination-filter: '{filter}' |
2356937a MJ |
58 | touchstone: |
59 | expr: '{touchstone}' | |
60 | result: unstable | |
2b68721a | 61 | axes: |
94a6d1fb | 62 | - axis: <tng-ust_matrix_axis_platform |
2b68721a | 63 | type: slave |
94a6d1fb MJ |
64 | name: platform |
65 | values: '{obj:platforms}' | |
2356937a | 66 | - axis: <tng-ust_matrix_axis_conf |
2b68721a MJ |
67 | type: user-defined |
68 | name: conf | |
2356937a MJ |
69 | values: '{obj:confs}' |
70 | - axis: <tng-ust_matrix_axis_build | |
2b68721a MJ |
71 | type: user-defined |
72 | name: build | |
2356937a MJ |
73 | values: '{obj:builds}' |
74 | - axis: <tng-ust_matrix_axis_liburcu_version | |
75 | type: user-defined | |
76 | name: liburcu_version | |
77 | values: '{obj:liburcu_versions}' | |
2b68721a | 78 | |
00ece24a MJ |
79 | - _lttng-ust_matrix_axes_review_lttng-tools: <tng-ust_matrix_axes_review_lttng-tools |
80 | name: 'lttng-ust_matrix_axes_review_lttng-tools' | |
81056679 JR |
81 | project-type: matrix |
82 | node: 'master' # Applies only to matrix flyweight task | |
2356937a | 83 | execution-strategy: *lttng-ust_matrix_execution-strategy_defaults |
81056679 | 84 | axes: |
94a6d1fb | 85 | - axis: *lttng-ust_matrix_axis_platform |
2356937a MJ |
86 | - axis: *lttng-ust_matrix_axis_conf |
87 | - axis: *lttng-ust_matrix_axis_build | |
88 | ||
00ece24a | 89 | - _lttng-ust_steps_copyartifact_defaults: |
2356937a MJ |
90 | name: 'lttng-ust_steps_copyartifact_defaults' |
91 | steps: | |
92 | - copyartifact: <tng-ust_steps_copyartifact_defaults | |
93 | project: '' | |
94 | which-build: last-successful | |
95 | stable: false | |
96 | filter: 'build/**' | |
97 | target: 'deps' | |
98 | do-not-fingerprint: true | |
81056679 | 99 | |
00ece24a | 100 | - _lttng-ust_builders_defaults: <tng-ust_builders_defaults |
2356937a | 101 | name: 'lttng-ust_builders_defaults' |
2b68721a | 102 | builders: |
2356937a MJ |
103 | # Generate a properties file to add additionnal env |
104 | - shell: | | |
105 | #!/bin/bash | |
106 | set -exu | |
107 | # Select the liburcu conf based on the current conf | |
108 | case "$conf" in | |
109 | debug-rcu|tls_fallback) | |
110 | liburcu_conf=$conf | |
111 | ;; | |
112 | *) | |
113 | liburcu_conf=std | |
114 | ;; | |
115 | esac | |
116 | echo "liburcu_conf=$liburcu_conf" > env.properties | |
117 | ||
118 | # Inject the additionnal env early to use them in the copyartifact step | |
119 | - inject: | |
120 | properties-file: env.properties | |
121 | ||
122 | - copyartifact: | |
123 | <<: *lttng-ust_steps_copyartifact_defaults | |
94a6d1fb | 124 | project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std' |
2356937a MJ |
125 | |
126 | # Run the build | |
2b68721a | 127 | - shell: |
51c9c62d MJ |
128 | !include-raw-escape: |
129 | - scripts/common/print.sh | |
130 | - scripts/lttng-ust/build.sh | |
2b68721a | 131 | |
00ece24a MJ |
132 | - _lttng-ust_builders_review_lttng-tools: <tng-ust_builders_review_lttng-tools |
133 | name: 'lttng-ust_builders_review_lttng-tools' | |
2356937a | 134 | |
7c50e5dd | 135 | builders: |
2356937a MJ |
136 | # Generate a properties file to add additionnal env |
137 | - shell: | | |
138 | #!/bin/bash | |
139 | set -exu | |
140 | # Select the liburcu conf based on the current conf | |
141 | case "$conf" in | |
142 | debug-rcu|tls_fallback) | |
143 | liburcu_conf=$conf | |
144 | ;; | |
145 | *) | |
146 | liburcu_conf=std | |
147 | ;; | |
148 | esac | |
149 | echo "liburcu_conf=$liburcu_conf" >> env.properties | |
150 | # Select the liburcu version based on the gerrit branch | |
151 | case "$GERRIT_BRANCH" in | |
152 | master) | |
153 | liburcu_version=master | |
154 | ;; | |
155 | *) | |
156 | liburcu_version={liburcu_version} | |
157 | ;; | |
158 | esac | |
159 | echo "liburcu_version=$liburcu_version" >> env.properties | |
160 | ||
161 | # Inject the additionnal env early to use them in the copyartifact step | |
162 | - inject: | |
163 | properties-file: env.properties | |
164 | ||
7c50e5dd | 165 | - copyartifact: |
2356937a | 166 | <<: *lttng-ust_steps_copyartifact_defaults |
94a6d1fb | 167 | project: 'liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std' |
2356937a MJ |
168 | |
169 | - copyartifact: | |
170 | <<: *lttng-ust_steps_copyartifact_defaults | |
94a6d1fb | 171 | project: 'babeltrace_{babeltrace_version}_{buildtype}/platform=${{platform}},conf=std,build=std' |
2356937a MJ |
172 | |
173 | - shell: | | |
174 | #!/bin/bash | |
175 | set -exu | |
176 | git clone -b "$GERRIT_BRANCH" https://review.lttng.org/lttng-tools src/lttng-tools | |
7c50e5dd JR |
177 | |
178 | - shell: | |
179 | !include-raw-escape: | |
180 | - scripts/common/print.sh | |
181 | - scripts/lttng-ust/build.sh | |
2356937a | 182 | |
7c50e5dd JR |
183 | - shell: |
184 | !include-raw-escape: | |
185 | - scripts/lttng-tools/gerrit-install-deps.sh | |
2356937a | 186 | |
7c50e5dd JR |
187 | - shell: |
188 | !include-raw-escape: | |
189 | - scripts/common/print.sh | |
190 | - scripts/lttng-tools/build.sh | |
a3bc0379 | 191 | |
00ece24a | 192 | - _lttng-ust_publishers_defaults: <tng-ust_publishers_defaults |
2356937a | 193 | name: 'lttng-ust_publishers_defaults' |
2b68721a | 194 | publishers: |
2356937a | 195 | - tap: <tng-ust_publisher_tap_defaults |
1f4fba8c | 196 | results: 'tap/**/*.log' |
1d56e325 | 197 | fail-if-no-results: true |
2b68721a | 198 | failed-tests-mark-build-as-failure: true |
4f04deeb MJ |
199 | include-comment-diagnostics: true |
200 | output-tap-to-console: false | |
95654431 | 201 | todo-is-failure: false |
2356937a MJ |
202 | - raw: <tng-ust_publisher_warnings-ng_defaults |
203 | xml: | | |
204 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
205 | <analysisTools> | |
206 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
207 | <id/> | |
208 | <name/> | |
209 | <jenkins plugin="plugin-util-api"/> | |
210 | <pattern/> | |
211 | <reportEncoding/> | |
212 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
213 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
2356937a MJ |
214 | </analysisTools> |
215 | <sourceCodeEncoding/> | |
216 | <sourceDirectory/> | |
217 | <sourceDirectories/> | |
218 | <ignoreQualityGate>false</ignoreQualityGate> | |
219 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
220 | <failOnError>false</failOnError> | |
221 | <healthy>0</healthy> | |
222 | <unhealthy>0</unhealthy> | |
223 | <minimumSeverity plugin="analysis-model-api"> | |
224 | <name>LOW</name> | |
225 | </minimumSeverity> | |
226 | <filters/> | |
227 | <isEnabledForFailure>true</isEnabledForFailure> | |
228 | <isAggregatingResults>true</isAggregatingResults> | |
229 | <isBlameDisabled>false</isBlameDisabled> | |
230 | <skipPublishingChecks>true</skipPublishingChecks> | |
231 | <publishAllIssues>false</publishAllIssues> | |
232 | <qualityGates> | |
233 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
234 | <threshold>1</threshold> | |
235 | <type>TOTAL</type> | |
236 | <status>WARNING</status> | |
237 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
238 | </qualityGates> | |
239 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
240 | <scm/> | |
241 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
242 | - archive: <tng-ust_publisher_archive_defaults | |
4174b905 | 243 | artifacts: 'build/**,tap/**,log/**' |
23f01bc3 | 244 | follow-symlinks: true |
2b68721a | 245 | allow-empty: false |
2356937a MJ |
246 | - workspace-cleanup: <tng-ust_publisher_workspace-cleanup_defaults |
247 | clean-if: | |
248 | - failure: false | |
ee4b760a MJ |
249 | - ircbot: <tng-ust_publisher_ircbot_defaults |
250 | strategy: statechange-only | |
2abd3a64 MJ |
251 | message-type: summary |
252 | matrix-notifier: only-parent | |
2356937a | 253 | - email-ext: <tng-ust_publisher_email-ext_defaults |
68fff945 JR |
254 | recipients: '{obj:email_to}' |
255 | reply-to: ci-notification@lists.lttng.org | |
256 | always: false | |
257 | unstable: false | |
258 | first-failure: true | |
259 | first-unstable: true | |
260 | not-built: false | |
261 | aborted: false | |
262 | regression: false | |
263 | failure: false | |
264 | second-failure: false | |
265 | improvement: false | |
266 | still-failing: false | |
267 | success: false | |
268 | fixed: false | |
269 | fixed-unhealthy: true | |
270 | still-unstable: false | |
271 | pre-build: false | |
272 | matrix-trigger: only-parent | |
273 | send-to: | |
274 | - recipients | |
2b68721a | 275 | |
00ece24a MJ |
276 | - _lttng-ust_publishers_review: <tng-ust_publishers_review |
277 | name: 'lttng-ust_publishers_review' | |
2356937a MJ |
278 | publishers: |
279 | - tap: *lttng-ust_publisher_tap_defaults | |
280 | # Fail job on any compiler warnings | |
281 | - raw: | |
282 | xml: | | |
283 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
284 | <analysisTools> | |
285 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
286 | <id/> | |
287 | <name/> | |
288 | <jenkins plugin="plugin-util-api"/> | |
289 | <pattern/> | |
290 | <reportEncoding/> | |
291 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
292 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
2356937a MJ |
293 | </analysisTools> |
294 | <sourceCodeEncoding/> | |
295 | <sourceDirectory/> | |
296 | <sourceDirectories/> | |
297 | <ignoreQualityGate>false</ignoreQualityGate> | |
298 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
299 | <failOnError>false</failOnError> | |
300 | <healthy>0</healthy> | |
301 | <unhealthy>0</unhealthy> | |
302 | <minimumSeverity plugin="analysis-model-api"> | |
303 | <name>LOW</name> | |
304 | </minimumSeverity> | |
305 | <filters/> | |
306 | <isEnabledForFailure>true</isEnabledForFailure> | |
307 | <isAggregatingResults>true</isAggregatingResults> | |
308 | <isBlameDisabled>false</isBlameDisabled> | |
309 | <skipPublishingChecks>true</skipPublishingChecks> | |
310 | <publishAllIssues>false</publishAllIssues> | |
311 | <qualityGates> | |
312 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
313 | <threshold>1</threshold> | |
314 | <type>TOTAL</type> | |
315 | <status>FAILED</status> | |
316 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
317 | </qualityGates> | |
318 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
319 | <scm/> | |
320 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
321 | - archive: *lttng-ust_publisher_archive_defaults | |
322 | - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults | |
74cc8870 | 323 | |
2356937a | 324 | ## Templates |
74cc8870 MJ |
325 | - job-template: |
326 | name: '{job_prefix}lttng-ust_{version}_{buildtype}' | |
327 | defaults: lttng-ust | |
328 | ||
2356937a MJ |
329 | <<: *lttng-ust_matrix_axes_defaults |
330 | <<: *lttng-ust_builders_defaults | |
331 | <<: *lttng-ust_publishers_defaults | |
332 | ||
74cc8870 | 333 | |
a3bc0379 | 334 | - job-template: |
00ece24a | 335 | name: dev_review_lttng-ust_{version}_{buildtype} |
a3bc0379 MJ |
336 | defaults: lttng-ust |
337 | concurrent: true | |
338 | ||
339 | scm: | |
340 | - git: | |
341 | url: https://review.lttng.org/lttng-ust | |
342 | refspec: 'refs/changes/*:refs/changes/*' | |
343 | branches: | |
344 | - '$GERRIT_REFSPEC' | |
345 | basedir: src/lttng-ust | |
346 | skip-tag: true | |
347 | ||
348 | triggers: | |
00ece24a | 349 | - gerrit: <tng-ust_trigger_gerrit_defaults |
a3bc0379 MJ |
350 | trigger-on: |
351 | - comment-added-event: | |
352 | approval-category: 'CI-Build' | |
353 | approval-value: 1 | |
354 | projects: | |
355 | - project-compare-type: 'PLAIN' | |
356 | project-pattern: 'lttng-ust' | |
357 | branches: | |
00ece24a MJ |
358 | - branch-compare-type: 'PLAIN' |
359 | branch-pattern: '{version}' | |
a3bc0379 | 360 | |
2356937a MJ |
361 | <<: *lttng-ust_matrix_axes_defaults |
362 | <<: *lttng-ust_builders_defaults | |
00ece24a | 363 | <<: *lttng-ust_publishers_review |
a3bc0379 | 364 | |
85d7c882 MJ |
365 | properties: |
366 | - inject: | |
367 | properties-content: | | |
368 | PROJECT_NAME=lttng-ust | |
369 | - build-discarder: | |
370 | days-to-keep: 1 | |
371 | - throttle: | |
372 | option: 'category' | |
373 | categories: | |
374 | - 'gerrit-{buildtype}' | |
375 | ||
a3bc0379 | 376 | |
7c50e5dd | 377 | - job-template: |
00ece24a | 378 | name: dev_review_lttng-ust_lttng-tools_{version}_{buildtype} |
7c50e5dd JR |
379 | defaults: lttng-ust |
380 | concurrent: true | |
381 | ||
382 | scm: | |
383 | - git: | |
384 | url: https://review.lttng.org/lttng-ust | |
385 | refspec: 'refs/changes/*:refs/changes/*' | |
386 | branches: | |
387 | - '$GERRIT_REFSPEC' | |
388 | basedir: src/lttng-ust | |
389 | skip-tag: true | |
7c50e5dd JR |
390 | |
391 | triggers: | |
00ece24a | 392 | - gerrit: *lttng-ust_trigger_gerrit_defaults |
7c50e5dd | 393 | |
00ece24a MJ |
394 | <<: *lttng-ust_matrix_axes_review_lttng-tools |
395 | <<: *lttng-ust_builders_review_lttng-tools | |
396 | <<: *lttng-ust_publishers_review | |
7c50e5dd JR |
397 | |
398 | properties: | |
399 | - inject: | |
400 | properties-content: | | |
401 | PROJECT_NAME=lttng-ust | |
402 | - build-discarder: | |
403 | days-to-keep: 1 | |
404 | - throttle: | |
405 | option: 'category' | |
406 | categories: | |
407 | - 'gerrit-{buildtype}' | |
408 | ||
7c50e5dd | 409 | |
2b68721a MJ |
410 | - job-template: |
411 | name: lttng-ust_{version}_scan-build | |
412 | defaults: lttng-ust | |
5b40802e | 413 | node: 'deb12-amd64' |
2b68721a MJ |
414 | |
415 | triggers: | |
416 | - pollscm: | |
417 | cron: "@daily" | |
418 | ||
419 | builders: | |
c9b78c7b | 420 | - copyartifact: |
2356937a | 421 | <<: *lttng-ust_steps_copyartifact_defaults |
5b40802e | 422 | project: liburcu_master_linuxbuild/platform=deb12-amd64,conf=std,build=std |
2b68721a | 423 | - shell: |
69f05d59 | 424 | !include-raw-escape: scripts/common/scan-build.sh |
2b68721a MJ |
425 | |
426 | publishers: | |
427 | - html-publisher: | |
428 | name: 'HTML Report' | |
429 | dir: 'scan-build-archive/' | |
430 | files: 'index.html' | |
2356937a | 431 | - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults |
ee4b760a | 432 | - ircbot: *lttng-ust_publisher_ircbot_defaults |
2356937a | 433 | |
2b68721a | 434 | |
cdb4cba4 MJ |
435 | - job-template: |
436 | name: lttng-ust_{version}_coverity | |
437 | defaults: lttng-ust | |
5b40802e | 438 | node: 'deb12-amd64' |
cdb4cba4 MJ |
439 | |
440 | triggers: | |
441 | - pollscm: | |
442 | cron: "@daily" | |
443 | ||
444 | wrappers: | |
2356937a MJ |
445 | - ansicolor: *lttng-ust_wrapper_ansicolor_defaults |
446 | - timeout: *lttng-ust_wrapper_timeout_defaults | |
cdb4cba4 | 447 | - timestamps |
2356937a | 448 | - workspace-cleanup |
cdb4cba4 MJ |
449 | - credentials-binding: |
450 | - username-password-separated: | |
451 | credential-id: lttng-ust_coverity_token | |
452 | username: COVERITY_SCAN_PROJECT_NAME | |
453 | password: COVERITY_SCAN_TOKEN | |
454 | ||
455 | builders: | |
456 | - copyartifact: | |
2356937a | 457 | <<: *lttng-ust_steps_copyartifact_defaults |
5b40802e | 458 | project: liburcu_master_linuxbuild/platform=deb12-amd64,conf=std,build=std |
cdb4cba4 | 459 | - shell: |
ef63064f | 460 | !include-raw-escape: scripts/common/coverity.sh |
cdb4cba4 MJ |
461 | |
462 | publishers: | |
1f4fba8c MJ |
463 | - archive: |
464 | artifacts: 'analysis-results.tgz,cov-int/**' | |
465 | allow-empty: false | |
2356937a | 466 | - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults |
ee4b760a | 467 | - ircbot: *lttng-ust_publisher_ircbot_defaults |
2b68721a | 468 | |
eacb32f5 KS |
469 | - job-template: |
470 | name: dev_review_lttng-ust-java-tests_{version}_{buildtype} | |
471 | defaults: lttng-ust | |
472 | description: | | |
473 | Review tests for LTTng-UST's Java agent. | |
474 | <p>Job is managed by Jenkins Job Builder.</p> | |
475 | project-type: matrix | |
476 | axes: | |
477 | - axis: | |
478 | <<: *lttng-ust_matrix_axis_platform | |
479 | concurrent: true | |
480 | scm: | |
481 | - git: | |
482 | url: https://review.lttng.org/lttng-ust-java-tests | |
483 | refspec: 'refs/changes/*:refs/changes/*' | |
484 | branches: | |
485 | - '$GERRIT_REFSPEC' | |
486 | basedir: 'src/lttng-ust-java-tests' | |
487 | skip-tag: true | |
488 | triggers: | |
489 | - gerrit: | |
490 | <<: *lttng-ust_trigger_gerrit_defaults | |
491 | projects: | |
492 | - project-compare-type: 'PLAIN' | |
493 | project-pattern: 'lttng-ust-java-tests' | |
494 | branches: | |
495 | - branch-compare-type: 'PLAIN' | |
496 | branch-pattern: '{version}' | |
497 | builders: | |
498 | - copyartifact: | |
499 | <<: *lttng-ust_steps_copyartifact_defaults | |
500 | project: 'liburcu_{liburcu_versions[0]}_{buildtype}/platform=${{platform}},conf=std,build=std' | |
501 | - copyartifact: | |
502 | <<: *lttng-ust_steps_copyartifact_defaults | |
503 | project: 'lttng-ust_{lttngust_versions[0]}_{buildtype}/liburcu_version={liburcu_versions[0]},platform=${{platform}},conf=agents,build=std' | |
504 | - copyartifact: | |
505 | <<: *lttng-ust_steps_copyartifact_defaults | |
506 | project: 'lttng-tools_{lttngtools_versions[0]}_{buildtype}/babeltrace_version={babeltrace_versions[0]},liburcu_version={liburcu_versions[0]},platform=${{platform}},conf=agents,build=std' | |
507 | - copyartifact: | |
508 | <<: *lttng-ust_steps_copyartifact_defaults | |
509 | project: 'babeltrace_{babeltrace_versions[0]}_{buildtype}/platform=${{platform}},conf=std,build=std' | |
510 | - shell: | |
511 | !include-raw-escape scripts/lttng-ust/lttng-ust-java-tests.sh | |
512 | properties: | |
513 | - inject: | |
514 | properties-content: | | |
515 | PROJECT_NAME=lttng-ust-java-tests | |
516 | - build-discarder: | |
517 | days-to-keep: 1 | |
518 | - throttle: | |
519 | option: 'category' | |
520 | categories: | |
521 | - 'gerrit-{buildtype}' | |
522 | publishers: | |
523 | - archive: | |
524 | artifacts: 'log/lttng-sessiond.log' | |
525 | allow-empty: false | |
526 | - junit: | |
527 | results: 'src/lttng-ust-java-tests/**/target/failsafe-reports/*.xml' | |
528 | - workspace-cleanup | |
2b68721a | 529 | |
3579dc14 MJ |
530 | ## Views |
531 | - view-template: | |
532 | name: 'LTTng-ust' | |
533 | view-type: list | |
534 | regex: 'lttng-ust[-_].*' | |
2b68721a | 535 | |
2b68721a | 536 | |
3579dc14 | 537 | ## Projects |
2b68721a MJ |
538 | - project: |
539 | name: lttng-ust | |
74cc8870 | 540 | job_prefix: '' |
51ca880a MJ |
541 | github_user: lttng |
542 | github_name: lttng-ust | |
68fff945 | 543 | email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' |
2b68721a | 544 | jobs: |
03297c9e | 545 | ## Master ## |
070f084d MJ |
546 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
547 | buildtype: linuxbuild | |
548 | version: master | |
30e5c12c | 549 | platforms: !!python/tuple [deb12-amd64] |
070f084d MJ |
550 | builds: !!python/tuple [std, dist, oot, oot-dist] |
551 | confs: !!python/tuple [std, agents, debug-rcu, tls_fallback] | |
70f5aee2 | 552 | liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master] |
070f084d MJ |
553 | filter: '(build=="std") || ((liburcu_version=="master" && (conf=="std" || conf=="agents")))' |
554 | touchstone: '' | |
2356937a | 555 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
fe16cb00 MJ |
556 | buildtype: portbuild |
557 | version: master | |
29901a39 | 558 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
2356937a MJ |
559 | builds: !!python/tuple [std] |
560 | confs: !!python/tuple [std, agents] | |
561 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
568b5cbd | 562 | filter: '' |
2356937a MJ |
563 | touchstone: '' |
564 | - '{job_prefix}lttng-ust_{version}_{buildtype}': | |
fe16cb00 MJ |
565 | buildtype: slesbuild |
566 | version: master | |
24e49fa5 | 567 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
2356937a MJ |
568 | builds: !!python/tuple [std] |
569 | confs: !!python/tuple [agents] | |
570 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
568b5cbd | 571 | filter: '' |
2356937a MJ |
572 | touchstone: '' |
573 | - '{job_prefix}lttng-ust_{version}_{buildtype}': | |
568b5cbd MJ |
574 | buildtype: elbuild |
575 | version: master | |
5bfd388f | 576 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
2356937a MJ |
577 | builds: !!python/tuple [std] |
578 | confs: !!python/tuple [std] | |
579 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
568b5cbd | 580 | filter: '' |
2356937a | 581 | touchstone: '' |
6871000c MJ |
582 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
583 | buildtype: yoctobuild | |
584 | version: master | |
1b2501b5 | 585 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
6871000c MJ |
586 | builds: !!python/tuple [std] |
587 | confs: !!python/tuple [std] | |
588 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
589 | filter: '' | |
590 | touchstone: '' | |
2356937a | 591 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
0f7217a0 MJ |
592 | buildtype: freebsdbuild |
593 | version: master | |
94a6d1fb | 594 | platforms: !!python/tuple [freebsd-amd64] |
2356937a MJ |
595 | builds: !!python/tuple [std] |
596 | confs: !!python/tuple [agents] | |
597 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
0f7217a0 | 598 | filter: '' |
2356937a | 599 | touchstone: '' |
fe16cb00 MJ |
600 | - 'lttng-ust_{version}_scan-build': |
601 | version: master | |
cdb4cba4 MJ |
602 | - 'lttng-ust_{version}_coverity': |
603 | version: master | |
8713492f | 604 | |
0fc8b7ac | 605 | ## Stable 2.13 ## |
070f084d MJ |
606 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
607 | buildtype: linuxbuild | |
608 | version: stable-2.13 | |
30e5c12c | 609 | platforms: !!python/tuple [deb12-amd64] |
070f084d MJ |
610 | builds: !!python/tuple [std, dist, oot, oot-dist] |
611 | confs: !!python/tuple [std, agents, debug-rcu, tls_fallback] | |
70f5aee2 | 612 | liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master] |
070f084d MJ |
613 | filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))' |
614 | touchstone: '' | |
2356937a | 615 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
0fc8b7ac MJ |
616 | buildtype: portbuild |
617 | version: stable-2.13 | |
29901a39 | 618 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
2356937a MJ |
619 | builds: !!python/tuple [std] |
620 | confs: !!python/tuple [std, agents] | |
621 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
0fc8b7ac | 622 | filter: '' |
2356937a MJ |
623 | touchstone: '' |
624 | - '{job_prefix}lttng-ust_{version}_{buildtype}': | |
0fc8b7ac MJ |
625 | buildtype: slesbuild |
626 | version: stable-2.13 | |
24e49fa5 | 627 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
2356937a MJ |
628 | builds: !!python/tuple [std] |
629 | confs: !!python/tuple [agents] | |
630 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
0fc8b7ac | 631 | filter: '' |
2356937a MJ |
632 | touchstone: '' |
633 | - '{job_prefix}lttng-ust_{version}_{buildtype}': | |
0fc8b7ac MJ |
634 | buildtype: elbuild |
635 | version: stable-2.13 | |
5bfd388f | 636 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
2356937a MJ |
637 | builds: !!python/tuple [std] |
638 | confs: !!python/tuple [std] | |
639 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
0fc8b7ac | 640 | filter: '' |
2356937a | 641 | touchstone: '' |
2e454c3b MJ |
642 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
643 | buildtype: yoctobuild | |
644 | version: stable-2.13 | |
1b2501b5 | 645 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
2e454c3b MJ |
646 | builds: !!python/tuple [std] |
647 | confs: !!python/tuple [std] | |
648 | liburcu_versions: !!python/tuple [stable-0.13, master] | |
649 | filter: '' | |
650 | touchstone: '' | |
0fc8b7ac MJ |
651 | - 'lttng-ust_{version}_scan-build': |
652 | version: stable-2.13 | |
653 | ||
03297c9e | 654 | ## Stable 2.12 ## |
070f084d MJ |
655 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
656 | buildtype: linuxbuild | |
657 | version: stable-2.12 | |
30e5c12c | 658 | platforms: !!python/tuple [deb12-amd64] |
070f084d MJ |
659 | builds: !!python/tuple [std, dist, oot, oot-dist] |
660 | confs: !!python/tuple [std, agents, debug-rcu, tls_fallback] | |
70f5aee2 | 661 | liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master] |
070f084d MJ |
662 | filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))' |
663 | touchstone: '' | |
2356937a | 664 | - '{job_prefix}lttng-ust_{version}_{buildtype}': |
03297c9e MJ |
665 | buildtype: portbuild |
666 | version: stable-2.12 | |
29901a39 | 667 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
2356937a MJ |
668 | builds: !!python/tuple [std] |
669 | confs: !!python/tuple [std, agents] | |
d24ed5e3 | 670 | liburcu_versions: !!python/tuple [stable-0.13, master] |
03297c9e | 671 | filter: '' |
2356937a MJ |
672 | touchstone: '' |
673 | - '{job_prefix}lttng-ust_{version}_{buildtype}': | |
03297c9e MJ |
674 | buildtype: slesbuild |
675 | version: stable-2.12 | |
24e49fa5 | 676 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
2356937a MJ |
677 | builds: !!python/tuple [std] |
678 | confs: !!python/tuple [agents] | |
d24ed5e3 | 679 | liburcu_versions: !!python/tuple [stable-0.13] |
03297c9e | 680 | filter: '' |
2356937a MJ |
681 | touchstone: '' |
682 | - '{job_prefix}lttng-ust_{version}_{buildtype}': | |
03297c9e MJ |
683 | buildtype: elbuild |
684 | version: stable-2.12 | |
b53ef031 | 685 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
2356937a MJ |
686 | builds: !!python/tuple [std] |
687 | confs: !!python/tuple [std] | |
2e454c3b MJ |
688 | liburcu_versions: !!python/tuple [stable-0.13] |
689 | filter: '' | |
690 | touchstone: '' | |
691 | - '{job_prefix}lttng-ust_{version}_{buildtype}': | |
692 | buildtype: yoctobuild | |
693 | version: stable-2.12 | |
1b2501b5 | 694 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
2e454c3b MJ |
695 | builds: !!python/tuple [std] |
696 | confs: !!python/tuple [std] | |
d24ed5e3 | 697 | liburcu_versions: !!python/tuple [stable-0.13] |
03297c9e | 698 | filter: '' |
2356937a | 699 | touchstone: '' |
03297c9e MJ |
700 | - 'lttng-ust_{version}_scan-build': |
701 | version: stable-2.12 | |
2b68721a | 702 | |
a3bc0379 | 703 | - project: |
00ece24a | 704 | name: review-lttng-ust |
74cc8870 | 705 | job_prefix: '' |
a3bc0379 MJ |
706 | github_user: lttng |
707 | github_name: lttng-ust | |
708 | jobs: | |
eacb32f5 | 709 | ## master ## |
00ece24a MJ |
710 | - 'dev_review_lttng-ust_{version}_{buildtype}': |
711 | version: master | |
5b40802e MJ |
712 | buildtype: linuxbuild |
713 | platforms: !!python/tuple [deb12-amd64] | |
2356937a MJ |
714 | builds: !!python/tuple [std, oot, dist, oot-dist] |
715 | confs: !!python/tuple [std, agents] | |
70f5aee2 | 716 | liburcu_versions: !!python/tuple [stable-0.14] |
c8370e00 | 717 | filter: '' |
00ece24a MJ |
718 | touchstone: '(build == "std") && (conf == "std")' |
719 | - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}': | |
720 | version: master | |
5719040c MJ |
721 | buildtype: linuxbuild |
722 | platforms: !!python/tuple [deb12-amd64] | |
2356937a MJ |
723 | builds: !!python/tuple [std, oot, dist, oot-dist] |
724 | confs: !!python/tuple [std, agents] | |
7c50e5dd | 725 | filter: '' |
2356937a | 726 | touchstone: '' |
70f5aee2 | 727 | liburcu_version: stable-0.14 |
7c50e5dd | 728 | babeltrace_version: stable-2.0 |
e8cf6627 KS |
729 | - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}': |
730 | version: master | |
731 | buildtype: slesbuild | |
24e49fa5 | 732 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
e8cf6627 KS |
733 | builds: !!python/tuple [std] |
734 | confs: !!python/tuple [agents] | |
735 | filter: '' | |
736 | touchstone: '' | |
737 | liburcu_version: stable-0.14 | |
738 | babeltrace_version: stable-2.0 | |
00ece24a MJ |
739 | - 'dev_review_lttng-ust_{version}_{buildtype}': |
740 | version: master | |
c8370e00 | 741 | buildtype: portbuild |
29901a39 | 742 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
2356937a MJ |
743 | builds: !!python/tuple [std] |
744 | confs: !!python/tuple [agents] | |
70f5aee2 | 745 | liburcu_versions: !!python/tuple [stable-0.14] |
c8370e00 | 746 | filter: '' |
29901a39 | 747 | touchstone: '(platform == "deb12-i386")' |
00ece24a MJ |
748 | - 'dev_review_lttng-ust_{version}_{buildtype}': |
749 | version: master | |
6185514d | 750 | buildtype: freebsdbuild |
94a6d1fb | 751 | platforms: !!python/tuple [freebsd-amd64] |
2356937a MJ |
752 | builds: !!python/tuple [std] |
753 | confs: !!python/tuple [agents] | |
70f5aee2 | 754 | liburcu_versions: !!python/tuple [stable-0.14] |
6185514d | 755 | filter: '' |
2356937a | 756 | touchstone: '' |
a3bc0379 | 757 | |
00ece24a MJ |
758 | ## Stable 2.13 ## |
759 | - 'dev_review_lttng-ust_{version}_{buildtype}': | |
760 | version: stable-2.13 | |
5b40802e MJ |
761 | buildtype: linuxbuild |
762 | platforms: !!python/tuple [deb12-amd64] | |
00ece24a MJ |
763 | builds: !!python/tuple [std, oot, dist, oot-dist] |
764 | confs: !!python/tuple [std, agents] | |
765 | liburcu_versions: !!python/tuple [stable-0.13] | |
766 | filter: '' | |
767 | touchstone: '(build == "std") && (conf == "std")' | |
768 | - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}': | |
769 | version: stable-2.13 | |
5719040c MJ |
770 | buildtype: linuxbuild |
771 | platforms: !!python/tuple [deb12-amd64] | |
00ece24a MJ |
772 | builds: !!python/tuple [std, oot, dist, oot-dist] |
773 | confs: !!python/tuple [std, agents] | |
774 | filter: '' | |
775 | touchstone: '' | |
776 | liburcu_version: stable-0.13 | |
777 | babeltrace_version: stable-2.0 | |
778 | - 'dev_review_lttng-ust_{version}_{buildtype}': | |
779 | version: stable-2.13 | |
780 | buildtype: portbuild | |
29901a39 | 781 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
00ece24a MJ |
782 | builds: !!python/tuple [std] |
783 | confs: !!python/tuple [agents] | |
784 | liburcu_versions: !!python/tuple [stable-0.13] | |
785 | filter: '' | |
29901a39 | 786 | touchstone: '(platform == "deb12-i386")' |
00ece24a MJ |
787 | |
788 | ## Stable 2.12 ## | |
789 | - 'dev_review_lttng-ust_{version}_{buildtype}': | |
790 | version: stable-2.12 | |
5b40802e MJ |
791 | buildtype: linuxbuild |
792 | platforms: !!python/tuple [deb12-amd64] | |
00ece24a MJ |
793 | builds: !!python/tuple [std, oot, dist, oot-dist] |
794 | confs: !!python/tuple [std, agents] | |
795 | liburcu_versions: !!python/tuple [stable-0.13] | |
796 | filter: '' | |
797 | touchstone: '(build == "std") && (conf == "std")' | |
798 | - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}': | |
799 | version: stable-2.12 | |
5719040c MJ |
800 | buildtype: linuxbuild |
801 | platforms: !!python/tuple [deb12-amd64] | |
00ece24a MJ |
802 | builds: !!python/tuple [std, oot, dist, oot-dist] |
803 | confs: !!python/tuple [std, agents] | |
804 | filter: '' | |
805 | touchstone: '' | |
806 | liburcu_version: stable-0.13 | |
807 | babeltrace_version: stable-2.0 | |
808 | - 'dev_review_lttng-ust_{version}_{buildtype}': | |
809 | version: stable-2.12 | |
810 | buildtype: portbuild | |
29901a39 | 811 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
00ece24a MJ |
812 | builds: !!python/tuple [std] |
813 | confs: !!python/tuple [agents] | |
814 | liburcu_versions: !!python/tuple [stable-0.13] | |
815 | filter: '' | |
29901a39 | 816 | touchstone: '(platform == "deb12-i386")' |
00ece24a | 817 | |
eacb32f5 KS |
818 | - project: |
819 | name: review-lttng-ust-java | |
820 | job_prefix: '' | |
821 | github_user: lttng | |
822 | github_name: lttng-ust-java-tests | |
823 | # | |
824 | filter: '' | |
825 | groups: '!domain:log4j2' | |
826 | java_versions: !!python/tuple [java-11-openjdk] | |
827 | touchstone: '' | |
828 | version: master | |
829 | # | |
830 | babeltrace_versions: !!python/tuple [stable-2.0] | |
831 | liburcu_versions: !!python/tuple [master] | |
832 | lttngtools_versions: !!python/tuple [master] | |
833 | lttngust_versions: !!python/tuple [master] | |
834 | # | |
835 | jobs: | |
836 | - 'dev_review_lttng-ust-java-tests_{version}_{buildtype}': | |
837 | buildtype: linuxbuild | |
838 | platforms: !!python/tuple [deb12-amd64] | |
839 | - 'dev_review_lttng-ust-java-tests_{version}_{buildtype}': | |
840 | buildtype: slesbuild | |
24e49fa5 | 841 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
eacb32f5 | 842 | |
3579dc14 | 843 | - project: |
e04f80ef | 844 | name: lttng-ust-views |
3579dc14 MJ |
845 | views: |
846 | - LTTng-ust |