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 |
eba6297c MJ |
421 | |
422 | - raw: <tng-tools_publisher_warnings-ng_defaults | |
423 | xml: | | |
424 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
425 | <analysisTools> | |
426 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
427 | <id/> | |
428 | <name/> | |
429 | <jenkins plugin="plugin-util-api"/> | |
430 | <pattern/> | |
431 | <reportEncoding/> | |
432 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
433 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
eba6297c MJ |
434 | </analysisTools> |
435 | <sourceCodeEncoding/> | |
436 | <sourceDirectory/> | |
437 | <sourceDirectories/> | |
438 | <ignoreQualityGate>false</ignoreQualityGate> | |
439 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
440 | <failOnError>false</failOnError> | |
441 | <healthy>0</healthy> | |
442 | <unhealthy>0</unhealthy> | |
443 | <minimumSeverity plugin="analysis-model-api"> | |
444 | <name>LOW</name> | |
445 | </minimumSeverity> | |
446 | <filters/> | |
447 | <isEnabledForFailure>true</isEnabledForFailure> | |
448 | <isAggregatingResults>true</isAggregatingResults> | |
449 | <isBlameDisabled>false</isBlameDisabled> | |
450 | <skipPublishingChecks>true</skipPublishingChecks> | |
451 | <publishAllIssues>false</publishAllIssues> | |
452 | <qualityGates> | |
453 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
454 | <threshold>1</threshold> | |
455 | <type>TOTAL</type> | |
456 | <status>WARNING</status> | |
457 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
458 | </qualityGates> | |
459 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
460 | <scm/> | |
461 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
462 | ||
68d45ec8 KS |
463 | - junit: <tng-tools_publisher_junit_defaults |
464 | results: 'src/lttng-ust-java-tests/**/target/failsafe-reports/*.xml' | |
465 | allow-empty-results: true | |
466 | ||
eba6297c | 467 | - archive: <tng-tools_publisher_archive_defaults |
4174b905 | 468 | artifacts: 'build/**,deps/**,tap/**,log/**' |
23f01bc3 | 469 | follow-symlinks: true |
61afb3c3 | 470 | allow-empty: false |
b4005bbf | 471 | |
eba6297c | 472 | - workspace-cleanup: <tng-tools_publisher_workspace-cleanup_defaults |
c4952db9 MJ |
473 | clean-if: |
474 | - failure: false | |
eba6297c | 475 | |
ef0d0ec1 MJ |
476 | - raw: <tng-tools_publisher_proc-cleaner_defaults |
477 | xml: | | |
478 | <org.jenkinsci.plugins.proccleaner.PostBuildCleanup plugin="proc-cleaner-plugin"> | |
479 | <cleaner class="org.jenkinsci.plugins.proccleaner.PsCleaner"> | |
480 | <killerType>org.jenkinsci.plugins.proccleaner.PsAllKiller</killerType> | |
481 | <killer class="org.jenkinsci.plugins.proccleaner.PsAllKiller"/> | |
482 | <switchedOff>false</switchedOff> | |
483 | <systemProcessesFilterOff>false</systemProcessesFilterOff> | |
484 | </cleaner> | |
485 | </org.jenkinsci.plugins.proccleaner.PostBuildCleanup> | |
486 | ||
ee4b760a MJ |
487 | - ircbot: <tng-tools_publisher_ircbot_defaults |
488 | strategy: statechange-only | |
2abd3a64 MJ |
489 | message-type: summary |
490 | matrix-notifier: only-parent | |
ee4b760a | 491 | |
eba6297c | 492 | - email-ext: <tng-tools_publisher_email-ext_defaults |
c4952db9 MJ |
493 | recipients: '{obj:email_to}' |
494 | reply-to: ci-notification@lists.lttng.org | |
495 | always: false | |
496 | unstable: false | |
497 | first-failure: true | |
498 | first-unstable: true | |
499 | not-built: false | |
500 | aborted: false | |
501 | regression: false | |
502 | failure: false | |
503 | second-failure: false | |
504 | improvement: false | |
505 | still-failing: false | |
506 | success: false | |
507 | fixed: false | |
508 | fixed-unhealthy: true | |
509 | still-unstable: false | |
510 | pre-build: false | |
511 | matrix-trigger: only-parent | |
512 | send-to: | |
513 | - recipients | |
514 | ||
f7512e60 MJ |
515 | - _lttng-tools_publishers_rootbuild: <tng-tools_publishers_rootbuild |
516 | name: 'lttng-tools_publishers_rootbuild' | |
517 | publishers: | |
518 | - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort | |
519 | - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure | |
520 | - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps | |
521 | - tap: *lttng-tools_publisher_tap_defaults | |
522 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
523 | - archive: *lttng-tools_publisher_archive_defaults | |
524 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
525 | - ircbot: *lttng-tools_publisher_ircbot_defaults | |
526 | - email-ext: *lttng-tools_publisher_email-ext_defaults | |
527 | ||
da9f0feb | 528 | - _lttng-tools_publishers_win: <tng-tools_publishers_win |
eba6297c MJ |
529 | name: 'lttng-tools_publishers_win' |
530 | publishers: | |
531 | - tap: *lttng-tools_publisher_tap_defaults | |
532 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
eba6297c | 533 | - archive: *lttng-tools_publisher_archive_defaults |
ef0d0ec1 MJ |
534 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults |
535 | - raw: *lttng-tools_publisher_proc-cleaner_defaults | |
ee4b760a | 536 | - ircbot: *lttng-tools_publisher_ircbot_defaults |
eba6297c | 537 | - email-ext: *lttng-tools_publisher_email-ext_defaults |
61afb3c3 | 538 | |
da9f0feb | 539 | |
eba6297c | 540 | ## Templates |
f4460dd5 MJ |
541 | - job-template: |
542 | name: '{job_prefix}lttng-tools_{version}_{buildtype}' | |
543 | defaults: lttng-tools | |
544 | ||
eba6297c MJ |
545 | <<: *lttng-tools_matrix_axes_defaults |
546 | <<: *lttng-tools_builders_defaults | |
547 | <<: *lttng-tools_publishers_defaults | |
f4460dd5 MJ |
548 | |
549 | triggers: | |
eba6297c | 550 | - pollscm: *lttng-tools_trigger_pollscm_default |
f4460dd5 | 551 | - reverse: |
8e088f79 | 552 | jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' |
f4460dd5 MJ |
553 | result: 'success' |
554 | ||
8e088f79 MJ |
555 | - job-template: |
556 | name: 'dev_{user}_lttng-tools_{version}_{buildtype}' | |
557 | defaults: lttng-tools | |
558 | ||
eba6297c MJ |
559 | <<: *lttng-tools_matrix_axes_defaults |
560 | <<: *lttng-tools_builders_defaults | |
561 | <<: *lttng-tools_publishers_defaults | |
9699c0e7 | 562 | |
6f5a3a3f MJ |
563 | - job-template: |
564 | name: 'dev_{user}_lttng-tools_{version}_macosbuild' | |
565 | defaults: lttng-tools | |
566 | ||
567 | wrappers: | |
568 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults | |
569 | - timeout: *lttng-tools_wrapper_timeout_defaults | |
570 | - timestamps | |
571 | - workspace-cleanup | |
572 | ||
573 | <<: *lttng-tools_matrix_axes_defaults | |
574 | <<: *lttng-tools_builders_defaults | |
575 | <<: *lttng-tools_publishers_defaults | |
576 | ||
f4460dd5 MJ |
577 | - job-template: |
578 | name: '{job_prefix}lttng-tools_{version}_long_regression' | |
579 | defaults: lttng-tools | |
eba6297c | 580 | |
1ad4c3d0 MJ |
581 | properties: |
582 | - inject: | |
583 | properties-content: | | |
584 | PROJECT_NAME=lttng-tools | |
585 | LTTNG_TOOLS_RUN_TESTS_LONG_REGRESSION=yes | |
586 | - build-discarder: *lttng-tools_property_build-discarder_defaults | |
587 | - github: *lttng-tools_property_github_defaults | |
588 | ||
f4460dd5 | 589 | wrappers: |
eba6297c | 590 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults |
f4460dd5 | 591 | - timeout: |
eba6297c | 592 | <<: *lttng-tools_wrapper_timeout_defaults |
f4460dd5 | 593 | timeout: 45 |
f4460dd5 | 594 | - timestamps |
eba6297c | 595 | - workspace-cleanup |
ef0d0ec1 | 596 | - raw: *lttng-tools_wrapper_proc-cleaner_defaults |
f4460dd5 | 597 | |
eba6297c MJ |
598 | <<: *lttng-tools_matrix_axes_defaults |
599 | <<: *lttng-tools_builders_defaults | |
600 | <<: *lttng-tools_publishers_defaults | |
f4460dd5 MJ |
601 | |
602 | triggers: | |
eba6297c | 603 | - pollscm: *lttng-tools_trigger_pollscm_default |
f4460dd5 | 604 | - reverse: |
8e088f79 | 605 | jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' |
f4460dd5 MJ |
606 | result: 'success' |
607 | ||
f4460dd5 MJ |
608 | - job-template: |
609 | name: '{job_prefix}lttng-tools_{version}_rootbuild' | |
610 | defaults: lttng-tools | |
611 | ||
612 | scm: | |
eba6297c | 613 | - git: *lttng-tools_scm_git_default |
f4460dd5 MJ |
614 | |
615 | wrappers: | |
eba6297c | 616 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults |
f4460dd5 | 617 | - timeout: |
eba6297c | 618 | <<: *lttng-tools_wrapper_timeout_defaults |
f4460dd5 | 619 | timeout: 10 |
f4460dd5 MJ |
620 | - timestamps |
621 | ||
eba6297c MJ |
622 | <<: *lttng-tools_matrix_axes_rootbuild |
623 | <<: *lttng-tools_builders_defaults | |
f7512e60 | 624 | <<: *lttng-tools_publishers_rootbuild |
f4460dd5 MJ |
625 | |
626 | triggers: | |
eba6297c | 627 | - pollscm: *lttng-tools_trigger_pollscm_default |
f4460dd5 | 628 | - reverse: |
2fc14cc3 | 629 | jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' |
f4460dd5 MJ |
630 | result: 'success' |
631 | ||
4a94ee0f MJ |
632 | - job-template: |
633 | name: '{job_prefix}lttng-tools_{version}_rootbuild_i386' | |
634 | defaults: lttng-tools | |
635 | ||
636 | scm: | |
637 | - git: *lttng-tools_scm_git_default | |
638 | ||
639 | wrappers: | |
640 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults | |
641 | - timeout: | |
642 | <<: *lttng-tools_wrapper_timeout_defaults | |
643 | timeout: 10 | |
644 | - timestamps | |
645 | ||
646 | <<: *lttng-tools_matrix_axes_rootbuild | |
647 | <<: *lttng-tools_builders_defaults | |
f7512e60 | 648 | <<: *lttng-tools_publishers_rootbuild |
4a94ee0f MJ |
649 | |
650 | triggers: | |
651 | - pollscm: *lttng-tools_trigger_pollscm_default | |
652 | - reverse: | |
2fc14cc3 | 653 | jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' |
4a94ee0f MJ |
654 | result: 'success' |
655 | ||
6f5a3a3f MJ |
656 | - job-template: |
657 | name: '{job_prefix}lttng-tools_{version}_macosbuild' | |
658 | defaults: lttng-tools | |
659 | ||
660 | wrappers: | |
661 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults | |
662 | - timeout: *lttng-tools_wrapper_timeout_defaults | |
663 | - timestamps | |
664 | - workspace-cleanup | |
665 | ||
666 | <<: *lttng-tools_matrix_axes_defaults | |
667 | <<: *lttng-tools_builders_defaults | |
668 | <<: *lttng-tools_publishers_defaults | |
669 | ||
61afb3c3 MJ |
670 | - job-template: |
671 | name: lttng-tools_{version}_winbuild | |
672 | defaults: lttng-tools | |
673 | ||
eba6297c MJ |
674 | <<: *lttng-tools_matrix_axes_defaults |
675 | <<: *lttng-tools_builders_win | |
676 | <<: *lttng-tools_publishers_win | |
61afb3c3 | 677 | |
c2a8d05f | 678 | - job-template: |
da9f0feb | 679 | name: dev_review_lttng-tools_{version}_{buildtype} |
c2a8d05f MJ |
680 | defaults: lttng-tools |
681 | concurrent: true | |
682 | ||
683 | scm: | |
da9f0feb | 684 | - git: <tng-tools_scm_git_review |
eba6297c MJ |
685 | url: https://review.lttng.org/lttng-tools |
686 | refspec: 'refs/changes/*:refs/changes/*' | |
687 | branches: | |
688 | - '$GERRIT_REFSPEC' | |
689 | basedir: src/lttng-tools | |
690 | skip-tag: true | |
c2a8d05f MJ |
691 | |
692 | triggers: | |
eba6297c | 693 | - gerrit: <tng-tools_trigger_gerrit_default |
c2a8d05f MJ |
694 | trigger-on: |
695 | - comment-added-event: | |
696 | approval-category: 'CI-Build' | |
697 | approval-value: 1 | |
698 | projects: | |
699 | - project-compare-type: 'PLAIN' | |
700 | project-pattern: 'lttng-tools' | |
701 | branches: | |
da9f0feb MJ |
702 | - branch-compare-type: 'PLAIN' |
703 | branch-pattern: '{version}' | |
c2a8d05f | 704 | |
a1f0d20d | 705 | properties: |
1ad4c3d0 | 706 | - inject: *lttng-tools_property_inject_defaults |
a1f0d20d MJ |
707 | - build-discarder: |
708 | days-to-keep: 1 | |
709 | - throttle: | |
710 | option: 'category' | |
711 | categories: | |
712 | - 'gerrit-{buildtype}' | |
713 | ||
eba6297c | 714 | <<: *lttng-tools_matrix_axes_defaults |
da9f0feb | 715 | <<: *lttng-tools_builders_review |
c2a8d05f MJ |
716 | |
717 | publishers: | |
70076186 MJ |
718 | # On build abort (timeout), wait 10 seconds before running the other post |
719 | # build scripts, this will allow the processes to terminate and make the | |
720 | # build log more legible. | |
721 | - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort | |
eba6297c | 722 | |
70076186 MJ |
723 | # On build failure, try to get partial tap results if any exists |
724 | - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure | |
725 | ||
726 | # If there are leftover lttng processes or core files present, kill the | |
727 | # processes, collect the core files, delete them and mark the build | |
728 | # unstable. | |
729 | - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps | |
eba6297c MJ |
730 | |
731 | - tap: *lttng-tools_publisher_tap_defaults | |
732 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
68d45ec8 | 733 | - junit: *lttng-tools_publisher_junit_defaults |
eba6297c MJ |
734 | - archive: *lttng-tools_publisher_archive_defaults |
735 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
ef0d0ec1 | 736 | - raw: *lttng-tools_publisher_proc-cleaner_defaults |
c2a8d05f | 737 | |
edb933dd | 738 | - job-template: |
1ad4c3d0 | 739 | name: dev_review_lttng-tools_{version}_smokebuild |
edb933dd MJ |
740 | defaults: lttng-tools |
741 | concurrent: true | |
742 | ||
743 | scm: | |
da9f0feb | 744 | - git: *lttng-tools_scm_git_review |
edb933dd MJ |
745 | |
746 | triggers: | |
1ad4c3d0 MJ |
747 | - gerrit: <tng-tools_trigger_gerrit_smoke_1 |
748 | trigger-on: | |
749 | - comment-added-event: | |
55399c91 | 750 | approval-category: 'Smoke-Build-Lvl1' |
1ad4c3d0 MJ |
751 | approval-value: 1 |
752 | projects: | |
753 | - project-compare-type: 'PLAIN' | |
754 | project-pattern: 'lttng-tools' | |
755 | branches: | |
756 | - branch-compare-type: 'PLAIN' | |
757 | branch-pattern: '{version}' | |
758 | skip-vote: | |
759 | successful: true | |
760 | failed: true | |
761 | unstable: true | |
762 | notbuilt: true | |
763 | aborted: true | |
edb933dd MJ |
764 | |
765 | properties: | |
766 | - inject: | |
767 | properties-content: | | |
768 | PROJECT_NAME=lttng-tools | |
1ad4c3d0 MJ |
769 | LTTNG_TOOLS_RUN_TESTS=no |
770 | - build-discarder: | |
771 | days-to-keep: 1 | |
772 | ||
773 | <<: *lttng-tools_matrix_axes_defaults | |
774 | <<: *lttng-tools_builders_review | |
775 | ||
776 | publishers: | |
777 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
778 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
ef0d0ec1 | 779 | - raw: *lttng-tools_publisher_proc-cleaner_defaults |
1ad4c3d0 MJ |
780 | |
781 | - job-template: | |
782 | name: dev_review_lttng-tools_{version}_clang-tidy | |
783 | defaults: lttng-tools | |
784 | concurrent: true | |
785 | ||
786 | scm: | |
787 | - git: *lttng-tools_scm_git_review | |
788 | ||
789 | triggers: | |
790 | - gerrit: <tng-tools_trigger_gerrit_smoke_2 | |
791 | trigger-on: | |
792 | - comment-added-event: | |
55399c91 MJ |
793 | approval-category: 'Smoke-Build-Lvl2' |
794 | approval-value: 1 | |
1ad4c3d0 MJ |
795 | projects: |
796 | - project-compare-type: 'PLAIN' | |
797 | project-pattern: 'lttng-tools' | |
798 | branches: | |
799 | - branch-compare-type: 'PLAIN' | |
800 | branch-pattern: '{version}' | |
801 | skip-vote: | |
802 | successful: true | |
803 | failed: true | |
804 | unstable: true | |
805 | notbuilt: true | |
806 | aborted: true | |
807 | ||
808 | properties: | |
809 | - inject: | |
810 | properties-content: | | |
811 | PROJECT_NAME=lttng-tools | |
812 | LTTNG_TOOLS_MAKE_INSTALL=no | |
813 | LTTNG_TOOLS_MAKE_CLEAN=no | |
814 | LTTNG_TOOLS_RUN_TESTS=no | |
815 | LTTNG_TOOLS_GEN_COMPILE_COMMANDS=yes | |
816 | LTTNG_TOOLS_CLANG_TIDY=yes | |
817 | - build-discarder: | |
818 | days-to-keep: 1 | |
819 | ||
820 | <<: *lttng-tools_matrix_axes_defaults | |
821 | <<: *lttng-tools_builders_review | |
822 | ||
823 | publishers: | |
824 | - raw: | |
825 | xml: | | |
826 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
827 | <analysisTools> | |
828 | <io.jenkins.plugins.analysis.warnings.ClangTidy> | |
829 | <id/> | |
830 | <name/> | |
831 | <jenkins plugin="plugin-util-api"/> | |
832 | <pattern/> | |
833 | <reportEncoding/> | |
834 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
835 | </io.jenkins.plugins.analysis.warnings.ClangTidy> | |
836 | </analysisTools> | |
837 | <sourceCodeEncoding/> | |
838 | <sourceDirectory/> | |
839 | <sourceDirectories/> | |
840 | <ignoreQualityGate>false</ignoreQualityGate> | |
841 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
842 | <failOnError>false</failOnError> | |
843 | <healthy>0</healthy> | |
844 | <unhealthy>0</unhealthy> | |
845 | <minimumSeverity plugin="analysis-model-api"> | |
846 | <name>LOW</name> | |
847 | </minimumSeverity> | |
848 | <filters/> | |
849 | <isEnabledForFailure>true</isEnabledForFailure> | |
850 | <isAggregatingResults>true</isAggregatingResults> | |
851 | <isBlameDisabled>false</isBlameDisabled> | |
852 | <skipPublishingChecks>true</skipPublishingChecks> | |
853 | <publishAllIssues>false</publishAllIssues> | |
854 | <qualityGates> | |
855 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
856 | <status>FAILED</status> | |
857 | <threshold>1</threshold> | |
858 | <type>TOTAL</type> | |
859 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
860 | </qualityGates> | |
861 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
862 | <scm/> | |
863 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
864 | - archive: | |
865 | artifacts: 'clang-tidy-fixes.diff' | |
866 | allow-empty: true | |
867 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
ef0d0ec1 | 868 | - raw: *lttng-tools_publisher_proc-cleaner_defaults |
1ad4c3d0 MJ |
869 | |
870 | - job-template: | |
871 | name: dev_review_lttng-tools_{version}_rootbuild | |
872 | defaults: lttng-tools | |
873 | concurrent: true | |
874 | ||
875 | scm: | |
876 | - git: *lttng-tools_scm_git_review | |
877 | ||
878 | triggers: | |
879 | - gerrit: *lttng-tools_trigger_gerrit_default | |
880 | ||
881 | properties: | |
882 | - inject: *lttng-tools_property_inject_defaults | |
edb933dd MJ |
883 | - build-discarder: |
884 | days-to-keep: 1 | |
885 | - throttle: | |
886 | option: 'category' | |
887 | categories: | |
888 | - 'gerrit-{buildtype}' | |
889 | ||
eba6297c | 890 | <<: *lttng-tools_matrix_axes_rootbuild |
da9f0feb | 891 | <<: *lttng-tools_builders_review |
edb933dd MJ |
892 | |
893 | publishers: | |
eba6297c MJ |
894 | - tap: *lttng-tools_publisher_tap_defaults |
895 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
896 | - archive: *lttng-tools_publisher_archive_defaults | |
897 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
edb933dd | 898 | |
1ad4c3d0 MJ |
899 | - job-template: |
900 | name: 'dev_review_lttng-tools_{version}_check-format' | |
901 | defaults: lttng-tools | |
902 | concurrent: true | |
903 | ||
904 | scm: | |
905 | - git: *lttng-tools_scm_git_review | |
906 | ||
907 | triggers: | |
908 | - gerrit: *lttng-tools_trigger_gerrit_smoke_1 | |
909 | ||
30e5c12c | 910 | node: 'deb12-amd64' |
1ad4c3d0 MJ |
911 | |
912 | builders: | |
913 | - shell: | |
914 | !include-raw-escape: scripts/common/check-format.sh | |
915 | ||
916 | properties: | |
917 | - inject: *lttng-tools_property_inject_defaults | |
918 | - build-discarder: | |
919 | days-to-keep: 1 | |
920 | ||
921 | publishers: | |
922 | - archive: | |
923 | artifacts: 'clang-format-fixes.diff' | |
924 | allow-empty: true | |
925 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults | |
926 | ||
c95cf818 MJ |
927 | - job-template: |
928 | name: lttng-tools_{version}_release | |
929 | defaults: lttng-tools | |
40497a50 | 930 | node: 'deb12-amd64' |
c95cf818 MJ |
931 | |
932 | triggers: | |
933 | - pollscm: | |
934 | cron: "@daily" | |
935 | ||
936 | scm: | |
937 | - git: | |
4d27af8f | 938 | url: https://github.com/{github_user}/lttng-tools.git |
c95cf818 | 939 | browser: githubweb |
7361d941 | 940 | browser-url: https://github.com/{github_user}/lttng-tools |
a7f915c4 | 941 | refspec: '+refs/tags/*:refs/remotes/origin/tags/*' |
c95cf818 MJ |
942 | branches: |
943 | - '*/tags/{version}.*' | |
944 | basedir: src/lttng-tools | |
945 | ||
946 | builders: | |
947 | - copyartifact: | |
eba6297c | 948 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 949 | project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' |
c95cf818 | 950 | - copyartifact: |
eba6297c | 951 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 952 | project: 'babeltrace_{babelversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' |
c95cf818 | 953 | - copyartifact: |
eba6297c | 954 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 955 | project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=agents,build=std' |
c95cf818 | 956 | - shell: |
70076186 | 957 | !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh |
c95cf818 MJ |
958 | - shell: |
959 | !include-raw-escape: scripts/lttng-tools/release.sh | |
960 | ||
961 | publishers: | |
70076186 MJ |
962 | # On build abort (timeout), wait 10 seconds before running the other post |
963 | # build scripts, this will allow the processes to terminate and make the | |
964 | # build log more legible. | |
965 | - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort | |
eba6297c | 966 | |
70076186 MJ |
967 | # On build failure, try to get partial tap results if any exists |
968 | - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure | |
969 | ||
970 | # If there are leftover lttng processes or core files present, kill the | |
971 | # processes, collect the core files, delete them and mark the build | |
972 | # unstable. | |
973 | - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps | |
eba6297c MJ |
974 | |
975 | - tap: *lttng-tools_publisher_tap_defaults | |
976 | - raw: *lttng-tools_publisher_warnings-ng_defaults | |
c95cf818 MJ |
977 | - archive: |
978 | artifacts: 'out/**' | |
979 | allow-empty: false | |
2e0ea77c | 980 | fingerprint: true |
eba6297c | 981 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults |
ef0d0ec1 | 982 | - raw: *lttng-tools_publisher_proc-cleaner_defaults |
ee4b760a | 983 | - ircbot: *lttng-tools_publisher_ircbot_defaults |
c95cf818 | 984 | |
b4005bbf MJ |
985 | - job-template: |
986 | name: lttng-tools_{version}_scan-build | |
987 | defaults: lttng-tools | |
40497a50 | 988 | node: 'deb12-amd64' |
b4005bbf MJ |
989 | |
990 | triggers: | |
991 | - pollscm: | |
992 | cron: "@daily" | |
993 | ||
994 | builders: | |
995 | - copyartifact: | |
eba6297c | 996 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 997 | project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' |
b4005bbf | 998 | - copyartifact: |
eba6297c | 999 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 1000 | project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=std,build=std' |
b4005bbf | 1001 | - shell: |
69f05d59 | 1002 | !include-raw-escape: scripts/common/scan-build.sh |
b4005bbf MJ |
1003 | |
1004 | publishers: | |
1005 | - html-publisher: | |
1006 | name: 'HTML Report' | |
1007 | dir: 'scan-build-archive/' | |
1008 | files: 'index.html' | |
ee4b760a | 1009 | - ircbot: *lttng-tools_publisher_ircbot_defaults |
b4005bbf MJ |
1010 | |
1011 | - job-template: | |
1012 | name: lttng-tools_{version}_coverity | |
1013 | defaults: lttng-tools | |
40497a50 | 1014 | node: 'deb12-amd64' |
b4005bbf MJ |
1015 | |
1016 | triggers: | |
1017 | - pollscm: | |
1018 | cron: "@daily" | |
1019 | ||
1020 | wrappers: | |
eba6297c MJ |
1021 | - ansicolor: *lttng-tools_wrapper_ansicolor_defaults |
1022 | - timeout: *lttng-tools_wrapper_timeout_defaults | |
b4005bbf | 1023 | - timestamps |
eba6297c | 1024 | - workspace-cleanup |
b4005bbf MJ |
1025 | - credentials-binding: |
1026 | - username-password-separated: | |
1027 | credential-id: lttng-tools_coverity_token | |
1028 | username: COVERITY_SCAN_PROJECT_NAME | |
1029 | password: COVERITY_SCAN_TOKEN | |
1030 | ||
1031 | builders: | |
1032 | - copyartifact: | |
eba6297c | 1033 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 1034 | project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' |
b4005bbf | 1035 | - copyartifact: |
eba6297c | 1036 | <<: *lttng-tools_steps_copyartifact_defaults |
40497a50 | 1037 | project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=std,build=std' |
b4005bbf | 1038 | - shell: |
ef63064f | 1039 | !include-raw-escape: scripts/common/coverity.sh |
b4005bbf MJ |
1040 | |
1041 | publishers: | |
96e8f697 MJ |
1042 | - archive: |
1043 | artifacts: 'analysis-results.tgz,cov-int/**' | |
1044 | allow-empty: false | |
eba6297c | 1045 | - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults |
ee4b760a | 1046 | - ircbot: *lttng-tools_publisher_ircbot_defaults |
b4005bbf | 1047 | |
b4005bbf | 1048 | |
09d45745 MJ |
1049 | ## Views |
1050 | - view-template: | |
1051 | name: 'LTTng-tools' | |
1052 | view-type: list | |
8d893217 | 1053 | regex: 'lttng-(docs|tools)[-_].*' |
b4005bbf | 1054 | |
b4005bbf | 1055 | |
09d45745 | 1056 | ## Projects |
b4005bbf MJ |
1057 | - project: |
1058 | name: lttng-tools | |
f4460dd5 | 1059 | job_prefix: '' |
8e088f79 MJ |
1060 | ust_job_prefix: '' |
1061 | urcu_job_prefix: '' | |
1062 | bt_job_prefix: '' | |
51ca880a | 1063 | github_user: lttng |
dd00f858 | 1064 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' |
b4005bbf | 1065 | version: |
03297c9e | 1066 | - stable-2.12 |
0fc8b7ac | 1067 | - stable-2.13 |
9beacf91 | 1068 | - master |
b4005bbf | 1069 | jobs: |
81bf613d | 1070 | # Master # |
ec2b5bcf MJ |
1071 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1072 | buildtype: linuxbuild | |
1073 | version: master | |
1074 | ustversion: master | |
30e5c12c | 1075 | platforms: !!python/tuple [deb12-amd64] |
ec2b5bcf MJ |
1076 | builds: !!python/tuple [std, oot, dist] |
1077 | confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] | |
1078 | urcuversions: !!python/tuple [master] | |
1079 | babelversions: !!python/tuple [stable-2.0, master] | |
ec2b5bcf MJ |
1080 | filter: '(build=="std") || ((babeltrace_version=="master" && (conf=="std" || conf=="agents" || conf=="no-ust")))' |
1081 | touchstone: '' | |
eba6297c | 1082 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
b4005bbf MJ |
1083 | buildtype: portbuild |
1084 | version: master | |
aa27566e | 1085 | ustversion: master |
29901a39 | 1086 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1087 | builds: !!python/tuple [std] |
1088 | confs: !!python/tuple [std, no-ust, agents] | |
1089 | urcuversions: !!python/tuple [master] | |
1090 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1091 | filter: '' |
eba6297c MJ |
1092 | touchstone: '' |
1093 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
81bf613d | 1094 | buildtype: slesbuild |
b6e62a6a MJ |
1095 | version: master |
1096 | ustversion: master | |
f3c8d88c | 1097 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] |
eba6297c MJ |
1098 | builds: !!python/tuple [std] |
1099 | confs: !!python/tuple [agents] | |
1100 | urcuversions: !!python/tuple [master] | |
1101 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1102 | filter: '' |
eba6297c MJ |
1103 | touchstone: '' |
1104 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
568b5cbd MJ |
1105 | buildtype: elbuild |
1106 | version: master | |
1107 | ustversion: master | |
5bfd388f | 1108 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
eba6297c MJ |
1109 | builds: !!python/tuple [std] |
1110 | confs: !!python/tuple [std] | |
1111 | urcuversions: !!python/tuple [master] | |
1112 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1113 | filter: '' |
eba6297c | 1114 | touchstone: '' |
6871000c MJ |
1115 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1116 | buildtype: yoctobuild | |
1117 | version: master | |
1118 | ustversion: master | |
1b2501b5 | 1119 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
6871000c MJ |
1120 | builds: !!python/tuple [std] |
1121 | confs: !!python/tuple [std] | |
1122 | urcuversions: !!python/tuple [master] | |
1123 | babelversions: !!python/tuple [stable-2.0] | |
6871000c MJ |
1124 | filter: '' |
1125 | touchstone: '' | |
6f5a3a3f | 1126 | - '{job_prefix}lttng-tools_{version}_macosbuild': |
f0d7e5b1 | 1127 | buildtype: macosbuild |
81bf613d MJ |
1128 | version: master |
1129 | ustversion: master | |
e797d680 | 1130 | platforms: !!python/tuple [macos-arm64] |
eba6297c MJ |
1131 | builds: !!python/tuple [std] |
1132 | confs: !!python/tuple [relayd-only] | |
1133 | urcuversions: !!python/tuple [master] | |
1134 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1135 | filter: '' |
eba6297c | 1136 | touchstone: '' |
81bf613d | 1137 | - 'lttng-tools_{version}_winbuild': |
b6e62a6a MJ |
1138 | version: master |
1139 | ustversion: master | |
5fcae288 | 1140 | platforms: !!python/tuple [cygwin64] |
eba6297c MJ |
1141 | builds: !!python/tuple [std] |
1142 | confs: !!python/tuple [relayd-only] | |
1143 | urcuversions: !!python/tuple [master] | |
1144 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1145 | filter: '' |
eba6297c MJ |
1146 | touchstone: '' |
1147 | - '{job_prefix}lttng-tools_{version}_long_regression': | |
40497a50 | 1148 | buildtype: linuxbuild |
6b9f13ac | 1149 | version: master |
9699c0e7 | 1150 | ustversion: master |
40497a50 | 1151 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1152 | builds: !!python/tuple [std] |
1153 | confs: !!python/tuple [std] | |
1154 | urcuversions: !!python/tuple [master] | |
1155 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1156 | filter: '' |
eba6297c MJ |
1157 | touchstone: '' |
1158 | - '{job_prefix}lttng-tools_{version}_rootbuild': | |
40497a50 | 1159 | buildtype: linuxbuild |
7361d941 MJ |
1160 | version: master |
1161 | ustversion: master | |
61c06a24 | 1162 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1163 | builds: !!python/tuple [std] |
1164 | confs: !!python/tuple [agents] | |
1165 | urcuversions: !!python/tuple [master] | |
1166 | babelversions: !!python/tuple [stable-2.0] | |
61c06a24 | 1167 | filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' |
4a94ee0f MJ |
1168 | touchstone: '' |
1169 | - '{job_prefix}lttng-tools_{version}_rootbuild_i386': | |
1170 | buildtype: portbuild | |
1171 | version: master | |
1172 | ustversion: master | |
29901a39 | 1173 | platforms: !!python/tuple [deb12-i386] |
4a94ee0f MJ |
1174 | builds: !!python/tuple [std] |
1175 | confs: !!python/tuple [agents] | |
1176 | urcuversions: !!python/tuple [master] | |
1177 | babelversions: !!python/tuple [stable-2.0] | |
29901a39 | 1178 | filter: '(node=="i386-rootnode" && platform=="deb12-i386")' |
eba6297c | 1179 | touchstone: '' |
f4460dd5 MJ |
1180 | - 'lttng-tools_{version}_scan-build': |
1181 | version: master | |
1182 | urcuversion: master | |
1183 | ustversion: master | |
1184 | - 'lttng-tools_{version}_coverity': | |
1185 | version: master | |
1186 | urcuversion: master | |
1187 | ustversion: master | |
81bf613d | 1188 | |
0fc8b7ac | 1189 | # stable-2.13 |
ec2b5bcf MJ |
1190 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1191 | buildtype: linuxbuild | |
1192 | version: stable-2.13 | |
1193 | ustversion: stable-2.13 | |
30e5c12c | 1194 | platforms: !!python/tuple [deb12-amd64] |
ec2b5bcf MJ |
1195 | builds: !!python/tuple [std, oot, dist] |
1196 | confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] | |
1197 | urcuversions: !!python/tuple [stable-0.13] | |
1198 | babelversions: !!python/tuple [stable-2.0] | |
ec2b5bcf MJ |
1199 | filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' |
1200 | touchstone: '' | |
eba6297c | 1201 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
0fc8b7ac MJ |
1202 | buildtype: portbuild |
1203 | version: stable-2.13 | |
1204 | ustversion: stable-2.13 | |
29901a39 | 1205 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1206 | builds: !!python/tuple [std] |
1207 | confs: !!python/tuple [std, no-ust, agents] | |
1208 | urcuversions: !!python/tuple [stable-0.13] | |
1209 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1210 | filter: '' |
eba6297c MJ |
1211 | touchstone: '' |
1212 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
0fc8b7ac MJ |
1213 | buildtype: slesbuild |
1214 | version: stable-2.13 | |
1215 | ustversion: stable-2.13 | |
f3c8d88c | 1216 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] |
eba6297c MJ |
1217 | builds: !!python/tuple [std] |
1218 | confs: !!python/tuple [agents] | |
1219 | urcuversions: !!python/tuple [stable-0.13] | |
1220 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1221 | filter: '' |
eba6297c MJ |
1222 | touchstone: '' |
1223 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
0fc8b7ac MJ |
1224 | buildtype: elbuild |
1225 | version: stable-2.13 | |
1226 | ustversion: stable-2.13 | |
5bfd388f | 1227 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
eba6297c MJ |
1228 | builds: !!python/tuple [std] |
1229 | confs: !!python/tuple [std] | |
1230 | urcuversions: !!python/tuple [stable-0.13] | |
1231 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1232 | filter: '' |
eba6297c | 1233 | touchstone: '' |
2e454c3b MJ |
1234 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1235 | buildtype: yoctobuild | |
1236 | version: stable-2.13 | |
1237 | ustversion: stable-2.13 | |
1b2501b5 | 1238 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
2e454c3b MJ |
1239 | builds: !!python/tuple [std] |
1240 | confs: !!python/tuple [std] | |
1241 | urcuversions: !!python/tuple [stable-0.13] | |
1242 | babelversions: !!python/tuple [stable-2.0] | |
2e454c3b MJ |
1243 | filter: '' |
1244 | touchstone: '' | |
6f5a3a3f | 1245 | - '{job_prefix}lttng-tools_{version}_macosbuild': |
0fc8b7ac MJ |
1246 | buildtype: macosbuild |
1247 | version: stable-2.13 | |
1248 | ustversion: stable-2.13 | |
e797d680 | 1249 | platforms: !!python/tuple [macos-arm64] |
eba6297c MJ |
1250 | builds: !!python/tuple [std] |
1251 | confs: !!python/tuple [relayd-only] | |
1252 | urcuversions: !!python/tuple [stable-0.13] | |
1253 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1254 | filter: '' |
eba6297c | 1255 | touchstone: '' |
0fc8b7ac MJ |
1256 | - 'lttng-tools_{version}_winbuild': |
1257 | version: stable-2.13 | |
1258 | ustversion: stable-2.13 | |
5fcae288 | 1259 | platforms: !!python/tuple [cygwin64] |
eba6297c MJ |
1260 | builds: !!python/tuple [std] |
1261 | confs: !!python/tuple [relayd-only] | |
1262 | urcuversions: !!python/tuple [stable-0.13] | |
1263 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1264 | filter: '' |
eba6297c MJ |
1265 | touchstone: '' |
1266 | - '{job_prefix}lttng-tools_{version}_long_regression': | |
40497a50 | 1267 | buildtype: linuxbuild |
0fc8b7ac MJ |
1268 | version: stable-2.13 |
1269 | ustversion: stable-2.13 | |
40497a50 | 1270 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1271 | builds: !!python/tuple [std] |
1272 | confs: !!python/tuple [std] | |
1273 | urcuversions: !!python/tuple [stable-0.13] | |
1274 | babelversions: !!python/tuple [stable-2.0] | |
0fc8b7ac | 1275 | filter: '' |
eba6297c MJ |
1276 | touchstone: '' |
1277 | - '{job_prefix}lttng-tools_{version}_rootbuild': | |
3fbe6a44 | 1278 | buildtype: linuxbuild |
0fc8b7ac MJ |
1279 | version: stable-2.13 |
1280 | ustversion: stable-2.13 | |
61c06a24 | 1281 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1282 | builds: !!python/tuple [std] |
1283 | confs: !!python/tuple [agents] | |
1284 | urcuversions: !!python/tuple [stable-0.13] | |
1285 | babelversions: !!python/tuple [stable-2.0] | |
61c06a24 | 1286 | filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' |
eba6297c | 1287 | touchstone: '' |
0fc8b7ac MJ |
1288 | - 'lttng-tools_{version}_release': |
1289 | version: v2.13 | |
1290 | ustversion: stable-2.13 | |
fe5655ff | 1291 | urcuversion: stable-0.13 |
0fc8b7ac | 1292 | babelversion: stable-2.0 |
f4460dd5 MJ |
1293 | - 'lttng-tools_{version}_scan-build': |
1294 | version: stable-2.13 | |
1295 | urcuversion: stable-0.13 | |
1296 | ustversion: stable-2.13 | |
0fc8b7ac | 1297 | |
03297c9e | 1298 | # stable-2.12 |
ec2b5bcf MJ |
1299 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1300 | buildtype: linuxbuild | |
1301 | version: stable-2.12 | |
1302 | ustversion: stable-2.12 | |
30e5c12c | 1303 | platforms: !!python/tuple [deb12-amd64] |
ec2b5bcf MJ |
1304 | builds: !!python/tuple [std, oot, dist] |
1305 | confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] | |
1306 | urcuversions: !!python/tuple [stable-0.13] | |
1307 | babelversions: !!python/tuple [stable-2.0] | |
ec2b5bcf MJ |
1308 | filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' |
1309 | touchstone: '' | |
eba6297c | 1310 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
03297c9e MJ |
1311 | buildtype: portbuild |
1312 | version: stable-2.12 | |
1313 | ustversion: stable-2.12 | |
29901a39 | 1314 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1315 | builds: !!python/tuple [std] |
1316 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1317 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1318 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1319 | filter: '' |
eba6297c MJ |
1320 | touchstone: '' |
1321 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
03297c9e MJ |
1322 | buildtype: slesbuild |
1323 | version: stable-2.12 | |
1324 | ustversion: stable-2.12 | |
f3c8d88c | 1325 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] |
eba6297c MJ |
1326 | builds: !!python/tuple [std] |
1327 | confs: !!python/tuple [agents] | |
1fd80da2 | 1328 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1329 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1330 | filter: '' |
eba6297c MJ |
1331 | touchstone: '' |
1332 | - '{job_prefix}lttng-tools_{version}_{buildtype}': | |
03297c9e MJ |
1333 | buildtype: elbuild |
1334 | version: stable-2.12 | |
1335 | ustversion: stable-2.12 | |
19d08b5b | 1336 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
eba6297c MJ |
1337 | builds: !!python/tuple [std] |
1338 | confs: !!python/tuple [std] | |
1fd80da2 | 1339 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1340 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1341 | filter: '' |
eba6297c | 1342 | touchstone: '' |
2e454c3b MJ |
1343 | - '{job_prefix}lttng-tools_{version}_{buildtype}': |
1344 | buildtype: yoctobuild | |
1345 | version: stable-2.12 | |
1346 | ustversion: stable-2.12 | |
1b2501b5 | 1347 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
2e454c3b MJ |
1348 | builds: !!python/tuple [std] |
1349 | confs: !!python/tuple [std] | |
1350 | urcuversions: !!python/tuple [stable-0.13] | |
1351 | babelversions: !!python/tuple [stable-2.0] | |
2e454c3b MJ |
1352 | filter: '' |
1353 | touchstone: '' | |
6f5a3a3f | 1354 | - '{job_prefix}lttng-tools_{version}_macosbuild': |
f0d7e5b1 | 1355 | buildtype: macosbuild |
03297c9e MJ |
1356 | version: stable-2.12 |
1357 | ustversion: stable-2.12 | |
e797d680 | 1358 | platforms: !!python/tuple [macos-arm64] |
eba6297c MJ |
1359 | builds: !!python/tuple [std] |
1360 | confs: !!python/tuple [relayd-only] | |
1fd80da2 | 1361 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1362 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1363 | filter: '' |
eba6297c | 1364 | touchstone: '' |
03297c9e MJ |
1365 | - 'lttng-tools_{version}_winbuild': |
1366 | version: stable-2.12 | |
1367 | ustversion: stable-2.12 | |
5fcae288 | 1368 | platforms: !!python/tuple [cygwin64] |
eba6297c MJ |
1369 | builds: !!python/tuple [std] |
1370 | confs: !!python/tuple [relayd-only] | |
1fd80da2 | 1371 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1372 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1373 | filter: '' |
eba6297c MJ |
1374 | touchstone: '' |
1375 | - '{job_prefix}lttng-tools_{version}_long_regression': | |
40497a50 | 1376 | buildtype: linuxbuild |
03297c9e MJ |
1377 | version: stable-2.12 |
1378 | ustversion: stable-2.12 | |
40497a50 | 1379 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1380 | builds: !!python/tuple [std] |
1381 | confs: !!python/tuple [std] | |
1fd80da2 | 1382 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1383 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1384 | filter: '' |
eba6297c MJ |
1385 | touchstone: '' |
1386 | - '{job_prefix}lttng-tools_{version}_rootbuild': | |
3fbe6a44 | 1387 | buildtype: linuxbuild |
7361d941 MJ |
1388 | version: stable-2.12 |
1389 | ustversion: stable-2.12 | |
61c06a24 | 1390 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1391 | builds: !!python/tuple [std] |
1392 | confs: !!python/tuple [agents] | |
1fd80da2 | 1393 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1394 | babelversions: !!python/tuple [stable-2.0] |
43eef6cb | 1395 | filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' |
eba6297c | 1396 | touchstone: '' |
c95cf818 MJ |
1397 | - 'lttng-tools_{version}_release': |
1398 | version: v2.12 | |
1399 | ustversion: stable-2.12 | |
1fd80da2 | 1400 | urcuversion: stable-0.13 |
c95cf818 | 1401 | babelversion: stable-2.0 |
f4460dd5 MJ |
1402 | - 'lttng-tools_{version}_scan-build': |
1403 | version: stable-2.12 | |
1fd80da2 | 1404 | urcuversion: stable-0.13 |
f4460dd5 | 1405 | ustversion: stable-2.12 |
f4460dd5 | 1406 | |
61afb3c3 MJ |
1407 | - project: |
1408 | name: dev_jgalar_lttng-tools | |
f4460dd5 | 1409 | job_prefix: 'dev_jgalar_' |
8e088f79 MJ |
1410 | ust_job_prefix: '' |
1411 | urcu_job_prefix: '' | |
1412 | bt_job_prefix: '' | |
61afb3c3 MJ |
1413 | user: jgalar |
1414 | github_user: jgalar | |
dd00f858 | 1415 | email_to: 'jgalar@efficios.com' |
61afb3c3 | 1416 | jobs: |
8e088f79 | 1417 | # Master |
7671741c | 1418 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
40497a50 | 1419 | buildtype: linuxbuild |
7671741c | 1420 | version: master-staging |
aa27566e | 1421 | ustversion: master |
40497a50 | 1422 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1423 | builds: !!python/tuple [std, oot, dist] |
1424 | confs: !!python/tuple [std, no-ust, agents] | |
1425 | urcuversions: !!python/tuple [master] | |
1426 | babelversions: !!python/tuple [stable-2.0, master] | |
3e93ffa2 | 1427 | filter: '' |
eba6297c | 1428 | touchstone: '' |
0fc8b7ac | 1429 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
8e088f79 MJ |
1430 | buildtype: portbuild |
1431 | version: master-staging | |
1432 | ustversion: master | |
29901a39 | 1433 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1434 | builds: !!python/tuple [std] |
1435 | confs: !!python/tuple [std, no-ust, agents] | |
1436 | urcuversions: !!python/tuple [master] | |
1437 | babelversions: !!python/tuple [stable-1.5, master] | |
0fc8b7ac | 1438 | filter: '' |
eba6297c | 1439 | touchstone: '' |
6f5a3a3f | 1440 | - 'dev_{user}_lttng-tools_{version}_macosbuild': |
8e088f79 MJ |
1441 | buildtype: macosbuild |
1442 | version: master-staging | |
1443 | ustversion: master | |
e797d680 | 1444 | platforms: !!python/tuple [macos-arm64] |
eba6297c MJ |
1445 | builds: !!python/tuple [std] |
1446 | confs: !!python/tuple [relayd-only] | |
1447 | urcuversions: !!python/tuple [master] | |
1448 | babelversions: !!python/tuple [stable-2.0] | |
3e93ffa2 | 1449 | filter: '' |
eba6297c | 1450 | touchstone: '' |
8e088f79 MJ |
1451 | |
1452 | # stable-2.13 | |
7f5ffb7a | 1453 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
40497a50 | 1454 | buildtype: linuxbuild |
8e088f79 MJ |
1455 | version: stable-2.13-staging |
1456 | ustversion: stable-2.13 | |
40497a50 | 1457 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1458 | builds: !!python/tuple [std, oot, dist] |
1459 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1460 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1461 | babelversions: !!python/tuple [stable-2.0, master] |
3e93ffa2 | 1462 | filter: '' |
eba6297c | 1463 | touchstone: '' |
6e5203a5 | 1464 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
6e5203a5 | 1465 | buildtype: portbuild |
8e088f79 MJ |
1466 | version: stable-2.13-staging |
1467 | ustversion: stable-2.13 | |
29901a39 | 1468 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1469 | builds: !!python/tuple [std] |
1470 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1471 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1472 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1473 | filter: '' |
eba6297c | 1474 | touchstone: '' |
8e088f79 MJ |
1475 | |
1476 | # stable-2.12 | |
0fc8b7ac | 1477 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
40497a50 | 1478 | buildtype: linuxbuild |
8e088f79 MJ |
1479 | version: stable-2.12-staging |
1480 | ustversion: stable-2.12 | |
40497a50 | 1481 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1482 | builds: !!python/tuple [std, oot, dist] |
1483 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1484 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1485 | babelversions: !!python/tuple [stable-2.0, master] |
0fc8b7ac | 1486 | filter: '' |
eba6297c | 1487 | touchstone: '' |
03297c9e MJ |
1488 | - 'dev_{user}_lttng-tools_{version}_{buildtype}': |
1489 | buildtype: portbuild | |
1490 | version: stable-2.12-staging | |
1491 | ustversion: stable-2.12 | |
29901a39 | 1492 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
eba6297c MJ |
1493 | builds: !!python/tuple [std] |
1494 | confs: !!python/tuple [std, no-ust, agents] | |
1fd80da2 | 1495 | urcuversions: !!python/tuple [stable-0.13] |
eba6297c | 1496 | babelversions: !!python/tuple [stable-2.0] |
3e93ffa2 | 1497 | filter: '' |
eba6297c | 1498 | touchstone: '' |
8e088f79 | 1499 | |
c2a8d05f | 1500 | - project: |
da9f0feb | 1501 | name: review-lttng-tools |
f4460dd5 | 1502 | job_prefix: '' |
8e088f79 MJ |
1503 | ust_job_prefix: '' |
1504 | urcu_job_prefix: '' | |
1505 | bt_job_prefix: '' | |
c2a8d05f | 1506 | github_user: lttng |
c2a8d05f | 1507 | jobs: |
da9f0feb | 1508 | ## Master ## |
dc98b48a | 1509 | - 'dev_review_lttng-tools_{version}_{buildtype}': |
dc98b48a | 1510 | version: master |
40497a50 | 1511 | buildtype: linuxbuild |
dc98b48a KS |
1512 | platforms: !!python/tuple [deb12-amd64] |
1513 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
1514 | confs: !!python/tuple [std, no-ust, agents] | |
40497a50 | 1515 | urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support |
dc98b48a KS |
1516 | babelversions: !!python/tuple [stable-2.0] |
1517 | filter: '' | |
1518 | touchstone: '' | |
70ee484e KS |
1519 | - 'dev_review_lttng-tools_{version}_{buildtype}': |
1520 | version: master | |
1521 | buildtype: slesbuild | |
1522 | ustversion: master | |
1523 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] | |
1524 | builds: !!python/tuple [std] | |
1525 | confs: !!python/tuple [agents] | |
1526 | urcuversions: !!python/tuple [master] | |
1527 | babelversions: !!python/tuple [stable-2.0] | |
1528 | filter: '' | |
1529 | touchstone: '' | |
da9f0feb MJ |
1530 | - 'dev_review_lttng-tools_{version}_rootbuild': |
1531 | version: master | |
3fbe6a44 | 1532 | buildtype: linuxbuild |
61c06a24 | 1533 | platforms: !!python/tuple [deb12-amd64] |
eba6297c MJ |
1534 | builds: !!python/tuple [std] |
1535 | confs: !!python/tuple [agents] | |
ef9a7b8b | 1536 | urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support |
eba6297c | 1537 | babelversions: !!python/tuple [stable-2.0] |
61c06a24 | 1538 | filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' |
eba6297c | 1539 | touchstone: '' |
1ad4c3d0 MJ |
1540 | - 'dev_review_lttng-tools_{version}_smokebuild': |
1541 | version: master | |
1542 | buildtype: linuxbuild | |
30e5c12c | 1543 | platforms: !!python/tuple [deb12-amd64] |
1ad4c3d0 MJ |
1544 | builds: !!python/tuple [oot-dist] |
1545 | confs: !!python/tuple [agents] | |
1546 | urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support | |
1547 | babelversions: !!python/tuple [stable-2.0] | |
1548 | filter: '' | |
1549 | touchstone: '' | |
1550 | - 'dev_review_lttng-tools_{version}_clang-tidy': | |
1551 | version: master | |
1552 | buildtype: linuxbuild | |
30e5c12c | 1553 | platforms: !!python/tuple [deb12-amd64] |
1ad4c3d0 MJ |
1554 | builds: !!python/tuple [std] |
1555 | confs: !!python/tuple [agents] | |
1556 | urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support | |
1557 | babelversions: !!python/tuple [stable-2.0] | |
1558 | filter: '' | |
1559 | touchstone: '' | |
1560 | - 'dev_review_lttng-tools_{version}_check-format': | |
1561 | version: master | |
c2a8d05f | 1562 | |
da9f0feb | 1563 | ## Stable 2.13 ## |
dc98b48a KS |
1564 | - 'dev_review_lttng-tools_{version}_{buildtype}': |
1565 | version: stable-2.13 | |
1566 | buildtype: linuxbuild | |
1567 | platforms: !!python/tuple [deb12-amd64] | |
1568 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
1569 | confs: !!python/tuple [std, no-ust, agents] | |
1570 | urcuversions: !!python/tuple [stable-0.13] | |
1571 | babelversions: !!python/tuple [stable-2.0] | |
1572 | filter: '' | |
1573 | touchstone: '' | |
da9f0feb MJ |
1574 | - 'dev_review_lttng-tools_{version}_rootbuild': |
1575 | version: stable-2.13 | |
3fbe6a44 | 1576 | buildtype: linuxbuild |
61c06a24 | 1577 | platforms: !!python/tuple [deb12-amd64] |
da9f0feb MJ |
1578 | builds: !!python/tuple [std] |
1579 | confs: !!python/tuple [agents] | |
1580 | urcuversions: !!python/tuple [stable-0.13] | |
1581 | babelversions: !!python/tuple [stable-2.0] | |
61c06a24 | 1582 | filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' |
da9f0feb MJ |
1583 | touchstone: '' |
1584 | ||
1585 | ## Stable 2.12 ## | |
dc98b48a KS |
1586 | - 'dev_review_lttng-tools_{version}_{buildtype}': |
1587 | version: stable-2.12 | |
1588 | buildtype: linuxbuild | |
1589 | platforms: !!python/tuple [deb12-amd64] | |
1590 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
1591 | confs: !!python/tuple [std, no-ust, agents] | |
1592 | urcuversions: !!python/tuple [stable-0.13] | |
1593 | babelversions: !!python/tuple [stable-2.0] | |
1594 | filter: '' | |
1595 | touchstone: '' | |
da9f0feb MJ |
1596 | - 'dev_review_lttng-tools_{version}_rootbuild': |
1597 | version: stable-2.12 | |
3fbe6a44 | 1598 | buildtype: linuxbuild |
61c06a24 | 1599 | platforms: !!python/tuple [deb12-amd64] |
da9f0feb MJ |
1600 | builds: !!python/tuple [std] |
1601 | confs: !!python/tuple [agents] | |
1602 | urcuversions: !!python/tuple [stable-0.13] | |
1603 | babelversions: !!python/tuple [stable-2.0] | |
43eef6cb | 1604 | filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' |
da9f0feb MJ |
1605 | touchstone: '' |
1606 | ||
6a4e0572 | 1607 | |
09d45745 MJ |
1608 | - project: |
1609 | name: lttng-tools-views | |
1610 | views: | |
1611 | - LTTng-tools |