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