Commit | Line | Data |
---|---|---|
edb933dd | 1 | --- |
7361d941 | 2 | ## Defaults |
b4005bbf MJ |
3 | - defaults: |
4 | name: lttng-tools | |
5 | description: | | |
6 | The lttng-tools project provides a session daemon (lttng-sessiond) | |
7 | that acts as a tracing registry, the "lttng" command line for tracing | |
8 | control, a lttng-ctl library for tracing control and a lttng-relayd | |
9 | for network streaming. | |
10 | ||
11 | <p>Job is managed by Jenkins Job Builder.</p> | |
12 | ||
13 | project-type: freestyle | |
14 | ||
b4005bbf | 15 | wrappers: |
eba6297c MJ |
16 | - ansicolor: <tng-tools_wrapper_ansicolor_defaults |
17 | colormap: xterm | |
18 | - timeout: <tng-tools_wrapper_timeout_defaults | |
c83b390a | 19 | timeout: 30 |
70076186 | 20 | abort: true |
c83b390a | 21 | type: no-activity |
dfdc2d04 | 22 | write-description: "<h1 style=\"color:red\">This build failed due to timeout.</h1>" |
61afb3c3 | 23 | - timestamps |
eba6297c | 24 | - workspace-cleanup |
ef0d0ec1 MJ |
25 | - raw: <tng-tools_wrapper_proc-cleaner_defaults |
26 | xml: | | |
27 | <org.jenkinsci.plugins.proccleaner.PreBuildCleanup plugin="proc-cleaner-plugin"> | |
28 | <cleaner class="org.jenkinsci.plugins.proccleaner.PsCleaner"> | |
29 | <killerType>org.jenkinsci.plugins.proccleaner.PsAllKiller</killerType> | |
30 | <killer class="org.jenkinsci.plugins.proccleaner.PsAllKiller"/> | |
31 | <switchedOff>false</switchedOff> | |
32 | <systemProcessesFilterOff>false</systemProcessesFilterOff> | |
33 | </cleaner> | |
34 | </org.jenkinsci.plugins.proccleaner.PreBuildCleanup> | |
b4005bbf MJ |
35 | |
36 | scm: | |
eba6297c MJ |
37 | - git: <tng-tools_scm_git_default |
38 | url: https://github.com/{github_user}/lttng-tools.git | |
39 | browser: githubweb | |
40 | browser-url: https://github.com/{github_user}/lttng-tools | |
41 | branches: | |
42 | - '{version}' | |
43 | basedir: src/lttng-tools | |
44 | skip-tag: true | |
b4005bbf MJ |
45 | |
46 | triggers: | |
eba6297c | 47 | - pollscm: <tng-tools_trigger_pollscm_default |
b4005bbf MJ |
48 | cron: "@hourly" |
49 | ||
50 | properties: | |
1ad4c3d0 | 51 | - inject: <tng-tools_property_inject_defaults |
69f05d59 MJ |
52 | properties-content: | |
53 | PROJECT_NAME=lttng-tools | |
1ad4c3d0 | 54 | - build-discarder: <tng-tools_property_build-discarder_defaults |
a3636f24 JR |
55 | num-to-keep: 20 |
56 | artifact-num-to-keep: 2 | |
1ad4c3d0 | 57 | - github: <tng-tools_property_github_defaults |
eba6297c MJ |
58 | url: https://github.com/{github_user}/lttng-tools |
59 | ||
60 | ## Anchors | |
da9f0feb | 61 | - _lttng-tools_steps_copyartifact_defaults: |
eba6297c MJ |
62 | name: 'lttng-tools_steps_copyartifact_defaults' |
63 | steps: | |
64 | - copyartifact: <tng-tools_steps_copyartifact_defaults | |
65 | project: '' | |
66 | which-build: last-successful | |
67 | stable: false | |
68 | filter: 'build/**' | |
69 | target: 'deps' | |
70 | do-not-fingerprint: true | |
b4005bbf MJ |
71 | |
72 | ||
7361d941 | 73 | ## Axis Anchors |
da9f0feb | 74 | - _lttng-tools_matrix_axes_defaults: <tng-tools_matrix_axes_defaults |
eba6297c | 75 | name: 'lttng-tools_matrix_axes_defaults' |
b4005bbf | 76 | project-type: matrix |
ca8c6144 | 77 | node: 'master' # Applies only to matrix flyweight task |
eba6297c | 78 | execution-strategy: <tng-tools_matrix_execution-strategy_defaults |
3e93ffa2 | 79 | combination-filter: '{filter}' |
eba6297c MJ |
80 | touchstone: |
81 | expr: '{touchstone}' | |
82 | result: unstable | |
b4005bbf | 83 | axes: |
5fcae288 | 84 | - axis: <tng-tools_matrix_axis_platform |
b4005bbf | 85 | type: slave |
5fcae288 MJ |
86 | name: platform |
87 | values: '{obj:platforms}' | |
eba6297c | 88 | - axis: <tng-tools_matrix_axis_conf |
b4005bbf MJ |
89 | type: user-defined |
90 | name: conf | |
eba6297c MJ |
91 | values: '{obj:confs}' |
92 | - axis: <tng-tools_matrix_axis_build | |
93 | type: user-defined | |
94 | name: build | |
95 | values: '{obj:builds}' | |
96 | - axis: <tng-tools_matrix_axis_liburcu_version | |
b4005bbf MJ |
97 | type: user-defined |
98 | name: liburcu_version | |
eba6297c MJ |
99 | values: '{obj:urcuversions}' |
100 | - axis: <tng-tools_matrix_axis_babeltrace_version | |
b4005bbf MJ |
101 | type: user-defined |
102 | name: babeltrace_version | |
eba6297c | 103 | values: '{obj:babelversions}' |
b4005bbf | 104 | |
da9f0feb | 105 | - _lttng-tools_matrix_axes_rootbuild: <tng-tools_matrix_axes_rootbuild |
eba6297c | 106 | name: 'lttng-tools_matrix_axes_rootbuild' |
edb933dd MJ |
107 | project-type: matrix |
108 | node: 'master' # Applies only to matrix flyweight task | |
eba6297c | 109 | execution-strategy: *lttng-tools_matrix_execution-strategy_defaults |
edb933dd MJ |
110 | axes: |
111 | - axis: | |
112 | type: slave | |
113 | name: node | |
114 | values: | |
115 | - 'amd64-rootnode' | |
4a94ee0f | 116 | - 'i386-rootnode' |
edb933dd | 117 | - axis: |
5fcae288 | 118 | <<: *lttng-tools_matrix_axis_platform |
eba6297c MJ |
119 | type: user-defined |
120 | - axis: *lttng-tools_matrix_axis_conf | |
121 | - axis: *lttng-tools_matrix_axis_build | |
122 | - axis: *lttng-tools_matrix_axis_liburcu_version | |
123 | - axis: *lttng-tools_matrix_axis_babeltrace_version | |
edb933dd | 124 | |
7361d941 MJ |
125 | |
126 | ## Builders Anchors | |
da9f0feb | 127 | - _lttng-tools_builders_defaults: <tng-tools_builders_defaults |
eba6297c | 128 | name: 'lttng-tools_builders_defaults' |
b4005bbf | 129 | builders: |
eba6297c MJ |
130 | # Generate a properties file to add additionnal env |
131 | - shell: | | |
132 | #!/bin/bash | |
133 | set -exu | |
134 | # Select the deps conf based on the current conf | |
135 | case "$conf" in | |
136 | std|static) | |
137 | liburcu_conf=$conf | |
138 | babeltrace_conf=$conf | |
139 | ust_conf=$conf | |
140 | ;; | |
141 | agents) | |
142 | liburcu_conf=std | |
143 | babeltrace_conf=std | |
144 | ust_conf=$conf | |
145 | ;; | |
146 | debug-rcu|tls_fallback) | |
147 | liburcu_conf=$conf | |
148 | babeltrace_conf=std | |
149 | ust_conf=$conf | |
150 | ;; | |
151 | *) | |
152 | liburcu_conf=std | |
153 | babeltrace_conf=std | |
154 | ust_conf=std | |
155 | ;; | |
156 | esac | |
60d7f186 | 157 | # Run java tests only on 'linuxbuild' and 'slesbuild' jobs |
4a9fa8ba | 158 | if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then |
1b7b4b35 | 159 | echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties |
6f29c2dc KS |
160 | else |
161 | echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties | |
1b7b4b35 | 162 | fi |
60d7f186 KS |
163 | if [ "{buildtype}" = "slesbuild" ] ; then |
164 | echo "TAP_AUTOTIME=0" >> env.properties | |
165 | fi | |
eba6297c MJ |
166 | echo "liburcu_conf=$liburcu_conf" >> env.properties |
167 | echo "babeltrace_conf=$babeltrace_conf" >> env.properties | |
168 | echo "ust_conf=$ust_conf" >> env.properties | |
169 | ||
170 | # Inject the additionnal env early to use them in the copyartifact step | |
171 | - inject: | |
172 | properties-file: env.properties | |
173 | ||
174 | # Always copy liburcu artifacts | |
175 | - copyartifact: | |
176 | <<: *lttng-tools_steps_copyartifact_defaults | |
5fcae288 | 177 | project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std' |
eba6297c MJ |
178 | |
179 | # Always copy babeltrace artifacts | |
180 | - copyartifact: | |
181 | <<: *lttng-tools_steps_copyartifact_defaults | |
5fcae288 | 182 | project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/platform=${{platform}},conf=${{babeltrace_conf}},build=std' |
eba6297c MJ |
183 | |
184 | # Some conf do not require lttng-ust artifacts | |
b4005bbf | 185 | - conditional-step: |
eba6297c MJ |
186 | condition-kind: not |
187 | condition-operand: | |
188 | condition-kind: regex-match | |
189 | label: '$conf' | |
190 | regex: '(no-ust|relayd-only)' | |
3c81f138 JR |
191 | steps: |
192 | - copyartifact: | |
eba6297c | 193 | <<: *lttng-tools_steps_copyartifact_defaults |
5fcae288 | 194 | project: '{ust_job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},platform=${{platform}},conf=${{ust_conf}},build=std' |
eba6297c MJ |
195 | |
196 | # rootbuild requires a checkout of modules | |
3e93ffa2 MJ |
197 | - conditional-step: |
198 | condition-kind: regex-match | |
eba6297c MJ |
199 | label: '$JOB_NAME' |
200 | regex: '.*_rootbuild.*' | |
3e93ffa2 | 201 | steps: |
eba6297c MJ |
202 | - shell: | |
203 | #!/bin/bash | |
204 | set -exu | |
205 | git clone -b "{version}" https://github.com/{github_user}/lttng-modules.git src/lttng-modules | |
206 | ||
aae4e179 | 207 | - shell: |
70076186 | 208 | !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh |
eba6297c | 209 | |
b4005bbf | 210 | - shell: |
51c9c62d MJ |
211 | !include-raw-escape: |
212 | - scripts/common/print.sh | |
213 | - scripts/lttng-tools/build.sh | |
b4005bbf | 214 | |
da9f0feb MJ |
215 | - _lttng-tools_builders_review: <tng-tools_builders_review |
216 | name: 'lttng-tools_builders_review' | |
3f7ea864 | 217 | builders: |
70ee484e KS |
218 | - shell: | |
219 | #!/bin/bash | |
220 | set -exu | |
221 | # Run java tests only on 'linuxbuild' and 'slesbuild' jobs | |
222 | if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then | |
223 | echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties | |
224 | else | |
225 | echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties | |
226 | fi | |
227 | if [ "{buildtype}" = "slesbuild" ] ; then | |
228 | echo "TAP_AUTOTIME=0" >> env.properties | |
229 | fi | |
230 | - inject: | |
231 | properties-file: env.properties | |
3f7ea864 JR |
232 | - shell: |
233 | !include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh | |
eba6297c | 234 | |
3f7ea864 JR |
235 | - inject: |
236 | properties-file: gerrit_custom_dependencies.properties | |
eba6297c MJ |
237 | |
238 | # rootbuild requires a checkout of modules | |
239 | - conditional-step: | |
240 | condition-kind: regex-match | |
241 | label: '$JOB_NAME' | |
242 | regex: '.*_rootbuild.*' | |
243 | steps: | |
244 | - shell: | | |
245 | #!/bin/bash | |
246 | set -exu | |
1722d4cb | 247 | git clone -b "$GERRIT_BRANCH" https://github.com/{github_user}/lttng-modules.git src/lttng-modules |
eba6297c MJ |
248 | |
249 | # Copy lttng-ust artifacts if the conf is 'std' or 'agents' | |
250 | # and we don't depend on a specific lttng-ust change | |
3f7ea864 JR |
251 | - conditional-step: |
252 | condition-kind: and | |
253 | on-evaluation-failure: run | |
254 | condition-operands: | |
255 | - condition-kind: shell | |
eba6297c | 256 | condition-command: 'test "$GERRIT_DEP_LTTNG_UST" = ""' |
3f7ea864 JR |
257 | - condition-kind: regex-match |
258 | label: '$conf' | |
60428fd0 | 259 | regex: (std|agents) |
3f7ea864 JR |
260 | steps: |
261 | - copyartifact: | |
eba6297c | 262 | <<: *lttng-tools_steps_copyartifact_defaults |
5fcae288 | 263 | project: '{ust_job_prefix}lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},platform=${{platform}},conf=${{conf}},build=std' |
eba6297c MJ |
264 | |
265 | # Copy liburcu artifacts if we don't depend on a specific liburcu change | |
3f7ea864 | 266 | - conditional-step: |
60428fd0 | 267 | condition-kind: shell |
3f7ea864 | 268 | on-evaluation-failure: run |
eba6297c | 269 | condition-command: 'test "$GERRIT_DEP_USERSPACE_RCU" = ""' |
3f7ea864 JR |
270 | steps: |
271 | - copyartifact: | |
eba6297c | 272 | <<: *lttng-tools_steps_copyartifact_defaults |
5fcae288 | 273 | project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=std,build=std' |
eba6297c MJ |
274 | |
275 | # Copy babeltrace artifacts if we don't depend on a specific babeltrace change | |
e3c32202 JR |
276 | - conditional-step: |
277 | condition-kind: shell | |
278 | on-evaluation-failure: run | |
eba6297c | 279 | condition-command: 'test "$GERRIT_DEP_BABELTRACE" = ""' |
e3c32202 JR |
280 | steps: |
281 | - copyartifact: | |
eba6297c | 282 | <<: *lttng-tools_steps_copyartifact_defaults |
5fcae288 | 283 | project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/platform=${{platform}},conf=std,build=std' |
eba6297c | 284 | |
60428fd0 | 285 | - shell: |
70076186 | 286 | !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh |
eba6297c MJ |
287 | |
288 | # Build liburcu if we depend on a specific liburcu change | |
3f7ea864 | 289 | - conditional-step: |
60428fd0 | 290 | condition-kind: shell |
eba6297c | 291 | condition-command: 'test "$GERRIT_DEP_USERSPACE_RCU" != ""' |
3f7ea864 | 292 | steps: |
60428fd0 JR |
293 | - shell: |
294 | !include-raw-escape: | |
295 | - scripts/common/override-build-std.sh | |
296 | - scripts/common/print.sh | |
297 | - scripts/liburcu/build.sh | |
eba6297c MJ |
298 | - shell: |
299 | !include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh | |
300 | ||
301 | # Build babeltrace if we depend on a specific babeltrace change | |
e3c32202 JR |
302 | - conditional-step: |
303 | condition-kind: shell | |
eba6297c | 304 | condition-command: 'test "$GERRIT_DEP_BABELTRACE" != ""' |
e3c32202 JR |
305 | steps: |
306 | - shell: | |
307 | !include-raw-escape: | |
308 | - scripts/common/override-build-std.sh | |
309 | - scripts/common/print.sh | |
310 | - scripts/babeltrace/build.sh | |
eba6297c MJ |
311 | - shell: |
312 | !include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh | |
313 | ||
da9f0feb | 314 | # Build lttng-ust if we depend on a specific lttng-ust change |
3f7ea864 JR |
315 | - conditional-step: |
316 | condition-kind: shell | |
eba6297c | 317 | condition-command: 'test "$GERRIT_DEP_LTTNG_UST" != ""' |
3f7ea864 JR |
318 | steps: |
319 | - shell: | |
320 | !include-raw-escape: | |
edb933dd | 321 | - scripts/common/override-build-std.sh |
51c9c62d | 322 | - scripts/common/print.sh |
3f7ea864 | 323 | - scripts/lttng-ust/build.sh |
eba6297c MJ |
324 | - shell: |
325 | !include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh | |
326 | ||
327 | # Finaly build lttng-tools | |
3f7ea864 | 328 | - shell: |
51c9c62d MJ |
329 | !include-raw-escape: |
330 | - scripts/common/print.sh | |
331 | - scripts/lttng-tools/build.sh | |
3f7ea864 | 332 | |
da9f0feb | 333 | - _lttng-tools_builders_win: <tng-tools_builders_win |
eba6297c | 334 | name: 'lttng-tools_builders_win' |
61afb3c3 | 335 | builders: |
eba6297c | 336 | # Always copy liburcu artifacts |
61afb3c3 | 337 | - copyartifact: |
eba6297c | 338 | <<: *lttng-tools_steps_copyartifact_defaults |
5fcae288 | 339 | project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_winbuild/platform=${{platform}},conf=std,build=std' |
eba6297c | 340 | |
61afb3c3 MJ |
341 | - conditional-step: |
342 | condition-kind: strings-match | |
343 | on-evaluation-failure: run | |
5fcae288 | 344 | condition-string1: '${{platform}}' |
61afb3c3 MJ |
345 | condition-string2: 'cygwin64' |
346 | steps: | |
347 | - shell: | |
348 | !include-raw-escape: | |
349 | - scripts/common/cygwin64-shebang | |
cefcd7f8 | 350 | - scripts/common/cygpath-prefix |
51c9c62d | 351 | - scripts/common/print.sh |
61afb3c3 | 352 | - scripts/lttng-tools/build.sh |
eba6297c | 353 | |
61afb3c3 MJ |
354 | - conditional-step: |
355 | condition-kind: strings-match | |
356 | on-evaluation-failure: run | |
5fcae288 | 357 | condition-string1: '${{platform}}' |
de4b8cd9 | 358 | condition-string2: 'msys2-ucrt64' |
61afb3c3 MJ |
359 | steps: |
360 | - inject: | |
de4b8cd9 | 361 | properties-content: 'MSYSTEM=UCRT64' |
61afb3c3 MJ |
362 | - shell: |
363 | !include-raw-escape: | |
8f541678 | 364 | - scripts/common/msys2-shebang |
cefcd7f8 | 365 | - scripts/common/cygpath-prefix |
51c9c62d | 366 | - scripts/common/print.sh |
61afb3c3 MJ |
367 | - scripts/lttng-tools/build.sh |
368 | ||
da9f0feb | 369 | - _lttng-tools_publishers_defaults: <tng-tools_publishers_defaults |
eba6297c | 370 | name: 'lttng-tools_publishers_defaults' |
61afb3c3 | 371 | publishers: |
70076186 MJ |
372 | # On build abort (timeout), wait 10 seconds before running the other post |
373 | # build scripts, this will allow the processes to terminate and make the | |
374 | # build log more legible. | |
375 | - postbuildscript: <tng-tools_publisher_postbuildscript_wait_10_seconds_on_abort | |
376 | mark-unstable-if-failed: false | |
377 | builders: | |
378 | - role: SLAVE | |
379 | build-on: | |
380 | - ABORTED | |
381 | build-steps: | |
382 | - shell: | |
383 | !include-raw-escape: scripts/lttng-tools/postbuild_wait_10_seconds.sh | |
384 | ||
eba6297c | 385 | # On build failure, try to get partial tap results if any exists |
70076186 | 386 | - postbuildscript: <tng-tools_publisher_postbuildscript_collect_tap_on_failure |
f6baccc6 JR |
387 | mark-unstable-if-failed: false |
388 | builders: | |
389 | - role: SLAVE | |
390 | build-on: | |
70076186 | 391 | - ABORTED |
40430e73 | 392 | - FAILURE |
f6baccc6 JR |
393 | build-steps: |
394 | - shell: | |
70076186 | 395 | !include-raw-escape: scripts/lttng-tools/postbuild_collect_tap_results.sh |
eba6297c | 396 | |
70076186 MJ |
397 | # If there are leftover lttng processes or core files present, kill the |
398 | # processes, collect the core files, delete them and mark the build | |
399 | # unstable. | |
400 | - postbuildscript: <tng-tools_publisher_postbuildscript_clean_processes_coredumps | |
0a028cf6 JR |
401 | mark-unstable-if-failed: true |
402 | builders: | |
403 | - role: SLAVE | |
404 | build-on: | |
405 | - SUCCESS | |
406 | - UNSTABLE | |
407 | - NOT_BUILT | |
408 | - ABORTED | |
409 | - FAILURE | |
410 | build-steps: | |
411 | - shell: | |
70076186 | 412 | !include-raw-escape: scripts/lttng-tools/postbuild_clean_processes_coredumps.sh |
eba6297c MJ |
413 | |
414 | - tap: <tng-tools_publisher_tap_defaults | |
09d45745 MJ |
415 | results: 'tap/**/*.*' |
416 | fail-if-no-results: true | |
0efb2471 | 417 | failed-tests-mark-build-as-failure: true |
4f04deeb MJ |
418 | include-comment-diagnostics: true |
419 | output-tap-to-console: false | |
0efb2471 | 420 | todo-is-failure: false |
ddd3182c | 421 | remove-yaml-if-corrupted: true |
eba6297c MJ |
422 | |
423 | - raw: <tng-tools_publisher_warnings-ng_defaults | |
424 | xml: | | |
425 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
426 | <analysisTools> | |
427 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
428 | <id/> | |
429 | <name/> | |
430 | <jenkins plugin="plugin-util-api"/> | |
431 | <pattern/> | |
432 | <reportEncoding/> | |
433 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
434 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
eba6297c MJ |
435 | </analysisTools> |
436 | <sourceCodeEncoding/> | |
437 | <sourceDirectory/> | |
438 | <sourceDirectories/> | |
439 | <ignoreQualityGate>false</ignoreQualityGate> | |
440 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
441 | <failOnError>false</failOnError> | |
442 | <healthy>0</healthy> | |
443 | <unhealthy>0</unhealthy> | |
444 | <minimumSeverity plugin="analysis-model-api"> | |
445 | <name>LOW</name> | |
446 | </minimumSeverity> | |
447 | <filters/> | |
448 | <isEnabledForFailure>true</isEnabledForFailure> | |
449 | <isAggregatingResults>true</isAggregatingResults> | |
450 | <isBlameDisabled>false</isBlameDisabled> | |
451 | <skipPublishingChecks>true</skipPublishingChecks> | |
452 | <publishAllIssues>false</publishAllIssues> | |
453 | <qualityGates> | |
454 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
455 | <threshold>1</threshold> | |
456 | <type>TOTAL</type> | |
457 | <status>WARNING</status> | |
458 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
459 | </qualityGates> | |
460 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
461 | <scm/> | |
462 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
463 | ||
68d45ec8 KS |
464 | - junit: <tng-tools_publisher_junit_defaults |
465 | results: 'src/lttng-ust-java-tests/**/target/failsafe-reports/*.xml' | |
466 | allow-empty-results: true | |
467 | ||
eba6297c | 468 | - archive: <tng-tools_publisher_archive_defaults |
4174b905 | 469 | artifacts: 'build/**,deps/**,tap/**,log/**' |
23f01bc3 | 470 | follow-symlinks: true |
61afb3c3 | 471 | allow-empty: false |
b4005bbf | 472 | |
eba6297c | 473 | - workspace-cleanup: <tng-tools_publisher_workspace-cleanup_defaults |
c4952db9 MJ |
474 | clean-if: |
475 | - failure: false | |
eba6297c | 476 | |
ef0d0ec1 MJ |
477 | - raw: <tng-tools_publisher_proc-cleaner_defaults |
478 | xml: | | |
479 | <org.jenkinsci.plugins.proccleaner.PostBuildCleanup plugin="proc-cleaner-plugin"> | |
480 | <cleaner class="org.jenkinsci.plugins.proccleaner.PsCleaner"> | |
481 | <killerType>org.jenkinsci.plugins.proccleaner.PsAllKiller</killerType> | |
482 | <killer class="org.jenkinsci.plugins.proccleaner.PsAllKiller"/> | |
483 | <switchedOff>false</switchedOff> | |
484 | <systemProcessesFilterOff>false</systemProcessesFilterOff> | |
485 | </cleaner> | |
486 | </org.jenkinsci.plugins.proccleaner.PostBuildCleanup> | |
487 | ||
ee4b760a MJ |
488 | - ircbot: <tng-tools_publisher_ircbot_defaults |
489 | strategy: statechange-only | |
2abd3a64 MJ |
490 | message-type: summary |
491 | matrix-notifier: only-parent | |
ee4b760a | 492 | |
eba6297c | 493 | - email-ext: <tng-tools_publisher_email-ext_defaults |
c4952db9 MJ |
494 | recipients: '{obj:email_to}' |
495 | reply-to: ci-notification@lists.lttng.org | |
496 | always: false | |
497 | unstable: false | |
498 | first-failure: true | |
499 | first-unstable: true | |
500 | not-built: false | |
501 | aborted: false | |
502 | regression: false | |
503 | failure: false | |
504 | second-failure: false | |
505 | improvement: false | |
506 | still-failing: false | |
507 | success: false | |
508 | fixed: false | |
509 | fixed-unhealthy: true | |
510 | still-unstable: false | |
511 | pre-build: false | |
512 | matrix-trigger: only-parent | |
513 | send-to: | |
514 | - recipients | |
515 | ||
f7512e60 MJ |
516 | - _lttng-tools_publishers_rootbuild: <tng-tools_publishers_rootbuild |
517 | name: 'lttng-tools_publishers_rootbuild' | |
518 | publishers: | |
519 | - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort | |
520 | - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure | |
521 | - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps | |
522 | - tap: *lttng-tools_publisher_tap_defaults | |
523 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
524 | - archive: *lttng-tools_publisher_archive_defaults | |
525 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
526 | - ircbot: *lttng-tools_publisher_ircbot_defaults | |
527 | - email-ext: *lttng-tools_publisher_email-ext_defaults | |
528 | ||
da9f0feb | 529 | - _lttng-tools_publishers_win: <tng-tools_publishers_win |
eba6297c MJ |
530 | name: 'lttng-tools_publishers_win' |
531 | publishers: | |
532 | - tap: *lttng-tools_publisher_tap_defaults | |
533 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
eba6297c | 534 | - archive: *lttng-tools_publisher_archive_defaults |
ef0d0ec1 MJ |
535 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults |
536 | - raw: *lttng-tools_publisher_proc-cleaner_defaults | |
ee4b760a | 537 | - ircbot: *lttng-tools_publisher_ircbot_defaults |
eba6297c | 538 | - email-ext: *lttng-tools_publisher_email-ext_defaults |
61afb3c3 | 539 | |
da9f0feb | 540 | |
eba6297c | 541 | ## Templates |
f4460dd5 MJ |
542 | - job-template: |
543 | name: '{job_prefix}lttng-tools_{version}_{buildtype}' | |
544 | defaults: lttng-tools | |
545 | ||
eba6297c MJ |
546 | <<: *lttng-tools_matrix_axes_defaults |
547 | <<: *lttng-tools_builders_defaults | |
548 | <<: *lttng-tools_publishers_defaults | |
f4460dd5 MJ |
549 | |
550 | triggers: | |
eba6297c | 551 | - pollscm: *lttng-tools_trigger_pollscm_default |
f4460dd5 | 552 | - reverse: |
8e088f79 | 553 | jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' |
f4460dd5 MJ |
554 | result: 'success' |
555 | ||
8e088f79 MJ |
556 | - job-template: |
557 | name: 'dev_{user}_lttng-tools_{version}_{buildtype}' | |
558 | defaults: lttng-tools | |
559 | ||
eba6297c MJ |
560 | <<: *lttng-tools_matrix_axes_defaults |
561 | <<: *lttng-tools_builders_defaults | |
562 | <<: *lttng-tools_publishers_defaults | |
9699c0e7 | 563 | |
6f5a3a3f MJ |
564 | - job-template: |
565 | name: 'dev_{user}_lttng-tools_{version}_macosbuild' | |
566 | defaults: lttng-tools | |
567 | ||
568 | wrappers: | |
569 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults | |
570 | - timeout: *lttng-tools_wrapper_timeout_defaults | |
571 | - timestamps | |
572 | - workspace-cleanup | |
573 | ||
574 | <<: *lttng-tools_matrix_axes_defaults | |
575 | <<: *lttng-tools_builders_defaults | |
576 | <<: *lttng-tools_publishers_defaults | |
577 | ||
f4460dd5 MJ |
578 | - job-template: |
579 | name: '{job_prefix}lttng-tools_{version}_long_regression' | |
580 | defaults: lttng-tools | |
eba6297c | 581 | |
1ad4c3d0 MJ |
582 | properties: |
583 | - inject: | |
584 | properties-content: | | |
585 | PROJECT_NAME=lttng-tools | |
586 | LTTNG_TOOLS_RUN_TESTS_LONG_REGRESSION=yes | |
587 | - build-discarder: *lttng-tools_property_build-discarder_defaults | |
588 | - github: *lttng-tools_property_github_defaults | |
589 | ||
f4460dd5 | 590 | wrappers: |
eba6297c | 591 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults |
f4460dd5 | 592 | - timeout: |
eba6297c | 593 | <<: *lttng-tools_wrapper_timeout_defaults |
f4460dd5 | 594 | timeout: 45 |
f4460dd5 | 595 | - timestamps |
eba6297c | 596 | - workspace-cleanup |
ef0d0ec1 | 597 | - raw: *lttng-tools_wrapper_proc-cleaner_defaults |
f4460dd5 | 598 | |
eba6297c MJ |
599 | <<: *lttng-tools_matrix_axes_defaults |
600 | <<: *lttng-tools_builders_defaults | |
601 | <<: *lttng-tools_publishers_defaults | |
f4460dd5 MJ |
602 | |
603 | triggers: | |
eba6297c | 604 | - pollscm: *lttng-tools_trigger_pollscm_default |
f4460dd5 | 605 | - reverse: |
8e088f79 | 606 | jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' |
f4460dd5 MJ |
607 | result: 'success' |
608 | ||
f4460dd5 MJ |
609 | - job-template: |
610 | name: '{job_prefix}lttng-tools_{version}_rootbuild' | |
611 | defaults: lttng-tools | |
612 | ||
613 | scm: | |
eba6297c | 614 | - git: *lttng-tools_scm_git_default |
f4460dd5 MJ |
615 | |
616 | wrappers: | |
eba6297c | 617 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults |
f4460dd5 | 618 | - timeout: |
eba6297c | 619 | <<: *lttng-tools_wrapper_timeout_defaults |
f4460dd5 | 620 | timeout: 10 |
f4460dd5 MJ |
621 | - timestamps |
622 | ||
eba6297c MJ |
623 | <<: *lttng-tools_matrix_axes_rootbuild |
624 | <<: *lttng-tools_builders_defaults | |
f7512e60 | 625 | <<: *lttng-tools_publishers_rootbuild |
f4460dd5 MJ |
626 | |
627 | triggers: | |
eba6297c | 628 | - pollscm: *lttng-tools_trigger_pollscm_default |
f4460dd5 | 629 | - reverse: |
2fc14cc3 | 630 | jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' |
f4460dd5 MJ |
631 | result: 'success' |
632 | ||
4a94ee0f MJ |
633 | - job-template: |
634 | name: '{job_prefix}lttng-tools_{version}_rootbuild_i386' | |
635 | defaults: lttng-tools | |
636 | ||
637 | scm: | |
638 | - git: *lttng-tools_scm_git_default | |
639 | ||
640 | wrappers: | |
641 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults | |
642 | - timeout: | |
643 | <<: *lttng-tools_wrapper_timeout_defaults | |
644 | timeout: 10 | |
645 | - timestamps | |
646 | ||
647 | <<: *lttng-tools_matrix_axes_rootbuild | |
648 | <<: *lttng-tools_builders_defaults | |
f7512e60 | 649 | <<: *lttng-tools_publishers_rootbuild |
4a94ee0f MJ |
650 | |
651 | triggers: | |
652 | - pollscm: *lttng-tools_trigger_pollscm_default | |
653 | - reverse: | |
2fc14cc3 | 654 | jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' |
4a94ee0f MJ |
655 | result: 'success' |
656 | ||
6f5a3a3f MJ |
657 | - job-template: |
658 | name: '{job_prefix}lttng-tools_{version}_macosbuild' | |
659 | defaults: lttng-tools | |
660 | ||
661 | wrappers: | |
662 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults | |
663 | - timeout: *lttng-tools_wrapper_timeout_defaults | |
664 | - timestamps | |
665 | - workspace-cleanup | |
666 | ||
667 | <<: *lttng-tools_matrix_axes_defaults | |
668 | <<: *lttng-tools_builders_defaults | |
669 | <<: *lttng-tools_publishers_defaults | |
670 | ||
61afb3c3 MJ |
671 | - job-template: |
672 | name: lttng-tools_{version}_winbuild | |
673 | defaults: lttng-tools | |
674 | ||
eba6297c MJ |
675 | <<: *lttng-tools_matrix_axes_defaults |
676 | <<: *lttng-tools_builders_win | |
677 | <<: *lttng-tools_publishers_win | |
61afb3c3 | 678 | |
c2a8d05f | 679 | - job-template: |
da9f0feb | 680 | name: dev_review_lttng-tools_{version}_{buildtype} |
c2a8d05f MJ |
681 | defaults: lttng-tools |
682 | concurrent: true | |
683 | ||
684 | scm: | |
da9f0feb | 685 | - git: <tng-tools_scm_git_review |
eba6297c MJ |
686 | url: https://review.lttng.org/lttng-tools |
687 | refspec: 'refs/changes/*:refs/changes/*' | |
688 | branches: | |
689 | - '$GERRIT_REFSPEC' | |
690 | basedir: src/lttng-tools | |
691 | skip-tag: true | |
c2a8d05f MJ |
692 | |
693 | triggers: | |
eba6297c | 694 | - gerrit: <tng-tools_trigger_gerrit_default |
c2a8d05f MJ |
695 | trigger-on: |
696 | - comment-added-event: | |
697 | approval-category: 'CI-Build' | |
698 | approval-value: 1 | |
699 | projects: | |
700 | - project-compare-type: 'PLAIN' | |
701 | project-pattern: 'lttng-tools' | |
702 | branches: | |
da9f0feb MJ |
703 | - branch-compare-type: 'PLAIN' |
704 | branch-pattern: '{version}' | |
c2a8d05f | 705 | |
a1f0d20d | 706 | properties: |
1ad4c3d0 | 707 | - inject: *lttng-tools_property_inject_defaults |
a1f0d20d MJ |
708 | - build-discarder: |
709 | days-to-keep: 1 | |
710 | - throttle: | |
711 | option: 'category' | |
712 | categories: | |
713 | - 'gerrit-{buildtype}' | |
714 | ||
eba6297c | 715 | <<: *lttng-tools_matrix_axes_defaults |
da9f0feb | 716 | <<: *lttng-tools_builders_review |
c2a8d05f MJ |
717 | |
718 | publishers: | |
70076186 MJ |
719 | # On build abort (timeout), wait 10 seconds before running the other post |
720 | # build scripts, this will allow the processes to terminate and make the | |
721 | # build log more legible. | |
722 | - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort | |
eba6297c | 723 | |
70076186 MJ |
724 | # On build failure, try to get partial tap results if any exists |
725 | - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure | |
726 | ||
727 | # If there are leftover lttng processes or core files present, kill the | |
728 | # processes, collect the core files, delete them and mark the build | |
729 | # unstable. | |
730 | - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps | |
eba6297c MJ |
731 | |
732 | - tap: *lttng-tools_publisher_tap_defaults | |
733 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
68d45ec8 | 734 | - junit: *lttng-tools_publisher_junit_defaults |
eba6297c MJ |
735 | - archive: *lttng-tools_publisher_archive_defaults |
736 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
ef0d0ec1 | 737 | - raw: *lttng-tools_publisher_proc-cleaner_defaults |
c2a8d05f | 738 | |
edb933dd | 739 | - job-template: |
1ad4c3d0 | 740 | name: dev_review_lttng-tools_{version}_smokebuild |
edb933dd MJ |
741 | defaults: lttng-tools |
742 | concurrent: true | |
743 | ||
744 | scm: | |
da9f0feb | 745 | - git: *lttng-tools_scm_git_review |
edb933dd MJ |
746 | |
747 | triggers: | |
1ad4c3d0 MJ |
748 | - gerrit: <tng-tools_trigger_gerrit_smoke_1 |
749 | trigger-on: | |
750 | - comment-added-event: | |
55399c91 | 751 | approval-category: 'Smoke-Build-Lvl1' |
1ad4c3d0 MJ |
752 | approval-value: 1 |
753 | projects: | |
754 | - project-compare-type: 'PLAIN' | |
755 | project-pattern: 'lttng-tools' | |
756 | branches: | |
757 | - branch-compare-type: 'PLAIN' | |
758 | branch-pattern: '{version}' | |
759 | skip-vote: | |
760 | successful: true | |
761 | failed: true | |
762 | unstable: true | |
763 | notbuilt: true | |
764 | aborted: true | |
edb933dd MJ |
765 | |
766 | properties: | |
767 | - inject: | |
768 | properties-content: | | |
769 | PROJECT_NAME=lttng-tools | |
1ad4c3d0 MJ |
770 | LTTNG_TOOLS_RUN_TESTS=no |
771 | - build-discarder: | |
772 | days-to-keep: 1 | |
773 | ||
774 | <<: *lttng-tools_matrix_axes_defaults | |
775 | <<: *lttng-tools_builders_review | |
776 | ||
777 | publishers: | |
778 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
779 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
ef0d0ec1 | 780 | - raw: *lttng-tools_publisher_proc-cleaner_defaults |
1ad4c3d0 MJ |
781 | |
782 | - job-template: | |
783 | name: dev_review_lttng-tools_{version}_clang-tidy | |
784 | defaults: lttng-tools | |
785 | concurrent: true | |
786 | ||
787 | scm: | |
788 | - git: *lttng-tools_scm_git_review | |
789 | ||
790 | triggers: | |
791 | - gerrit: <tng-tools_trigger_gerrit_smoke_2 | |
792 | trigger-on: | |
793 | - comment-added-event: | |
55399c91 MJ |
794 | approval-category: 'Smoke-Build-Lvl2' |
795 | approval-value: 1 | |
1ad4c3d0 MJ |
796 | projects: |
797 | - project-compare-type: 'PLAIN' | |
798 | project-pattern: 'lttng-tools' | |
799 | branches: | |
800 | - branch-compare-type: 'PLAIN' | |
801 | branch-pattern: '{version}' | |
802 | skip-vote: | |
803 | successful: true | |
804 | failed: true | |
805 | unstable: true | |
806 | notbuilt: true | |
807 | aborted: true | |
808 | ||
809 | properties: | |
810 | - inject: | |
811 | properties-content: | | |
812 | PROJECT_NAME=lttng-tools | |
813 | LTTNG_TOOLS_MAKE_INSTALL=no | |
814 | LTTNG_TOOLS_MAKE_CLEAN=no | |
815 | LTTNG_TOOLS_RUN_TESTS=no | |
816 | LTTNG_TOOLS_GEN_COMPILE_COMMANDS=yes | |
817 | LTTNG_TOOLS_CLANG_TIDY=yes | |
818 | - build-discarder: | |
819 | days-to-keep: 1 | |
820 | ||
821 | <<: *lttng-tools_matrix_axes_defaults | |
822 | <<: *lttng-tools_builders_review | |
823 | ||
824 | publishers: | |
825 | - raw: | |
826 | xml: | | |
827 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
828 | <analysisTools> | |
829 | <io.jenkins.plugins.analysis.warnings.ClangTidy> | |
830 | <id/> | |
831 | <name/> | |
832 | <jenkins plugin="plugin-util-api"/> | |
833 | <pattern/> | |
834 | <reportEncoding/> | |
835 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
836 | </io.jenkins.plugins.analysis.warnings.ClangTidy> | |
837 | </analysisTools> | |
838 | <sourceCodeEncoding/> | |
839 | <sourceDirectory/> | |
840 | <sourceDirectories/> | |
841 | <ignoreQualityGate>false</ignoreQualityGate> | |
842 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
843 | <failOnError>false</failOnError> | |
844 | <healthy>0</healthy> | |
845 | <unhealthy>0</unhealthy> | |
846 | <minimumSeverity plugin="analysis-model-api"> | |
847 | <name>LOW</name> | |
848 | </minimumSeverity> | |
849 | <filters/> | |
850 | <isEnabledForFailure>true</isEnabledForFailure> | |
851 | <isAggregatingResults>true</isAggregatingResults> | |
852 | <isBlameDisabled>false</isBlameDisabled> | |
853 | <skipPublishingChecks>true</skipPublishingChecks> | |
854 | <publishAllIssues>false</publishAllIssues> | |
855 | <qualityGates> | |
856 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
857 | <status>FAILED</status> | |
858 | <threshold>1</threshold> | |
859 | <type>TOTAL</type> | |
860 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
861 | </qualityGates> | |
862 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
863 | <scm/> | |
864 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
865 | - archive: | |
866 | artifacts: 'clang-tidy-fixes.diff' | |
867 | allow-empty: true | |
868 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
ef0d0ec1 | 869 | - raw: *lttng-tools_publisher_proc-cleaner_defaults |
1ad4c3d0 MJ |
870 | |
871 | - job-template: | |
872 | name: dev_review_lttng-tools_{version}_rootbuild | |
873 | defaults: lttng-tools | |
874 | concurrent: true | |
875 | ||
876 | scm: | |
877 | - git: *lttng-tools_scm_git_review | |
878 | ||
879 | triggers: | |
880 | - gerrit: *lttng-tools_trigger_gerrit_default | |
881 | ||
882 | properties: | |
883 | - inject: *lttng-tools_property_inject_defaults | |
edb933dd MJ |
884 | - build-discarder: |
885 | days-to-keep: 1 | |
886 | - throttle: | |
887 | option: 'category' | |
888 | categories: | |
889 | - 'gerrit-{buildtype}' | |
890 | ||
eba6297c | 891 | <<: *lttng-tools_matrix_axes_rootbuild |
da9f0feb | 892 | <<: *lttng-tools_builders_review |
edb933dd MJ |
893 | |
894 | publishers: | |
eba6297c MJ |
895 | - tap: *lttng-tools_publisher_tap_defaults |
896 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
897 | - archive: *lttng-tools_publisher_archive_defaults | |
898 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
edb933dd | 899 | |
1ad4c3d0 MJ |
900 | - job-template: |
901 | name: 'dev_review_lttng-tools_{version}_check-format' | |
902 | defaults: lttng-tools | |
903 | concurrent: true | |
904 | ||
905 | scm: | |
906 | - git: *lttng-tools_scm_git_review | |
907 | ||
908 | triggers: | |
909 | - gerrit: *lttng-tools_trigger_gerrit_smoke_1 | |
910 | ||
30e5c12c | 911 | node: 'deb12-amd64' |
1ad4c3d0 MJ |
912 | |
913 | builders: | |
914 | - shell: | |
915 | !include-raw-escape: scripts/common/check-format.sh | |
916 | ||
917 | properties: | |
918 | - inject: *lttng-tools_property_inject_defaults | |
919 | - build-discarder: | |
920 | days-to-keep: 1 | |
921 | ||
922 | publishers: | |
923 | - archive: | |
924 | artifacts: 'clang-format-fixes.diff' | |
925 | allow-empty: true | |
926 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
927 | ||
c95cf818 MJ |
928 | - job-template: |
929 | name: lttng-tools_{version}_release | |
930 | defaults: lttng-tools | |
40497a50 | 931 | node: 'deb12-amd64' |
c95cf818 MJ |
932 | |
933 | triggers: | |
934 | - pollscm: | |
935 | cron: "@daily" | |
936 | ||
937 | scm: | |
938 | - git: | |
4d27af8f | 939 | url: https://github.com/{github_user}/lttng-tools.git |
c95cf818 | 940 | browser: githubweb |
7361d941 | 941 | browser-url: https://github.com/{github_user}/lttng-tools |
a7f915c4 | 942 | refspec: '+refs/tags/*:refs/remotes/origin/tags/*' |
c95cf818 MJ |
943 | branches: |
944 | - '*/tags/{version}.*' | |
945 | basedir: src/lttng-tools | |
946 | ||
947 | builders: | |
948 | - copyartifact: | |
eba6297c | 949 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 950 | project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' |
c95cf818 | 951 | - copyartifact: |
eba6297c | 952 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 953 | project: 'babeltrace_{babelversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' |
c95cf818 | 954 | - copyartifact: |
eba6297c | 955 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 956 | project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=agents,build=std' |
c95cf818 | 957 | - shell: |
70076186 | 958 | !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh |
c95cf818 MJ |
959 | - shell: |
960 | !include-raw-escape: scripts/lttng-tools/release.sh | |
961 | ||
962 | publishers: | |
70076186 MJ |
963 | # On build abort (timeout), wait 10 seconds before running the other post |
964 | # build scripts, this will allow the processes to terminate and make the | |
965 | # build log more legible. | |
966 | - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort | |
eba6297c | 967 | |
70076186 MJ |
968 | # On build failure, try to get partial tap results if any exists |
969 | - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure | |
970 | ||
971 | # If there are leftover lttng processes or core files present, kill the | |
972 | # processes, collect the core files, delete them and mark the build | |
973 | # unstable. | |
974 | - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps | |
eba6297c MJ |
975 | |
976 | - tap: *lttng-tools_publisher_tap_defaults | |
977 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
c95cf818 MJ |
978 | - archive: |
979 | artifacts: 'out/**' | |
980 | allow-empty: false | |
2e0ea77c | 981 | fingerprint: true |
eba6297c | 982 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults |
ef0d0ec1 | 983 | - raw: *lttng-tools_publisher_proc-cleaner_defaults |
ee4b760a | 984 | - ircbot: *lttng-tools_publisher_ircbot_defaults |
c95cf818 | 985 | |
b4005bbf MJ |
986 | - job-template: |
987 | name: lttng-tools_{version}_scan-build | |
988 | defaults: lttng-tools | |
40497a50 | 989 | node: 'deb12-amd64' |
b4005bbf MJ |
990 | |
991 | triggers: | |
992 | - pollscm: | |
993 | cron: "@daily" | |
994 | ||
995 | builders: | |
996 | - copyartifact: | |
eba6297c | 997 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 998 | project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' |
b4005bbf | 999 | - copyartifact: |
eba6297c | 1000 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 1001 | project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=std,build=std' |
b4005bbf | 1002 | - shell: |
69f05d59 | 1003 | !include-raw-escape: scripts/common/scan-build.sh |
b4005bbf MJ |
1004 | |
1005 | publishers: | |
1006 | - html-publisher: | |
1007 | name: 'HTML Report' | |
1008 | dir: 'scan-build-archive/' | |
1009 | files: 'index.html' | |
ee4b760a | 1010 | - ircbot: *lttng-tools_publisher_ircbot_defaults |
b4005bbf MJ |
1011 | |
1012 | - job-template: | |
1013 | name: lttng-tools_{version}_coverity | |
1014 | defaults: lttng-tools | |
40497a50 | 1015 | node: 'deb12-amd64' |
b4005bbf MJ |
1016 | |
1017 | triggers: | |
1018 | - pollscm: | |
1019 | cron: "@daily" | |
1020 | ||
1021 | wrappers: | |
eba6297c MJ |
1022 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults |
1023 | - timeout: *lttng-tools_wrapper_timeout_defaults | |
b4005bbf | 1024 | - timestamps |
eba6297c | 1025 | - workspace-cleanup |
b4005bbf MJ |
1026 | - credentials-binding: |
1027 | - username-password-separated: | |
1028 | credential-id: lttng-tools_coverity_token | |
1029 | username: COVERITY_SCAN_PROJECT_NAME | |
1030 | password: COVERITY_SCAN_TOKEN | |
1031 | ||
1032 | builders: | |
1033 | - copyartifact: | |
eba6297c | 1034 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 1035 | project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' |
b4005bbf | 1036 | - copyartifact: |
eba6297c | 1037 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 1038 | project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=std,build=std' |
b4005bbf | 1039 | - shell: |
ef63064f | 1040 | !include-raw-escape: scripts/common/coverity.sh |
b4005bbf MJ |
1041 | |
1042 | publishers: | |
96e8f697 MJ |
1043 | - archive: |
1044 | artifacts: 'analysis-results.tgz,cov-int/**' | |
1045 | allow-empty: false | |
eba6297c | 1046 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults |
ee4b760a | 1047 | - ircbot: *lttng-tools_publisher_ircbot_defaults |
b4005bbf | 1048 | |
b4005bbf | 1049 | |
09d45745 MJ |
1050 | ## Views |
1051 | - view-template: | |
1052 | name: 'LTTng-tools' | |
1053 | view-type: list | |
8d893217 | 1054 | regex: 'lttng-(docs|tools)[-_].*' |
b4005bbf | 1055 | |
b4005bbf | 1056 | |
09d45745 | 1057 | ## Projects |
b4005bbf MJ |
1058 | - project: |
1059 | name: lttng-tools | |
f4460dd5 | 1060 | job_prefix: '' |
8e088f79 MJ |
1061 | ust_job_prefix: '' |
1062 | urcu_job_prefix: '' | |
1063 | bt_job_prefix: '' | |
51ca880a | 1064 | github_user: lttng |
dd00f858 | 1065 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' |
b4005bbf | 1066 | version: |
03297c9e | 1067 | - stable-2.12 |
0fc8b7ac | 1068 | - stable-2.13 |
9beacf91 | 1069 | - master |
b4005bbf | 1070 | jobs: |
81bf613d | 1071 | # Master # |
ec2b5bcf MJ |
1072 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1073 | buildtype: linuxbuild | |
1074 | version: master | |
1075 | ustversion: master | |
30e5c12c | 1076 | platforms: !!python/tuple [deb12-amd64] |
ec2b5bcf MJ |
1077 | builds: !!python/tuple [std, oot, dist] |
1078 | confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] | |
1079 | urcuversions: !!python/tuple [master] | |
1080 | babelversions: !!python/tuple [stable-2.0, master] | |
ec2b5bcf MJ |
1081 | filter: '(build=="std") || ((babeltrace_version=="master" && (conf=="std" || conf=="agents" || conf=="no-ust")))' |
1082 | touchstone: '' | |
eba6297c | 1083 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
b4005bbf MJ |
1084 | buildtype: portbuild |
1085 | version: master | |
aa27566e | 1086 | ustversion: master |
29901a39 | 1087 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1088 | builds: !!python/tuple [std] |
1089 | confs: !!python/tuple [std, no-ust, agents] | |
1090 | urcuversions: !!python/tuple [master] | |
1091 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1092 | filter: '' |
eba6297c MJ |
1093 | touchstone: '' |
1094 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
81bf613d | 1095 | buildtype: slesbuild |
b6e62a6a MJ |
1096 | version: master |
1097 | ustversion: master | |
24e49fa5 | 1098 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
eba6297c MJ |
1099 | builds: !!python/tuple [std] |
1100 | confs: !!python/tuple [agents] | |
1101 | urcuversions: !!python/tuple [master] | |
1102 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1103 | filter: '' |
eba6297c MJ |
1104 | touchstone: '' |
1105 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
568b5cbd MJ |
1106 | buildtype: elbuild |
1107 | version: master | |
1108 | ustversion: master | |
5bfd388f | 1109 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
eba6297c MJ |
1110 | builds: !!python/tuple [std] |
1111 | confs: !!python/tuple [std] | |
1112 | urcuversions: !!python/tuple [master] | |
1113 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1114 | filter: '' |
eba6297c | 1115 | touchstone: '' |
6871000c MJ |
1116 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1117 | buildtype: yoctobuild | |
1118 | version: master | |
1119 | ustversion: master | |
1b2501b5 | 1120 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
6871000c MJ |
1121 | builds: !!python/tuple [std] |
1122 | confs: !!python/tuple [std] | |
1123 | urcuversions: !!python/tuple [master] | |
1124 | babelversions: !!python/tuple [stable-2.0] | |
6871000c MJ |
1125 | filter: '' |
1126 | touchstone: '' | |
6f5a3a3f | 1127 | - '{job_prefix}lttng-tools_{version}_macosbuild': |
f0d7e5b1 | 1128 | buildtype: macosbuild |
81bf613d MJ |
1129 | version: master |
1130 | ustversion: master | |
e797d680 | 1131 | platforms: !!python/tuple [macos-arm64] |
eba6297c MJ |
1132 | builds: !!python/tuple [std] |
1133 | confs: !!python/tuple [relayd-only] | |
1134 | urcuversions: !!python/tuple [master] | |
1135 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1136 | filter: '' |
eba6297c | 1137 | touchstone: '' |
81bf613d | 1138 | - 'lttng-tools_{version}_winbuild': |
b6e62a6a MJ |
1139 | version: master |
1140 | ustversion: master | |
5fcae288 | 1141 | platforms: !!python/tuple [cygwin64] |
eba6297c MJ |
1142 | builds: !!python/tuple [std] |
1143 | confs: !!python/tuple [relayd-only] | |
1144 | urcuversions: !!python/tuple [master] | |
1145 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1146 | filter: '' |
eba6297c MJ |
1147 | touchstone: '' |
1148 | - '{job_prefix}lttng-tools_{version}_long_regression': | |
40497a50 | 1149 | buildtype: linuxbuild |
6b9f13ac | 1150 | version: master |
9699c0e7 | 1151 | ustversion: master |
40497a50 | 1152 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1153 | builds: !!python/tuple [std] |
1154 | confs: !!python/tuple [std] | |
1155 | urcuversions: !!python/tuple [master] | |
1156 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1157 | filter: '' |
eba6297c MJ |
1158 | touchstone: '' |
1159 | - '{job_prefix}lttng-tools_{version}_rootbuild': | |
40497a50 | 1160 | buildtype: linuxbuild |
7361d941 MJ |
1161 | version: master |
1162 | ustversion: master | |
61c06a24 | 1163 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1164 | builds: !!python/tuple [std] |
1165 | confs: !!python/tuple [agents] | |
1166 | urcuversions: !!python/tuple [master] | |
1167 | babelversions: !!python/tuple [stable-2.0] | |
61c06a24 | 1168 | filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' |
4a94ee0f MJ |
1169 | touchstone: '' |
1170 | - '{job_prefix}lttng-tools_{version}_rootbuild_i386': | |
1171 | buildtype: portbuild | |
1172 | version: master | |
1173 | ustversion: master | |
29901a39 | 1174 | platforms: !!python/tuple [deb12-i386] |
4a94ee0f MJ |
1175 | builds: !!python/tuple [std] |
1176 | confs: !!python/tuple [agents] | |
1177 | urcuversions: !!python/tuple [master] | |
1178 | babelversions: !!python/tuple [stable-2.0] | |
29901a39 | 1179 | filter: '(node=="i386-rootnode" && platform=="deb12-i386")' |
eba6297c | 1180 | touchstone: '' |
f4460dd5 MJ |
1181 | - 'lttng-tools_{version}_scan-build': |
1182 | version: master | |
1183 | urcuversion: master | |
1184 | ustversion: master | |
1185 | - 'lttng-tools_{version}_coverity': | |
1186 | version: master | |
1187 | urcuversion: master | |
1188 | ustversion: master | |
81bf613d | 1189 | |
0fc8b7ac | 1190 | # stable-2.13 |
ec2b5bcf MJ |
1191 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1192 | buildtype: linuxbuild | |
1193 | version: stable-2.13 | |
1194 | ustversion: stable-2.13 | |
30e5c12c | 1195 | platforms: !!python/tuple [deb12-amd64] |
ec2b5bcf MJ |
1196 | builds: !!python/tuple [std, oot, dist] |
1197 | confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] | |
1198 | urcuversions: !!python/tuple [stable-0.13] | |
1199 | babelversions: !!python/tuple [stable-2.0] | |
ec2b5bcf MJ |
1200 | filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' |
1201 | touchstone: '' | |
eba6297c | 1202 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
0fc8b7ac MJ |
1203 | buildtype: portbuild |
1204 | version: stable-2.13 | |
1205 | ustversion: stable-2.13 | |
29901a39 | 1206 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1207 | builds: !!python/tuple [std] |
1208 | confs: !!python/tuple [std, no-ust, agents] | |
1209 | urcuversions: !!python/tuple [stable-0.13] | |
1210 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1211 | filter: '' |
eba6297c MJ |
1212 | touchstone: '' |
1213 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
0fc8b7ac MJ |
1214 | buildtype: slesbuild |
1215 | version: stable-2.13 | |
1216 | ustversion: stable-2.13 | |
24e49fa5 | 1217 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
eba6297c MJ |
1218 | builds: !!python/tuple [std] |
1219 | confs: !!python/tuple [agents] | |
1220 | urcuversions: !!python/tuple [stable-0.13] | |
1221 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1222 | filter: '' |
eba6297c MJ |
1223 | touchstone: '' |
1224 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
0fc8b7ac MJ |
1225 | buildtype: elbuild |
1226 | version: stable-2.13 | |
1227 | ustversion: stable-2.13 | |
5bfd388f | 1228 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
eba6297c MJ |
1229 | builds: !!python/tuple [std] |
1230 | confs: !!python/tuple [std] | |
1231 | urcuversions: !!python/tuple [stable-0.13] | |
1232 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1233 | filter: '' |
eba6297c | 1234 | touchstone: '' |
2e454c3b MJ |
1235 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1236 | buildtype: yoctobuild | |
1237 | version: stable-2.13 | |
1238 | ustversion: stable-2.13 | |
1b2501b5 | 1239 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
2e454c3b MJ |
1240 | builds: !!python/tuple [std] |
1241 | confs: !!python/tuple [std] | |
1242 | urcuversions: !!python/tuple [stable-0.13] | |
1243 | babelversions: !!python/tuple [stable-2.0] | |
2e454c3b MJ |
1244 | filter: '' |
1245 | touchstone: '' | |
6f5a3a3f | 1246 | - '{job_prefix}lttng-tools_{version}_macosbuild': |
0fc8b7ac MJ |
1247 | buildtype: macosbuild |
1248 | version: stable-2.13 | |
1249 | ustversion: stable-2.13 | |
e797d680 | 1250 | platforms: !!python/tuple [macos-arm64] |
eba6297c MJ |
1251 | builds: !!python/tuple [std] |
1252 | confs: !!python/tuple [relayd-only] | |
1253 | urcuversions: !!python/tuple [stable-0.13] | |
1254 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1255 | filter: '' |
eba6297c | 1256 | touchstone: '' |
0fc8b7ac MJ |
1257 | - 'lttng-tools_{version}_winbuild': |
1258 | version: stable-2.13 | |
1259 | ustversion: stable-2.13 | |
5fcae288 | 1260 | platforms: !!python/tuple [cygwin64] |
eba6297c MJ |
1261 | builds: !!python/tuple [std] |
1262 | confs: !!python/tuple [relayd-only] | |
1263 | urcuversions: !!python/tuple [stable-0.13] | |
1264 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1265 | filter: '' |
eba6297c MJ |
1266 | touchstone: '' |
1267 | - '{job_prefix}lttng-tools_{version}_long_regression': | |
40497a50 | 1268 | buildtype: linuxbuild |
0fc8b7ac MJ |
1269 | version: stable-2.13 |
1270 | ustversion: stable-2.13 | |
40497a50 | 1271 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1272 | builds: !!python/tuple [std] |
1273 | confs: !!python/tuple [std] | |
1274 | urcuversions: !!python/tuple [stable-0.13] | |
1275 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1276 | filter: '' |
eba6297c MJ |
1277 | touchstone: '' |
1278 | - '{job_prefix}lttng-tools_{version}_rootbuild': | |
3fbe6a44 | 1279 | buildtype: linuxbuild |
0fc8b7ac MJ |
1280 | version: stable-2.13 |
1281 | ustversion: stable-2.13 | |
61c06a24 | 1282 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1283 | builds: !!python/tuple [std] |
1284 | confs: !!python/tuple [agents] | |
1285 | urcuversions: !!python/tuple [stable-0.13] | |
1286 | babelversions: !!python/tuple [stable-2.0] | |
61c06a24 | 1287 | filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' |
eba6297c | 1288 | touchstone: '' |
0fc8b7ac MJ |
1289 | - 'lttng-tools_{version}_release': |
1290 | version: v2.13 | |
1291 | ustversion: stable-2.13 | |
fe5655ff | 1292 | urcuversion: stable-0.13 |
0fc8b7ac | 1293 | babelversion: stable-2.0 |
f4460dd5 MJ |
1294 | - 'lttng-tools_{version}_scan-build': |
1295 | version: stable-2.13 | |
1296 | urcuversion: stable-0.13 | |
1297 | ustversion: stable-2.13 | |
0fc8b7ac | 1298 | |
03297c9e | 1299 | # stable-2.12 |
ec2b5bcf MJ |
1300 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1301 | buildtype: linuxbuild | |
1302 | version: stable-2.12 | |
1303 | ustversion: stable-2.12 | |
30e5c12c | 1304 | platforms: !!python/tuple [deb12-amd64] |
ec2b5bcf MJ |
1305 | builds: !!python/tuple [std, oot, dist] |
1306 | confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] | |
1307 | urcuversions: !!python/tuple [stable-0.13] | |
1308 | babelversions: !!python/tuple [stable-2.0] | |
ec2b5bcf MJ |
1309 | filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' |
1310 | touchstone: '' | |
eba6297c | 1311 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
03297c9e MJ |
1312 | buildtype: portbuild |
1313 | version: stable-2.12 | |
1314 | ustversion: stable-2.12 | |
29901a39 | 1315 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1316 | builds: !!python/tuple [std] |
1317 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1318 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1319 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1320 | filter: '' |
eba6297c MJ |
1321 | touchstone: '' |
1322 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
03297c9e MJ |
1323 | buildtype: slesbuild |
1324 | version: stable-2.12 | |
1325 | ustversion: stable-2.12 | |
24e49fa5 | 1326 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
eba6297c MJ |
1327 | builds: !!python/tuple [std] |
1328 | confs: !!python/tuple [agents] | |
1fd80da2 | 1329 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1330 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1331 | filter: '' |
eba6297c MJ |
1332 | touchstone: '' |
1333 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
03297c9e MJ |
1334 | buildtype: elbuild |
1335 | version: stable-2.12 | |
1336 | ustversion: stable-2.12 | |
19d08b5b | 1337 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
eba6297c MJ |
1338 | builds: !!python/tuple [std] |
1339 | confs: !!python/tuple [std] | |
1fd80da2 | 1340 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1341 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1342 | filter: '' |
eba6297c | 1343 | touchstone: '' |
2e454c3b MJ |
1344 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1345 | buildtype: yoctobuild | |
1346 | version: stable-2.12 | |
1347 | ustversion: stable-2.12 | |
1b2501b5 | 1348 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
2e454c3b MJ |
1349 | builds: !!python/tuple [std] |
1350 | confs: !!python/tuple [std] | |
1351 | urcuversions: !!python/tuple [stable-0.13] | |
1352 | babelversions: !!python/tuple [stable-2.0] | |
2e454c3b MJ |
1353 | filter: '' |
1354 | touchstone: '' | |
6f5a3a3f | 1355 | - '{job_prefix}lttng-tools_{version}_macosbuild': |
f0d7e5b1 | 1356 | buildtype: macosbuild |
03297c9e MJ |
1357 | version: stable-2.12 |
1358 | ustversion: stable-2.12 | |
e797d680 | 1359 | platforms: !!python/tuple [macos-arm64] |
eba6297c MJ |
1360 | builds: !!python/tuple [std] |
1361 | confs: !!python/tuple [relayd-only] | |
1fd80da2 | 1362 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1363 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1364 | filter: '' |
eba6297c | 1365 | touchstone: '' |
03297c9e MJ |
1366 | - 'lttng-tools_{version}_winbuild': |
1367 | version: stable-2.12 | |
1368 | ustversion: stable-2.12 | |
5fcae288 | 1369 | platforms: !!python/tuple [cygwin64] |
eba6297c MJ |
1370 | builds: !!python/tuple [std] |
1371 | confs: !!python/tuple [relayd-only] | |
1fd80da2 | 1372 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1373 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1374 | filter: '' |
eba6297c MJ |
1375 | touchstone: '' |
1376 | - '{job_prefix}lttng-tools_{version}_long_regression': | |
40497a50 | 1377 | buildtype: linuxbuild |
03297c9e MJ |
1378 | version: stable-2.12 |
1379 | ustversion: stable-2.12 | |
40497a50 | 1380 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1381 | builds: !!python/tuple [std] |
1382 | confs: !!python/tuple [std] | |
1fd80da2 | 1383 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1384 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1385 | filter: '' |
eba6297c MJ |
1386 | touchstone: '' |
1387 | - '{job_prefix}lttng-tools_{version}_rootbuild': | |
3fbe6a44 | 1388 | buildtype: linuxbuild |
7361d941 MJ |
1389 | version: stable-2.12 |
1390 | ustversion: stable-2.12 | |
61c06a24 | 1391 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1392 | builds: !!python/tuple [std] |
1393 | confs: !!python/tuple [agents] | |
1fd80da2 | 1394 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1395 | babelversions: !!python/tuple [stable-2.0] |
43eef6cb | 1396 | filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' |
eba6297c | 1397 | touchstone: '' |
c95cf818 MJ |
1398 | - 'lttng-tools_{version}_release': |
1399 | version: v2.12 | |
1400 | ustversion: stable-2.12 | |
1fd80da2 | 1401 | urcuversion: stable-0.13 |
c95cf818 | 1402 | babelversion: stable-2.0 |
f4460dd5 MJ |
1403 | - 'lttng-tools_{version}_scan-build': |
1404 | version: stable-2.12 | |
1fd80da2 | 1405 | urcuversion: stable-0.13 |
f4460dd5 | 1406 | ustversion: stable-2.12 |
f4460dd5 | 1407 | |
61afb3c3 MJ |
1408 | - project: |
1409 | name: dev_jgalar_lttng-tools | |
f4460dd5 | 1410 | job_prefix: 'dev_jgalar_' |
8e088f79 MJ |
1411 | ust_job_prefix: '' |
1412 | urcu_job_prefix: '' | |
1413 | bt_job_prefix: '' | |
61afb3c3 MJ |
1414 | user: jgalar |
1415 | github_user: jgalar | |
dd00f858 | 1416 | email_to: 'jgalar@efficios.com' |
61afb3c3 | 1417 | jobs: |
8e088f79 | 1418 | # Master |
7671741c | 1419 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
40497a50 | 1420 | buildtype: linuxbuild |
7671741c | 1421 | version: master-staging |
aa27566e | 1422 | ustversion: master |
40497a50 | 1423 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1424 | builds: !!python/tuple [std, oot, dist] |
1425 | confs: !!python/tuple [std, no-ust, agents] | |
1426 | urcuversions: !!python/tuple [master] | |
1427 | babelversions: !!python/tuple [stable-2.0, master] | |
3e93ffa2 | 1428 | filter: '' |
eba6297c | 1429 | touchstone: '' |
0fc8b7ac | 1430 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
8e088f79 MJ |
1431 | buildtype: portbuild |
1432 | version: master-staging | |
1433 | ustversion: master | |
29901a39 | 1434 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1435 | builds: !!python/tuple [std] |
1436 | confs: !!python/tuple [std, no-ust, agents] | |
1437 | urcuversions: !!python/tuple [master] | |
1438 | babelversions: !!python/tuple [stable-1.5, master] | |
0fc8b7ac | 1439 | filter: '' |
eba6297c | 1440 | touchstone: '' |
6f5a3a3f | 1441 | - 'dev_{user}_lttng-tools_{version}_macosbuild': |
8e088f79 MJ |
1442 | buildtype: macosbuild |
1443 | version: master-staging | |
1444 | ustversion: master | |
e797d680 | 1445 | platforms: !!python/tuple [macos-arm64] |
eba6297c MJ |
1446 | builds: !!python/tuple [std] |
1447 | confs: !!python/tuple [relayd-only] | |
1448 | urcuversions: !!python/tuple [master] | |
1449 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1450 | filter: '' |
eba6297c | 1451 | touchstone: '' |
8e088f79 MJ |
1452 | |
1453 | # stable-2.13 | |
7f5ffb7a | 1454 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
40497a50 | 1455 | buildtype: linuxbuild |
8e088f79 MJ |
1456 | version: stable-2.13-staging |
1457 | ustversion: stable-2.13 | |
40497a50 | 1458 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1459 | builds: !!python/tuple [std, oot, dist] |
1460 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1461 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1462 | babelversions: !!python/tuple [stable-2.0, master] |
3e93ffa2 | 1463 | filter: '' |
eba6297c | 1464 | touchstone: '' |
6e5203a5 | 1465 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
6e5203a5 | 1466 | buildtype: portbuild |
8e088f79 MJ |
1467 | version: stable-2.13-staging |
1468 | ustversion: stable-2.13 | |
29901a39 | 1469 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1470 | builds: !!python/tuple [std] |
1471 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1472 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1473 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1474 | filter: '' |
eba6297c | 1475 | touchstone: '' |
8e088f79 MJ |
1476 | |
1477 | # stable-2.12 | |
0fc8b7ac | 1478 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
40497a50 | 1479 | buildtype: linuxbuild |
8e088f79 MJ |
1480 | version: stable-2.12-staging |
1481 | ustversion: stable-2.12 | |
40497a50 | 1482 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1483 | builds: !!python/tuple [std, oot, dist] |
1484 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1485 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1486 | babelversions: !!python/tuple [stable-2.0, master] |
0fc8b7ac | 1487 | filter: '' |
eba6297c | 1488 | touchstone: '' |
03297c9e MJ |
1489 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
1490 | buildtype: portbuild | |
1491 | version: stable-2.12-staging | |
1492 | ustversion: stable-2.12 | |
29901a39 | 1493 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1494 | builds: !!python/tuple [std] |
1495 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1496 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1497 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1498 | filter: '' |
eba6297c | 1499 | touchstone: '' |
8e088f79 | 1500 | |
c2a8d05f | 1501 | - project: |
da9f0feb | 1502 | name: review-lttng-tools |
f4460dd5 | 1503 | job_prefix: '' |
8e088f79 MJ |
1504 | ust_job_prefix: '' |
1505 | urcu_job_prefix: '' | |
1506 | bt_job_prefix: '' | |
c2a8d05f | 1507 | github_user: lttng |
c2a8d05f | 1508 | jobs: |
da9f0feb | 1509 | ## Master ## |
dc98b48a | 1510 | - 'dev_review_lttng-tools_{version}_{buildtype}': |
dc98b48a | 1511 | version: master |
40497a50 | 1512 | buildtype: linuxbuild |
dc98b48a KS |
1513 | platforms: !!python/tuple [deb12-amd64] |
1514 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
1515 | confs: !!python/tuple [std, no-ust, agents] | |
40497a50 | 1516 | urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support |
dc98b48a KS |
1517 | babelversions: !!python/tuple [stable-2.0] |
1518 | filter: '' | |
1519 | touchstone: '' | |
70ee484e KS |
1520 | - 'dev_review_lttng-tools_{version}_{buildtype}': |
1521 | version: master | |
1522 | buildtype: slesbuild | |
1523 | ustversion: master | |
24e49fa5 | 1524 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
70ee484e KS |
1525 | builds: !!python/tuple [std] |
1526 | confs: !!python/tuple [agents] | |
1527 | urcuversions: !!python/tuple [master] | |
1528 | babelversions: !!python/tuple [stable-2.0] | |
1529 | filter: '' | |
1530 | touchstone: '' | |
da9f0feb MJ |
1531 | - 'dev_review_lttng-tools_{version}_rootbuild': |
1532 | version: master | |
3fbe6a44 | 1533 | buildtype: linuxbuild |
61c06a24 | 1534 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1535 | builds: !!python/tuple [std] |
1536 | confs: !!python/tuple [agents] | |
ef9a7b8b | 1537 | urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support |
eba6297c | 1538 | babelversions: !!python/tuple [stable-2.0] |
61c06a24 | 1539 | filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' |
eba6297c | 1540 | touchstone: '' |
1ad4c3d0 MJ |
1541 | - 'dev_review_lttng-tools_{version}_smokebuild': |
1542 | version: master | |
1543 | buildtype: linuxbuild | |
30e5c12c | 1544 | platforms: !!python/tuple [deb12-amd64] |
1ad4c3d0 MJ |
1545 | builds: !!python/tuple [oot-dist] |
1546 | confs: !!python/tuple [agents] | |
1547 | urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support | |
1548 | babelversions: !!python/tuple [stable-2.0] | |
1549 | filter: '' | |
1550 | touchstone: '' | |
1551 | - 'dev_review_lttng-tools_{version}_clang-tidy': | |
1552 | version: master | |
1553 | buildtype: linuxbuild | |
30e5c12c | 1554 | platforms: !!python/tuple [deb12-amd64] |
1ad4c3d0 MJ |
1555 | builds: !!python/tuple [std] |
1556 | confs: !!python/tuple [agents] | |
1557 | urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support | |
1558 | babelversions: !!python/tuple [stable-2.0] | |
1559 | filter: '' | |
1560 | touchstone: '' | |
1561 | - 'dev_review_lttng-tools_{version}_check-format': | |
1562 | version: master | |
c2a8d05f | 1563 | |
da9f0feb | 1564 | ## Stable 2.13 ## |
dc98b48a KS |
1565 | - 'dev_review_lttng-tools_{version}_{buildtype}': |
1566 | version: stable-2.13 | |
1567 | buildtype: linuxbuild | |
1568 | platforms: !!python/tuple [deb12-amd64] | |
1569 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
1570 | confs: !!python/tuple [std, no-ust, agents] | |
1571 | urcuversions: !!python/tuple [stable-0.13] | |
1572 | babelversions: !!python/tuple [stable-2.0] | |
1573 | filter: '' | |
1574 | touchstone: '' | |
da9f0feb MJ |
1575 | - 'dev_review_lttng-tools_{version}_rootbuild': |
1576 | version: stable-2.13 | |
3fbe6a44 | 1577 | buildtype: linuxbuild |
61c06a24 | 1578 | platforms: !!python/tuple [deb12-amd64] |
da9f0feb MJ |
1579 | builds: !!python/tuple [std] |
1580 | confs: !!python/tuple [agents] | |
1581 | urcuversions: !!python/tuple [stable-0.13] | |
1582 | babelversions: !!python/tuple [stable-2.0] | |
61c06a24 | 1583 | filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' |
da9f0feb MJ |
1584 | touchstone: '' |
1585 | ||
1586 | ## Stable 2.12 ## | |
dc98b48a KS |
1587 | - 'dev_review_lttng-tools_{version}_{buildtype}': |
1588 | version: stable-2.12 | |
1589 | buildtype: linuxbuild | |
1590 | platforms: !!python/tuple [deb12-amd64] | |
1591 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
1592 | confs: !!python/tuple [std, no-ust, agents] | |
1593 | urcuversions: !!python/tuple [stable-0.13] | |
1594 | babelversions: !!python/tuple [stable-2.0] | |
1595 | filter: '' | |
1596 | touchstone: '' | |
da9f0feb MJ |
1597 | - 'dev_review_lttng-tools_{version}_rootbuild': |
1598 | version: stable-2.12 | |
3fbe6a44 | 1599 | buildtype: linuxbuild |
61c06a24 | 1600 | platforms: !!python/tuple [deb12-amd64] |
da9f0feb MJ |
1601 | builds: !!python/tuple [std] |
1602 | confs: !!python/tuple [agents] | |
1603 | urcuversions: !!python/tuple [stable-0.13] | |
1604 | babelversions: !!python/tuple [stable-2.0] | |
43eef6cb | 1605 | filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' |
da9f0feb MJ |
1606 | touchstone: '' |
1607 | ||
6a4e0572 | 1608 | |
09d45745 MJ |
1609 | - project: |
1610 | name: lttng-tools-views | |
1611 | views: | |
1612 | - LTTng-tools |