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