| 1 | - defaults: |
| 2 | name: lttng-scope |
| 3 | description: | |
| 4 | Nightly build of LTTng Scope. |
| 5 | |
| 6 | <p>Job is managed by Jenkins Job Builder.</p> |
| 7 | |
| 8 | project-type: freestyle |
| 9 | |
| 10 | wrappers: |
| 11 | - workspace-cleanup |
| 12 | - timestamps |
| 13 | - ansicolor |
| 14 | |
| 15 | scm: |
| 16 | - git: |
| 17 | url: https://github.com/{github_user}/{github_project}.git |
| 18 | browser: githubweb |
| 19 | browser-url: https://github.com/{github_user}/{github_project} |
| 20 | branches: |
| 21 | - origin/{version} |
| 22 | skip-tag: true |
| 23 | |
| 24 | triggers: |
| 25 | - pollscm: |
| 26 | cron: "@hourly" |
| 27 | - timed: "@daily" |
| 28 | |
| 29 | properties: |
| 30 | - build-discarder: |
| 31 | num-to-keep: 7 |
| 32 | |
| 33 | |
| 34 | ## Templates |
| 35 | - job-template: |
| 36 | name: lttng-scope_{version}_build |
| 37 | defaults: lttng-scope |
| 38 | |
| 39 | project-type: matrix |
| 40 | node: 'master' # Applies only to matrix flyweight task |
| 41 | axes: |
| 42 | - axis: |
| 43 | type: slave |
| 44 | name: arch |
| 45 | values: '{obj:arch}' |
| 46 | |
| 47 | wrappers: |
| 48 | - workspace-cleanup |
| 49 | - timestamps |
| 50 | - ansicolor |
| 51 | - xvfb: |
| 52 | installation-name: "default" |
| 53 | auto-display-name: true |
| 54 | parallel-build: false |
| 55 | screen: 1024x768x24 |
| 56 | - timeout: |
| 57 | timeout: 120 |
| 58 | fail: true |
| 59 | type: absolute |
| 60 | |
| 61 | builders: |
| 62 | - shell: |
| 63 | !include-raw-escape: scripts/lttng-scope/launch-wm.sh |
| 64 | - maven-target: |
| 65 | maven-version: "default" |
| 66 | goals: "-version" |
| 67 | private-repository: true |
| 68 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 69 | - maven-target: |
| 70 | maven-version: "default" |
| 71 | goals: clean install -Dmaven.test.skip=false |
| 72 | private-repository: true |
| 73 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 74 | |
| 75 | publishers: |
| 76 | - archive: |
| 77 | artifacts: '**/target/*.jar' |
| 78 | allow-empty: false |
| 79 | only-if-success: true |
| 80 | - junit: |
| 81 | results: '**/target/surefire-reports/*.xml' |
| 82 | - warnings: |
| 83 | console-log-parsers: |
| 84 | - 'Maven' |
| 85 | total-thresholds: |
| 86 | unstable: |
| 87 | total-all: 0 |
| 88 | total-high: 0 |
| 89 | total-normal: 0 |
| 90 | total-low: 0 |
| 91 | messages-to-ignore: |- |
| 92 | No sources found skipping Kotlin compile |
| 93 | Ignoring project type pom - supportedProjectTypes = \[jar, bundle\] |
| 94 | ^Tests run:.* |
| 95 | .*Source root doesn't exist.* |
| 96 | Could not transfer metadata.*codehaus-snapshots.* |
| 97 | - workspace-cleanup |
| 98 | - email-ext: |
| 99 | recipients: '{obj:email_for_all_failure}' |
| 100 | always: false |
| 101 | unstable: true |
| 102 | first-failure: false |
| 103 | first-unstable: false |
| 104 | not-built: false |
| 105 | aborted: false |
| 106 | regression: false |
| 107 | failure: true |
| 108 | second-failure: false |
| 109 | improvement: false |
| 110 | still-failing: false |
| 111 | success: false |
| 112 | fixed: false |
| 113 | fixed-unhealthy: true |
| 114 | still-unstable: false |
| 115 | pre-build: false |
| 116 | matrix-trigger: only-parent |
| 117 | send-to: |
| 118 | - recipients |
| 119 | - email-ext: |
| 120 | recipients: '{obj:email_to}' |
| 121 | reply-to: ci-notification@lists.lttng.org |
| 122 | always: false |
| 123 | unstable: false |
| 124 | first-failure: true |
| 125 | first-unstable: true |
| 126 | not-built: false |
| 127 | aborted: false |
| 128 | regression: false |
| 129 | failure: false |
| 130 | second-failure: false |
| 131 | improvement: false |
| 132 | still-failing: false |
| 133 | success: false |
| 134 | fixed: false |
| 135 | fixed-unhealthy: true |
| 136 | still-unstable: false |
| 137 | pre-build: false |
| 138 | matrix-trigger: only-parent |
| 139 | send-to: |
| 140 | - recipients |
| 141 | |
| 142 | - job-template: |
| 143 | name: lttng-scope_{version}_winbuild |
| 144 | defaults: lttng-scope |
| 145 | |
| 146 | project-type: matrix |
| 147 | node: 'master' # Applies only to matrix flyweight task |
| 148 | axes: |
| 149 | - axis: |
| 150 | type: slave |
| 151 | name: arch |
| 152 | values: '{obj:arch}' |
| 153 | |
| 154 | scm: |
| 155 | - git: |
| 156 | url: https://github.com/{github_user}/{github_project}.git |
| 157 | browser: githubweb |
| 158 | browser-url: https://github.com/{github_user}/{github_project} |
| 159 | branches: |
| 160 | - origin/{version} |
| 161 | skip-tag: true |
| 162 | git-tool: 'jgit' # Use jgit on windows to work around path too long |
| 163 | |
| 164 | wrappers: |
| 165 | - workspace-cleanup |
| 166 | - timestamps |
| 167 | - ansicolor |
| 168 | - timeout: |
| 169 | timeout: 120 |
| 170 | fail: true |
| 171 | type: absolute |
| 172 | |
| 173 | builders: |
| 174 | - maven-target: |
| 175 | maven-version: "default" |
| 176 | goals: clean install -Dmaven.test.skip=false |
| 177 | private-repository: true |
| 178 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 179 | |
| 180 | publishers: |
| 181 | - archive: |
| 182 | artifacts: '**/target/*.jar' |
| 183 | allow-empty: false |
| 184 | only-if-success: true |
| 185 | - junit: |
| 186 | results: '**/target/surefire-reports/*.xml' |
| 187 | - warnings: |
| 188 | console-log-parsers: |
| 189 | - 'Maven' |
| 190 | total-thresholds: |
| 191 | unstable: |
| 192 | total-all: 0 |
| 193 | total-high: 0 |
| 194 | total-normal: 0 |
| 195 | total-low: 0 |
| 196 | messages-to-ignore: |- |
| 197 | No sources found skipping Kotlin compile |
| 198 | Ignoring project type pom - supportedProjectTypes = \[jar, bundle\] |
| 199 | ^Tests run:.* |
| 200 | .*Source root doesn't exist.* |
| 201 | Could not transfer metadata.*codehaus-snapshots.* |
| 202 | - workspace-cleanup |
| 203 | - email-ext: |
| 204 | recipients: '{obj:email_for_all_failure}' |
| 205 | always: false |
| 206 | unstable: true |
| 207 | first-failure: false |
| 208 | first-unstable: false |
| 209 | not-built: false |
| 210 | aborted: false |
| 211 | regression: false |
| 212 | failure: true |
| 213 | second-failure: false |
| 214 | improvement: false |
| 215 | still-failing: false |
| 216 | success: false |
| 217 | fixed: false |
| 218 | fixed-unhealthy: true |
| 219 | still-unstable: false |
| 220 | pre-build: false |
| 221 | matrix-trigger: only-parent |
| 222 | send-to: |
| 223 | - recipients |
| 224 | - email-ext: |
| 225 | recipients: '{obj:email_to}' |
| 226 | reply-to: ci-notification@lists.lttng.org |
| 227 | always: false |
| 228 | unstable: false |
| 229 | first-failure: true |
| 230 | first-unstable: true |
| 231 | not-built: false |
| 232 | aborted: false |
| 233 | regression: false |
| 234 | failure: false |
| 235 | second-failure: false |
| 236 | improvement: false |
| 237 | still-failing: false |
| 238 | success: false |
| 239 | fixed: false |
| 240 | fixed-unhealthy: true |
| 241 | still-unstable: false |
| 242 | pre-build: false |
| 243 | matrix-trigger: only-parent |
| 244 | send-to: |
| 245 | - recipients |
| 246 | |
| 247 | |
| 248 | |
| 249 | - job-template: |
| 250 | name: lttng-scope_{version}_macosxbuild |
| 251 | defaults: lttng-scope |
| 252 | |
| 253 | project-type: matrix |
| 254 | node: 'master' # Applies only to matrix flyweight task |
| 255 | axes: |
| 256 | - axis: |
| 257 | type: slave |
| 258 | name: arch |
| 259 | values: '{obj:arch}' |
| 260 | |
| 261 | wrappers: |
| 262 | - workspace-cleanup |
| 263 | - timestamps |
| 264 | - ansicolor |
| 265 | - timeout: |
| 266 | timeout: 120 |
| 267 | fail: true |
| 268 | type: absolute |
| 269 | |
| 270 | builders: |
| 271 | - maven-target: |
| 272 | maven-version: "default" |
| 273 | goals: "-version" |
| 274 | private-repository: true |
| 275 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 276 | - maven-target: |
| 277 | maven-version: "default" |
| 278 | goals: clean install -Dmaven.test.skip=false |
| 279 | private-repository: true |
| 280 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 281 | |
| 282 | publishers: |
| 283 | - archive: |
| 284 | artifacts: '**/target/*.jar' |
| 285 | allow-empty: false |
| 286 | only-if-success: true |
| 287 | - junit: |
| 288 | results: '**/target/surefire-reports/*.xml' |
| 289 | - warnings: |
| 290 | console-log-parsers: |
| 291 | - 'Maven' |
| 292 | total-thresholds: |
| 293 | unstable: |
| 294 | total-all: 0 |
| 295 | total-high: 0 |
| 296 | total-normal: 0 |
| 297 | total-low: 0 |
| 298 | messages-to-ignore: |- |
| 299 | No sources found skipping Kotlin compile |
| 300 | Ignoring project type pom - supportedProjectTypes = \[jar, bundle\] |
| 301 | ^Tests run:.* |
| 302 | .*Source root doesn't exist.* |
| 303 | Could not transfer metadata.*codehaus-snapshots.* |
| 304 | - workspace-cleanup |
| 305 | - email-ext: |
| 306 | recipients: '{obj:email_for_all_failure}' |
| 307 | always: false |
| 308 | unstable: true |
| 309 | first-failure: false |
| 310 | first-unstable: false |
| 311 | not-built: false |
| 312 | aborted: false |
| 313 | regression: false |
| 314 | failure: true |
| 315 | second-failure: false |
| 316 | improvement: false |
| 317 | still-failing: false |
| 318 | success: false |
| 319 | fixed: false |
| 320 | fixed-unhealthy: true |
| 321 | still-unstable: false |
| 322 | pre-build: false |
| 323 | matrix-trigger: only-parent |
| 324 | send-to: |
| 325 | - recipients |
| 326 | - email-ext: |
| 327 | recipients: '{obj:email_to}' |
| 328 | reply-to: ci-notification@lists.lttng.org |
| 329 | always: false |
| 330 | unstable: false |
| 331 | first-failure: true |
| 332 | first-unstable: true |
| 333 | not-built: false |
| 334 | aborted: false |
| 335 | regression: false |
| 336 | failure: false |
| 337 | second-failure: false |
| 338 | improvement: false |
| 339 | still-failing: false |
| 340 | success: false |
| 341 | fixed: false |
| 342 | fixed-unhealthy: true |
| 343 | still-unstable: false |
| 344 | pre-build: false |
| 345 | matrix-trigger: only-parent |
| 346 | send-to: |
| 347 | - recipients |
| 348 | |
| 349 | - job-template: |
| 350 | name: lttng-scope_{version}_coverity |
| 351 | defaults: lttng-scope |
| 352 | node: 'x86-64' |
| 353 | |
| 354 | triggers: |
| 355 | - pollscm: |
| 356 | cron: "@daily" |
| 357 | |
| 358 | wrappers: |
| 359 | - workspace-cleanup |
| 360 | - timestamps |
| 361 | - ansicolor: |
| 362 | colormap: xterm |
| 363 | - credentials-binding: |
| 364 | - username-password-separated: |
| 365 | credential-id: lttng-scope_coverity_token |
| 366 | username: COVERITY_SCAN_PROJECT_NAME |
| 367 | password: COVERITY_SCAN_TOKEN |
| 368 | |
| 369 | scm: |
| 370 | - git: |
| 371 | url: https://github.com/{github_user}/{github_project}.git |
| 372 | browser: githubweb |
| 373 | browser-url: https://github.com/{github_user}/{github_project} |
| 374 | branches: |
| 375 | - origin/{version} |
| 376 | skip-tag: true |
| 377 | basedir: src/lttng-scope |
| 378 | |
| 379 | builders: |
| 380 | - maven-target: |
| 381 | maven-version: "default" |
| 382 | goals: "-version" |
| 383 | private-repository: true |
| 384 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 385 | - shell: |
| 386 | !include-raw-escape: scripts/common/coverity.sh |
| 387 | |
| 388 | publishers: |
| 389 | - workspace-cleanup |
| 390 | - archive: |
| 391 | artifacts: 'analysis-results.tgz,cov-int/**' |
| 392 | allow-empty: false |
| 393 | |
| 394 | |
| 395 | ## Project |
| 396 | - project: |
| 397 | name: lttng-scope |
| 398 | github_user: lttng |
| 399 | github_project: lttng-scope |
| 400 | email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com' |
| 401 | email_for_all_failure: 'pproulx@efficios.com' |
| 402 | version: |
| 403 | - master |
| 404 | jobs: |
| 405 | - 'lttng-scope_{version}_build': |
| 406 | arch: !!python/tuple [x86-32, x86-64] |
| 407 | - 'lttng-scope_{version}_winbuild': |
| 408 | arch: !!python/tuple [win64] |
| 409 | - 'lttng-scope_{version}_macosxbuild': |
| 410 | arch: !!python/tuple [macosx] |
| 411 | - 'lttng-scope_{version}_coverity': |
| 412 | version: master |
| 413 | |