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