| 1 | --- |
| 2 | ## Defaults |
| 3 | - defaults: |
| 4 | name: lttng-modules |
| 5 | description: | |
| 6 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 7 | 2.0 tracer toolset. |
| 8 | |
| 9 | <p>Job is managed by Jenkins Job Builder.</p> |
| 10 | |
| 11 | project-type: freestyle |
| 12 | |
| 13 | wrappers: |
| 14 | - workspace-cleanup |
| 15 | - timestamps |
| 16 | - ansicolor |
| 17 | |
| 18 | scm: |
| 19 | - git: |
| 20 | url: https://github.com/{github_user}/{github_name}.git |
| 21 | browser: githubweb |
| 22 | browser-url: https://github.com/{github_user}/{github_name} |
| 23 | branches: |
| 24 | - "refs/heads/{mversion}" |
| 25 | shallow-clone: true |
| 26 | fastpoll: true |
| 27 | basedir: src/lttng-modules |
| 28 | wipe-workspace: false |
| 29 | skip-tag: true |
| 30 | |
| 31 | triggers: |
| 32 | - pollscm: |
| 33 | cron: "@hourly" |
| 34 | |
| 35 | properties: |
| 36 | - build-discarder: |
| 37 | num-to-keep: 10 |
| 38 | artifact-num-to-keep: 2 |
| 39 | - github: |
| 40 | url: https://github.com/{github_user}/{github_name} |
| 41 | |
| 42 | publishers: |
| 43 | - workspace-cleanup |
| 44 | - ircbot: <tng-modules_publisher_ircbot_defaults |
| 45 | strategy: statechange-only |
| 46 | message-type: summary |
| 47 | matrix-notifier: only-parent |
| 48 | - email-ext: |
| 49 | recipients: '{obj:email_to}' |
| 50 | reply-to: ci-notification@lists.lttng.org |
| 51 | always: false |
| 52 | unstable: false |
| 53 | first-failure: true |
| 54 | first-unstable: true |
| 55 | not-built: false |
| 56 | aborted: false |
| 57 | regression: false |
| 58 | failure: false |
| 59 | second-failure: false |
| 60 | improvement: false |
| 61 | still-failing: false |
| 62 | success: false |
| 63 | fixed: false |
| 64 | fixed-unhealthy: true |
| 65 | still-unstable: false |
| 66 | pre-build: false |
| 67 | matrix-trigger: only-parent |
| 68 | send-to: |
| 69 | - recipients |
| 70 | |
| 71 | |
| 72 | ## Anchors |
| 73 | - _lttng-modules_build_parameters_defaults: <tng-modules_build_parameters_defaults |
| 74 | name: 'lttng-modules_build_parameters_defaults' |
| 75 | parameters: |
| 76 | - string: |
| 77 | name: 'maxConcurrentBuild' |
| 78 | default: '20' |
| 79 | description: 'The maximum number of concurrent child build to run.' |
| 80 | - string: |
| 81 | name: 'kverfloor' |
| 82 | default: '{kverfloor}' |
| 83 | description: 'The lowest kernel version to build.' |
| 84 | - string: |
| 85 | name: 'kverceil' |
| 86 | default: '{kverceil}' |
| 87 | description: 'The highest kernel version to build. (excluded)' |
| 88 | - string: |
| 89 | name: 'kverfilter' |
| 90 | default: '{kverfilter}' |
| 91 | description: 'Kernel versions list filtering strategy.' |
| 92 | - string: |
| 93 | name: 'kverrc' |
| 94 | default: 'true' |
| 95 | description: 'Add latest RC to kernel versions list.' |
| 96 | - string: |
| 97 | name: 'kgitrepo' |
| 98 | default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' |
| 99 | description: 'The linux kernel git repository url.' |
| 100 | - string: |
| 101 | name: 'kbuildjob' |
| 102 | default: 'lttng-modules_PARAM_{parambuildtype}' |
| 103 | description: 'The parametrized job to use for child builds.' |
| 104 | |
| 105 | - _lttng-modules_build_parameters_review: <tng-modules_build_parameters_review |
| 106 | name: 'lttng-modules_build_parameters_review' |
| 107 | parameters: |
| 108 | - string: |
| 109 | name: 'maxConcurrentBuild' |
| 110 | default: '10' |
| 111 | description: 'The maximum number of concurrent child build to run.' |
| 112 | - string: |
| 113 | name: 'kverfloor' |
| 114 | default: '{kverfloor}' |
| 115 | description: 'The lowest kernel version to build.' |
| 116 | - string: |
| 117 | name: 'kverceil' |
| 118 | default: '{kverceil}' |
| 119 | description: 'The highest kernel version to build. (excluded)' |
| 120 | - string: |
| 121 | name: 'kverfilter' |
| 122 | default: '{kverfilter}' |
| 123 | description: 'Kernel versions list filtering strategy.' |
| 124 | - string: |
| 125 | name: 'kverrc' |
| 126 | default: 'true' |
| 127 | description: 'Add latest RC to kernel versions list.' |
| 128 | - string: |
| 129 | name: 'kgitrepo' |
| 130 | default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' |
| 131 | description: 'The linux kernel git repository url.' |
| 132 | - string: |
| 133 | name: 'kbuildjob' |
| 134 | default: 'lttng-modules_PARAM_build' |
| 135 | description: 'The parametrized job to use for child builds.' |
| 136 | |
| 137 | - _lttng-modules_build_parameters_ubuntu: <tng-modules_build_parameters_sles |
| 138 | name: 'lttng-modules_build_parameters_sles' |
| 139 | parameters: |
| 140 | - string: |
| 141 | name: 'maxConcurrentBuild' |
| 142 | default: '20' |
| 143 | description: 'The maximum number of concurrent child build to run.' |
| 144 | - string: |
| 145 | name: 'kverfloor' |
| 146 | default: '{kverfloor}' |
| 147 | description: 'The lowest kernel version to build.' |
| 148 | - string: |
| 149 | name: 'kverceil' |
| 150 | default: '{kverceil}' |
| 151 | description: 'The highest kernel version to build. (excluded)' |
| 152 | - string: |
| 153 | name: 'kverfilter' |
| 154 | default: '{kverfilter}' |
| 155 | description: 'Kernel versions list filtering strategy.' |
| 156 | - string: |
| 157 | name: 'kverrc' |
| 158 | default: 'false' |
| 159 | description: 'Add latest RC to kernel versions list.' |
| 160 | - string: |
| 161 | name: 'kgitrepo' |
| 162 | default: 'git://git-mirror.internal.efficios.com/git/sles.git' |
| 163 | description: 'The linux kernel git repository url.' |
| 164 | - string: |
| 165 | name: 'kbuildjob' |
| 166 | default: 'lttng-modules_PARAM_{parambuildtype}' |
| 167 | description: 'The parametrized job to use for child builds.' |
| 168 | - string: |
| 169 | name: 'slesversion' |
| 170 | default: '{slesversion}' |
| 171 | description: 'The SLES release (eg. sles15sp4)' |
| 172 | |
| 173 | - _lttng-modules_build_parameters_ubuntu: <tng-modules_build_parameters_ubuntu |
| 174 | name: 'lttng-modules_build_parameters_ubuntu' |
| 175 | parameters: |
| 176 | - string: |
| 177 | name: 'maxConcurrentBuild' |
| 178 | default: '20' |
| 179 | description: 'The maximum number of concurrent child build to run.' |
| 180 | - string: |
| 181 | name: 'kverfloor' |
| 182 | default: '{kverfloor}' |
| 183 | description: 'The lowest kernel version to build.' |
| 184 | - string: |
| 185 | name: 'kverceil' |
| 186 | default: '{kverceil}' |
| 187 | description: 'The highest kernel version to build. (excluded)' |
| 188 | - string: |
| 189 | name: 'kverfilter' |
| 190 | default: '{kverfilter}' |
| 191 | description: 'Kernel versions list filtering strategy.' |
| 192 | - string: |
| 193 | name: 'kverrc' |
| 194 | default: 'false' |
| 195 | description: 'Add latest RC to kernel versions list.' |
| 196 | - string: |
| 197 | name: 'kgitrepo' |
| 198 | default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git' |
| 199 | description: 'The linux kernel git repository url.' |
| 200 | - string: |
| 201 | name: 'kbuildjob' |
| 202 | default: 'lttng-modules_PARAM_{parambuildtype}' |
| 203 | description: 'The parametrized job to use for child builds.' |
| 204 | - string: |
| 205 | name: 'uversion' |
| 206 | default: '{uversion}' |
| 207 | description: 'The lowest kernel version to build.' |
| 208 | |
| 209 | - _lttng-modules_build_parameters_rt: <tng-modules_build_parameters_rt |
| 210 | name: 'lttng-modules_build_parameters_rt' |
| 211 | parameters: |
| 212 | - string: |
| 213 | name: 'maxConcurrentBuild' |
| 214 | default: '20' |
| 215 | description: 'The maximum number of concurrent child build to run.' |
| 216 | - string: |
| 217 | name: 'kverfloor' |
| 218 | default: '{kverfloor}' |
| 219 | description: 'The lowest kernel version to build.' |
| 220 | - string: |
| 221 | name: 'kverceil' |
| 222 | default: '{kverceil}' |
| 223 | description: 'The highest kernel version to build. (excluded)' |
| 224 | - string: |
| 225 | name: 'kverfilter' |
| 226 | default: '{kverfilter}' |
| 227 | description: 'Kernel versions list filtering strategy.' |
| 228 | - string: |
| 229 | name: 'kverrc' |
| 230 | default: 'false' |
| 231 | description: 'Add latest RC to kernel versions list.' |
| 232 | - string: |
| 233 | name: 'kgitrepo' |
| 234 | default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-stable-rt.git' |
| 235 | description: 'The linux kernel git repository url.' |
| 236 | - string: |
| 237 | name: 'kbuildjob' |
| 238 | default: 'lttng-modules_PARAM_build' |
| 239 | description: 'The parametrized job to use for child builds.' |
| 240 | |
| 241 | - _lttng-modules_build_builders_defaults: <tng-modules_build_builders_defaults |
| 242 | name: 'lttng-modules_build_builders_defaults' |
| 243 | builders: |
| 244 | - system-groovy: |
| 245 | command: |
| 246 | !include-raw-escape: scripts/lttng-modules/master.groovy |
| 247 | |
| 248 | - _lttng-modules_build_rt_builders_defaults: <tng-modules_build_rt_builders_defaults |
| 249 | name: 'lttng-modules_build_rt_builders_defaults' |
| 250 | builders: |
| 251 | - system-groovy: |
| 252 | command: |
| 253 | !include-raw-escape: scripts/lttng-modules/master-rt.groovy |
| 254 | |
| 255 | |
| 256 | ## Templates |
| 257 | - job-template: |
| 258 | name: lttng-modules_ALL_trigger-vanilla |
| 259 | defaults: lttng-modules |
| 260 | description: | |
| 261 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 262 | 2.0 tracer toolset. |
| 263 | |
| 264 | This job will trigger the build jobs when a new tag is added to the vanilla |
| 265 | and stable kernel trees. |
| 266 | |
| 267 | <p>Job is managed by Jenkins Job Builder.</p> |
| 268 | |
| 269 | node: 'master' |
| 270 | |
| 271 | wrappers: |
| 272 | - timestamps |
| 273 | - ansicolor |
| 274 | |
| 275 | scm: [] |
| 276 | |
| 277 | triggers: |
| 278 | # Check for new kernel tags everay day at 22:00 |
| 279 | - timed: "0 22 * * *" |
| 280 | |
| 281 | builders: |
| 282 | - system-groovy: |
| 283 | command: |
| 284 | !include-raw-escape: scripts/lttng-modules/trigger-vanilla.groovy |
| 285 | |
| 286 | publishers: [] |
| 287 | |
| 288 | - job-template: |
| 289 | name: lttng-modules_{mversion}_{buildtype}-vanilla |
| 290 | defaults: lttng-modules |
| 291 | description: | |
| 292 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 293 | 2.0 tracer toolset. |
| 294 | |
| 295 | This job will build the {mversion} branch against stable vanilla |
| 296 | kernel tags. |
| 297 | |
| 298 | <p>Job is managed by Jenkins Job Builder.</p> |
| 299 | |
| 300 | node: 'master' |
| 301 | |
| 302 | triggers: |
| 303 | # Check for new commits every hour |
| 304 | - pollscm: |
| 305 | cron: "@hourly" |
| 306 | |
| 307 | <<: *lttng-modules_build_parameters_defaults |
| 308 | <<: *lttng-modules_build_builders_defaults |
| 309 | |
| 310 | - job-template: |
| 311 | name: dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla |
| 312 | defaults: lttng-modules |
| 313 | description: | |
| 314 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 315 | 2.0 tracer toolset. |
| 316 | |
| 317 | This job will build the {mversion} branch against stable vanilla |
| 318 | kernel tags. |
| 319 | |
| 320 | <p>Job is managed by Jenkins Job Builder.</p> |
| 321 | |
| 322 | node: 'master' |
| 323 | |
| 324 | # This is a test job, no triggers |
| 325 | triggers: [] |
| 326 | |
| 327 | parameters: |
| 328 | - string: |
| 329 | name: 'maxConcurrentBuild' |
| 330 | default: '20' |
| 331 | description: 'The maximum number of concurrent child build to run.' |
| 332 | - string: |
| 333 | name: 'kverfloor' |
| 334 | default: '{kverfloor}' |
| 335 | description: 'The lowest kernel version to build.' |
| 336 | - string: |
| 337 | name: 'kverceil' |
| 338 | default: '{kverceil}' |
| 339 | description: 'The highest kernel version to build. (excluded)' |
| 340 | - string: |
| 341 | name: 'kverfilter' |
| 342 | default: '{kverfilter}' |
| 343 | description: 'Kernel versions list filtering strategy.' |
| 344 | - string: |
| 345 | name: 'kverrc' |
| 346 | default: 'true' |
| 347 | description: 'Add latest RC to kernel versions list.' |
| 348 | - string: |
| 349 | name: 'kgitrepo' |
| 350 | default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' |
| 351 | description: 'The linux kernel git repository url.' |
| 352 | - string: |
| 353 | name: 'kbuildjob' |
| 354 | default: 'dev_mjeanson_lttng-modules_PARAM_{parambuildtype}' |
| 355 | description: 'The parametrized job to use for child builds.' |
| 356 | |
| 357 | <<: *lttng-modules_build_builders_defaults |
| 358 | |
| 359 | - job-template: |
| 360 | name: dev_review_lttng-modules_{mversion}_build |
| 361 | defaults: lttng-modules |
| 362 | concurrent: true |
| 363 | |
| 364 | node: 'master' |
| 365 | |
| 366 | scm: |
| 367 | - git: |
| 368 | url: https://review.lttng.org/lttng-modules |
| 369 | refspec: 'refs/changes/*:refs/changes/*' |
| 370 | branches: |
| 371 | - '$GERRIT_REFSPEC' |
| 372 | basedir: src/lttng-modules |
| 373 | skip-tag: true |
| 374 | |
| 375 | triggers: |
| 376 | - gerrit: |
| 377 | trigger-on: |
| 378 | - comment-added-event: |
| 379 | approval-category: 'CI-Build' |
| 380 | approval-value: 1 |
| 381 | projects: |
| 382 | - project-compare-type: 'PLAIN' |
| 383 | project-pattern: 'lttng-modules' |
| 384 | branches: |
| 385 | - branch-compare-type: 'PLAIN' |
| 386 | branch-pattern: '{mversion}' |
| 387 | |
| 388 | properties: |
| 389 | - build-discarder: |
| 390 | days-to-keep: 1 |
| 391 | - throttle: |
| 392 | option: 'category' |
| 393 | categories: |
| 394 | - 'gerrit-build' |
| 395 | |
| 396 | <<: *lttng-modules_build_parameters_review |
| 397 | <<: *lttng-modules_build_builders_defaults |
| 398 | |
| 399 | publishers: |
| 400 | - workspace-cleanup |
| 401 | |
| 402 | - job-template: |
| 403 | name: 'dev_review_lttng-modules_{mversion}_build-{slesversion}' |
| 404 | defaults: lttng-modules |
| 405 | concurrent: true |
| 406 | |
| 407 | node: 'master' |
| 408 | |
| 409 | scm: |
| 410 | - git: |
| 411 | url: https://review.lttng.org/lttng-modules |
| 412 | refspec: 'refs/changes/*:refs/changes/*' |
| 413 | branches: |
| 414 | - '$GERRIT_REFSPEC' |
| 415 | basedir: src/lttng-modules |
| 416 | skip-tag: true |
| 417 | |
| 418 | triggers: |
| 419 | - gerrit: |
| 420 | trigger-on: |
| 421 | - comment-added-event: |
| 422 | approval-category: 'CI-Build' |
| 423 | approval-value: 1 |
| 424 | projects: |
| 425 | - project-compare-type: 'PLAIN' |
| 426 | project-pattern: 'lttng-modules' |
| 427 | branches: |
| 428 | - branch-compare-type: 'PLAIN' |
| 429 | branch-pattern: '{mversion}' |
| 430 | |
| 431 | properties: |
| 432 | - build-discarder: |
| 433 | days-to-keep: 1 |
| 434 | - throttle: |
| 435 | option: 'category' |
| 436 | categories: |
| 437 | - 'gerrit-build' |
| 438 | |
| 439 | <<: *lttng-modules_build_parameters_sles |
| 440 | <<: *lttng-modules_build_builders_defaults |
| 441 | |
| 442 | publishers: |
| 443 | - workspace-cleanup |
| 444 | |
| 445 | - job-template: |
| 446 | name: lttng-modules_{mversion}_fullbuild-vanilla |
| 447 | defaults: lttng-modules |
| 448 | description: | |
| 449 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 450 | 2.0 tracer toolset. |
| 451 | |
| 452 | This job will build the {mversion} branch against all stable vanilla |
| 453 | kernel tags. |
| 454 | |
| 455 | <p>Job is managed by Jenkins Job Builder.</p> |
| 456 | |
| 457 | node: 'master' |
| 458 | |
| 459 | <<: *lttng-modules_build_parameters_defaults |
| 460 | <<: *lttng-modules_build_builders_defaults |
| 461 | |
| 462 | triggers: |
| 463 | # Check for new commits every friday at midnight |
| 464 | - pollscm: |
| 465 | cron: "0 0 * * 5" |
| 466 | |
| 467 | - job-template: |
| 468 | name: lttng-modules_{mversion}_{buildtype}-{slesversion} |
| 469 | defaults: lttng-modules |
| 470 | description: | |
| 471 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 472 | 2.0 tracer toolset. |
| 473 | |
| 474 | This job will the {mversion} branch against SLES {slesversion} released |
| 475 | kernels. |
| 476 | |
| 477 | <p>Job is managed by Jenkins Job Builder.</p> |
| 478 | |
| 479 | node: 'master' |
| 480 | triggers: |
| 481 | - pollscm: |
| 482 | cron: "@hourly" |
| 483 | - timed: "H 0 * * 6" |
| 484 | <<: *lttng-modules_build_parameters_sles |
| 485 | <<: *lttng-modules_build_builders_defaults |
| 486 | |
| 487 | - job-template: |
| 488 | name: lttng-modules_{mversion}_{buildtype}-{uversion} |
| 489 | defaults: lttng-modules |
| 490 | description: | |
| 491 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 492 | 2.0 tracer toolset. |
| 493 | |
| 494 | This job will build the {mversion} branch against Ubuntu {uversion} |
| 495 | released kernels, including the LTS backport kernels. |
| 496 | |
| 497 | <p>Job is managed by Jenkins Job Builder.</p> |
| 498 | |
| 499 | node: 'master' |
| 500 | |
| 501 | triggers: |
| 502 | # Check for new commits every hour |
| 503 | - pollscm: |
| 504 | cron: "@hourly" |
| 505 | # Also run every saturday at midnight to catch new ubuntu kernel tags |
| 506 | - timed: "0 0 * * 6" |
| 507 | |
| 508 | <<: *lttng-modules_build_parameters_ubuntu |
| 509 | <<: *lttng-modules_build_builders_defaults |
| 510 | |
| 511 | - job-template: |
| 512 | name: lttng-modules_{mversion}_fullbuild-{uversion} |
| 513 | defaults: lttng-modules |
| 514 | description: | |
| 515 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 516 | 2.0 tracer toolset. |
| 517 | |
| 518 | This job will build the {mversion} branch against Ubuntu {uversion} |
| 519 | released kernels, including the LTS backport kernels. |
| 520 | |
| 521 | <p>Job is managed by Jenkins Job Builder.</p> |
| 522 | |
| 523 | node: 'master' |
| 524 | |
| 525 | <<: *lttng-modules_build_parameters_ubuntu |
| 526 | <<: *lttng-modules_build_builders_defaults |
| 527 | |
| 528 | triggers: |
| 529 | - pollscm: |
| 530 | cron: "@midnight" |
| 531 | |
| 532 | - job-template: |
| 533 | name: lttng-modules_{mversion}_build-rt |
| 534 | defaults: lttng-modules |
| 535 | description: | |
| 536 | The LTTng modules provide Linux kernel tracing capability to the LTTng |
| 537 | 2.0 tracer toolset. |
| 538 | |
| 539 | This job will build the {mversion} branch against all Linutronix RT |
| 540 | kernels. |
| 541 | |
| 542 | <p>Job is managed by Jenkins Job Builder.</p> |
| 543 | |
| 544 | node: 'master' |
| 545 | |
| 546 | triggers: |
| 547 | # Check for new commits every hour |
| 548 | - pollscm: |
| 549 | cron: "@hourly" |
| 550 | # Also run every sunday at midnight to catch new rt kernel tags |
| 551 | - timed: "0 0 * * 7" |
| 552 | |
| 553 | <<: *lttng-modules_build_parameters_rt |
| 554 | <<: *lttng-modules_build_rt_builders_defaults |
| 555 | |
| 556 | - job-template: |
| 557 | name: lttng-modules_PARAM_build |
| 558 | defaults: lttng-modules |
| 559 | description: | |
| 560 | This is a parametrized job used by 'master' jobs to build any combinations |
| 561 | of lttng-modules and linux kernel versions. |
| 562 | |
| 563 | <p>Job is managed by Jenkins Job Builder.</p> |
| 564 | |
| 565 | project-type: matrix |
| 566 | node: 'master' # Applies only to matrix flyweight task |
| 567 | axes: |
| 568 | - axis: |
| 569 | type: slave |
| 570 | name: platforms |
| 571 | values: '{obj:platforms}' |
| 572 | |
| 573 | properties: |
| 574 | - build-discarder: |
| 575 | days-to-keep: 2 |
| 576 | |
| 577 | parameters: |
| 578 | - string: |
| 579 | name: 'mversion' |
| 580 | default: 'master' |
| 581 | description: 'The lttng-modules branch to build.' |
| 582 | - string: |
| 583 | name: 'mgitrepo' |
| 584 | default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git' |
| 585 | description: 'The lttng-modules git repository url.' |
| 586 | - string: |
| 587 | name: 'ktag' |
| 588 | default: '' |
| 589 | description: 'The linux kernel git tag to build against.' |
| 590 | - string: |
| 591 | name: 'kgitrepo' |
| 592 | default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' |
| 593 | description: 'The linux kernel git repository url.' |
| 594 | |
| 595 | concurrent: true |
| 596 | |
| 597 | scm: [] |
| 598 | |
| 599 | triggers: [] |
| 600 | |
| 601 | builders: |
| 602 | - shell: |
| 603 | !include-raw-escape: scripts/lttng-modules/param-build.sh |
| 604 | |
| 605 | publishers: |
| 606 | - workspace-cleanup |
| 607 | |
| 608 | - job-template: |
| 609 | name: dev_mjeanson_lttng-modules_PARAM_build |
| 610 | defaults: lttng-modules |
| 611 | description: | |
| 612 | This is a parametrized job used by 'master' jobs to build any combinations |
| 613 | of lttng-modules and linux kernel versions. |
| 614 | |
| 615 | <p>Job is managed by Jenkins Job Builder.</p> |
| 616 | |
| 617 | project-type: matrix |
| 618 | node: 'master' # Applies only to matrix flyweight task |
| 619 | axes: |
| 620 | - axis: |
| 621 | type: slave |
| 622 | name: platforms |
| 623 | values: '{obj:platforms}' |
| 624 | |
| 625 | properties: |
| 626 | - build-discarder: |
| 627 | days-to-keep: 2 |
| 628 | |
| 629 | parameters: |
| 630 | - string: |
| 631 | name: 'mversion' |
| 632 | default: 'master' |
| 633 | description: 'The lttng-modules branch to build.' |
| 634 | - string: |
| 635 | name: 'mgitrepo' |
| 636 | default: 'https://github.com/{github_user}/lttng-modules.git' |
| 637 | description: 'The lttng-modules git repository url.' |
| 638 | - string: |
| 639 | name: 'ktag' |
| 640 | default: '' |
| 641 | description: 'The linux kernel git tag to build against.' |
| 642 | - string: |
| 643 | name: 'kgitrepo' |
| 644 | default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' |
| 645 | description: 'The linux kernel git repository url.' |
| 646 | |
| 647 | concurrent: true |
| 648 | |
| 649 | scm: [] |
| 650 | |
| 651 | triggers: [] |
| 652 | |
| 653 | builders: |
| 654 | - shell: |
| 655 | !include-raw-escape: scripts/lttng-modules/param-build.sh |
| 656 | |
| 657 | publishers: |
| 658 | - workspace-cleanup |
| 659 | |
| 660 | |
| 661 | - job-template: |
| 662 | name: dev_mjeanson_lttng-modules_PARAM_crossbuild |
| 663 | defaults: lttng-modules |
| 664 | description: | |
| 665 | This is a parametrized job used by 'master' jobs to build any combinations |
| 666 | of lttng-modules and linux kernel versions. |
| 667 | |
| 668 | <p>Job is managed by Jenkins Job Builder.</p> |
| 669 | |
| 670 | project-type: matrix |
| 671 | node: 'master' # Applies only to matrix flyweight task |
| 672 | axes: |
| 673 | - axis: |
| 674 | type: user-defined |
| 675 | name: cross_arch |
| 676 | values: '{obj:cross_arch}' |
| 677 | - axis: |
| 678 | type: slave |
| 679 | name: platforms |
| 680 | values: '{obj:platforms}' |
| 681 | |
| 682 | properties: |
| 683 | - build-discarder: |
| 684 | days-to-keep: 2 |
| 685 | |
| 686 | parameters: |
| 687 | - string: |
| 688 | name: 'mversion' |
| 689 | default: 'master' |
| 690 | description: 'The lttng-modules branch to build.' |
| 691 | - string: |
| 692 | name: 'mgitrepo' |
| 693 | default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git' |
| 694 | description: 'The lttng-modules git repository url.' |
| 695 | - string: |
| 696 | name: 'ktag' |
| 697 | default: '' |
| 698 | description: 'The linux kernel git tag to build against.' |
| 699 | - string: |
| 700 | name: 'kgitrepo' |
| 701 | default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' |
| 702 | description: 'The linux kernel git repository url.' |
| 703 | |
| 704 | concurrent: true |
| 705 | |
| 706 | scm: [] |
| 707 | |
| 708 | triggers: [] |
| 709 | |
| 710 | builders: |
| 711 | - shell: |
| 712 | !include-raw-escape: scripts/lttng-modules/param-build.sh |
| 713 | |
| 714 | publishers: |
| 715 | - workspace-cleanup |
| 716 | |
| 717 | - job-template: |
| 718 | name: lttng-modules_PARAM_crossbuild |
| 719 | defaults: lttng-modules |
| 720 | description: | |
| 721 | This is a parametrized job used by 'master' jobs to build any combinations |
| 722 | of lttng-modules and linux kernel versions. |
| 723 | |
| 724 | <p>Job is managed by Jenkins Job Builder.</p> |
| 725 | |
| 726 | project-type: matrix |
| 727 | node: 'master' # Applies only to matrix flyweight task |
| 728 | axes: |
| 729 | - axis: |
| 730 | type: user-defined |
| 731 | name: cross_arch |
| 732 | values: '{obj:cross_arch}' |
| 733 | - axis: |
| 734 | type: slave |
| 735 | name: platforms |
| 736 | values: '{obj:platforms}' |
| 737 | |
| 738 | properties: |
| 739 | - build-discarder: |
| 740 | days-to-keep: 2 |
| 741 | |
| 742 | parameters: |
| 743 | - string: |
| 744 | name: 'mversion' |
| 745 | default: 'master' |
| 746 | description: 'The lttng-modules branch to build.' |
| 747 | - string: |
| 748 | name: 'mgitrepo' |
| 749 | default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git' |
| 750 | description: 'The lttng-modules git repository url.' |
| 751 | - string: |
| 752 | name: 'ktag' |
| 753 | default: '' |
| 754 | description: 'The linux kernel git tag to build against.' |
| 755 | - string: |
| 756 | name: 'kgitrepo' |
| 757 | default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' |
| 758 | description: 'The linux kernel git repository url.' |
| 759 | |
| 760 | concurrent: true |
| 761 | |
| 762 | scm: [] |
| 763 | |
| 764 | triggers: [] |
| 765 | |
| 766 | builders: |
| 767 | - shell: |
| 768 | !include-raw-escape: scripts/lttng-modules/param-build.sh |
| 769 | |
| 770 | publishers: |
| 771 | - workspace-cleanup |
| 772 | |
| 773 | - job-template: |
| 774 | name: lttng-modules_{mversion}_coverity |
| 775 | defaults: lttng-modules |
| 776 | node: 'deb12-amd64' |
| 777 | |
| 778 | triggers: |
| 779 | - pollscm: |
| 780 | cron: "@daily" |
| 781 | |
| 782 | wrappers: |
| 783 | - workspace-cleanup |
| 784 | - timestamps |
| 785 | - ansicolor: |
| 786 | colormap: xterm |
| 787 | - credentials-binding: |
| 788 | - username-password-separated: |
| 789 | credential-id: lttng-modules_coverity_token |
| 790 | username: COVERITY_SCAN_PROJECT_NAME |
| 791 | password: COVERITY_SCAN_TOKEN |
| 792 | |
| 793 | builders: |
| 794 | - shell: | |
| 795 | git clone --depth=1 -b v6.1 --reference-if-able $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux |
| 796 | cd src/linux |
| 797 | make allyesconfig |
| 798 | sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config |
| 799 | make modules_prepare |
| 800 | - shell: |
| 801 | !include-raw-escape: scripts/common/coverity.sh |
| 802 | |
| 803 | publishers: |
| 804 | - archive: |
| 805 | artifacts: 'analysis-results.tgz,cov-int/**' |
| 806 | allow-empty: false |
| 807 | - ircbot: *lttng-modules_publisher_ircbot_defaults |
| 808 | - workspace-cleanup |
| 809 | |
| 810 | |
| 811 | ## Project |
| 812 | - project: |
| 813 | name: lttng-modules |
| 814 | github_user: lttng |
| 815 | github_name: lttng-modules |
| 816 | email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' |
| 817 | mversion: |
| 818 | - stable-2.12 |
| 819 | - stable-2.13 |
| 820 | - master |
| 821 | jobs: |
| 822 | |
| 823 | # Vanilla normal builds |
| 824 | - 'lttng-modules_{mversion}_{buildtype}-vanilla': |
| 825 | mversion: |
| 826 | - master |
| 827 | buildtype: build |
| 828 | parambuildtype: build |
| 829 | kverfloor: v4.4 |
| 830 | kverceil: '' |
| 831 | kverfilter: stable-head |
| 832 | - 'lttng-modules_{mversion}_fullbuild-vanilla': |
| 833 | mversion: |
| 834 | - master |
| 835 | buildtype: build |
| 836 | parambuildtype: build |
| 837 | kverfloor: v4.4 |
| 838 | kverceil: '' |
| 839 | kverfilter: none |
| 840 | |
| 841 | - 'lttng-modules_{mversion}_{buildtype}-vanilla': |
| 842 | mversion: |
| 843 | - stable-2.13 |
| 844 | buildtype: build |
| 845 | parambuildtype: build |
| 846 | kverfloor: v3.0 |
| 847 | kverceil: '' |
| 848 | kverfilter: stable-head |
| 849 | - 'lttng-modules_{mversion}_fullbuild-vanilla': |
| 850 | mversion: |
| 851 | - stable-2.13 |
| 852 | buildtype: build |
| 853 | parambuildtype: build |
| 854 | kverfloor: v3.0 |
| 855 | kverceil: '' |
| 856 | kverfilter: none |
| 857 | |
| 858 | - 'lttng-modules_{mversion}_{buildtype}-vanilla': |
| 859 | mversion: |
| 860 | - stable-2.12 |
| 861 | buildtype: build |
| 862 | parambuildtype: build |
| 863 | kverfloor: v3.0 |
| 864 | kverceil: v5.18-rc1 |
| 865 | kverfilter: stable-head |
| 866 | - 'lttng-modules_{mversion}_fullbuild-vanilla': |
| 867 | mversion: |
| 868 | - stable-2.12 |
| 869 | buildtype: build |
| 870 | parambuildtype: build |
| 871 | kverfloor: v3.0 |
| 872 | kverceil: v5.18-rc1 |
| 873 | kverfilter: none |
| 874 | |
| 875 | # RT normal builds |
| 876 | - 'lttng-modules_{mversion}_build-rt': |
| 877 | mversion: master |
| 878 | kverfloor: v4.4.0-rt1-rebase |
| 879 | kverceil: '' |
| 880 | kverfilter: stable-head |
| 881 | |
| 882 | # SLES normal builders |
| 883 | - 'lttng-modules_{mversion}_{buildtype}-{slesversion}': |
| 884 | mversion: |
| 885 | - master |
| 886 | - stable-2.13 |
| 887 | - stable-2.12 |
| 888 | slesversion: |
| 889 | - sles15sp4 |
| 890 | buildtype: build |
| 891 | parambuildtype: build |
| 892 | kverfloor: '' |
| 893 | kverceil: '' |
| 894 | kverfilter: stable-head |
| 895 | |
| 896 | # Ubuntu normal builds |
| 897 | - 'lttng-modules_{mversion}_{buildtype}-{uversion}': |
| 898 | mversion: |
| 899 | - master |
| 900 | - stable-2.13 |
| 901 | uversion: |
| 902 | - focal |
| 903 | - jammy |
| 904 | - noble |
| 905 | buildtype: build |
| 906 | parambuildtype: build |
| 907 | kverfloor: '' |
| 908 | kverceil: '' |
| 909 | kverfilter: stable-head |
| 910 | |
| 911 | - 'lttng-modules_{mversion}_{buildtype}-{uversion}': |
| 912 | mversion: |
| 913 | - stable-2.12 |
| 914 | uversion: |
| 915 | - focal |
| 916 | - jammy |
| 917 | buildtype: build |
| 918 | parambuildtype: build |
| 919 | kverfloor: '' |
| 920 | kverceil: Ubuntu-hwe-5.18.0-0.0 |
| 921 | kverfilter: stable-head |
| 922 | |
| 923 | # Vanilla crossbuilds |
| 924 | - 'lttng-modules_{mversion}_{buildtype}-vanilla': |
| 925 | mversion: |
| 926 | - master |
| 927 | buildtype: crossbuild |
| 928 | parambuildtype: crossbuild |
| 929 | kverfloor: v4.4 |
| 930 | kverceil: '' |
| 931 | kverfilter: stable-head |
| 932 | |
| 933 | - 'lttng-modules_{mversion}_{buildtype}-vanilla': |
| 934 | mversion: |
| 935 | - stable-2.13 |
| 936 | buildtype: crossbuild |
| 937 | parambuildtype: crossbuild |
| 938 | kverfloor: v3.18 |
| 939 | kverceil: '' |
| 940 | kverfilter: stable-head |
| 941 | |
| 942 | - 'lttng-modules_{mversion}_{buildtype}-vanilla': |
| 943 | mversion: |
| 944 | - stable-2.12 |
| 945 | buildtype: crossbuild |
| 946 | parambuildtype: crossbuild |
| 947 | kverfloor: v3.18 |
| 948 | kverceil: v5.18-rc1 |
| 949 | kverfilter: stable-head |
| 950 | |
| 951 | # Ubuntu cross builds |
| 952 | - 'lttng-modules_{mversion}_{buildtype}-{uversion}': |
| 953 | mversion: |
| 954 | - master |
| 955 | - stable-2.13 |
| 956 | uversion: |
| 957 | - focal |
| 958 | - jammy |
| 959 | - noble |
| 960 | buildtype: crossbuild |
| 961 | parambuildtype: crossbuild |
| 962 | kverfloor: '' |
| 963 | kverceil: '' |
| 964 | kverfilter: stable-head |
| 965 | |
| 966 | - 'lttng-modules_{mversion}_{buildtype}-{uversion}': |
| 967 | mversion: |
| 968 | - stable-2.12 |
| 969 | uversion: |
| 970 | - focal |
| 971 | - jammy |
| 972 | buildtype: crossbuild |
| 973 | parambuildtype: crossbuild |
| 974 | kverfloor: '' |
| 975 | kverceil: Ubuntu-hwe-5.18.0-0.0 |
| 976 | kverfilter: stable-head |
| 977 | |
| 978 | # Parametrized kernel and modules build jobs |
| 979 | - 'lttng-modules_PARAM_build': |
| 980 | platforms: !!python/tuple [deb12-amd64] |
| 981 | - 'lttng-modules_PARAM_crossbuild': |
| 982 | platforms: !!python/tuple [deb12-amd64] |
| 983 | cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, riscv64] |
| 984 | |
| 985 | # Misc jobs |
| 986 | - 'lttng-modules_ALL_trigger-vanilla' |
| 987 | - 'lttng-modules_{mversion}_coverity': |
| 988 | mversion: master |
| 989 | |
| 990 | - project: |
| 991 | name: lttng-modules-review |
| 992 | jobs: |
| 993 | - 'dev_review_lttng-modules_{mversion}_build': |
| 994 | mversion: master |
| 995 | kverfloor: v4.4 |
| 996 | kverceil: '' |
| 997 | kverfilter: lts-head |
| 998 | - 'dev_review_lttng-modules_{mversion}_build': |
| 999 | mversion: stable-2.13 |
| 1000 | kverfloor: v3.0 |
| 1001 | kverceil: '' |
| 1002 | kverfilter: lts-head |
| 1003 | - 'dev_review_lttng-modules_{mversion}_build': |
| 1004 | mversion: stable-2.12 |
| 1005 | kverfloor: v3.0 |
| 1006 | kverceil: v5.18 |
| 1007 | kverfilter: lts-head |
| 1008 | - 'dev_review_lttng-modules_{mversion}_build-{slesversion}': |
| 1009 | mversion: |
| 1010 | - master |
| 1011 | - stable-2.13 |
| 1012 | - stable-2.12 |
| 1013 | slesversion: |
| 1014 | - sles15sp4 |
| 1015 | buildtype: build |
| 1016 | parambuildtype: build |
| 1017 | kverfloor: '' |
| 1018 | kverceil: '' |
| 1019 | kverfilter: stable-head |
| 1020 | |
| 1021 | - project: |
| 1022 | name: lttng-modules-dev-mjeanson |
| 1023 | github_user: mjeanson |
| 1024 | github_name: lttng-modules |
| 1025 | email_to: '' |
| 1026 | jobs: |
| 1027 | - 'dev_mjeanson_lttng-modules_PARAM_build': |
| 1028 | platforms: !!python/tuple [deb12-amd64] |
| 1029 | - 'dev_mjeanson_lttng-modules_PARAM_crossbuild': |
| 1030 | platforms: !!python/tuple [deb12-amd64] |
| 1031 | cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] |
| 1032 | - 'dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla': |
| 1033 | mversion: |
| 1034 | - master |
| 1035 | buildtype: build |
| 1036 | parambuildtype: build |
| 1037 | kverfloor: v3.0 |
| 1038 | kverceil: '' |
| 1039 | kverfilter: stable-head |
| 1040 | - 'dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla': |
| 1041 | mversion: |
| 1042 | - master |
| 1043 | buildtype: crossbuild |
| 1044 | parambuildtype: crossbuild |
| 1045 | kverfloor: v4.4 |
| 1046 | kverceil: '' |
| 1047 | kverfilter: lts-head |