| 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: git://github.com/{github_user}/{github_name}.git |
| 18 | browser: githubweb |
| 19 | browser-url: https://github.com/{github_user}/{github_name} |
| 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: 7 |
| 31 | - github: |
| 32 | url: https://github.com/{github_user}/{github_name} |
| 33 | |
| 34 | |
| 35 | ## Templates |
| 36 | - job-template: |
| 37 | name: lttng-scope_{version}_build |
| 38 | defaults: lttng-scope |
| 39 | |
| 40 | project-type: matrix |
| 41 | node: 'master' # Applies only to matrix flyweight task |
| 42 | axes: |
| 43 | - axis: |
| 44 | type: slave |
| 45 | name: arch |
| 46 | values: '{obj:arch}' |
| 47 | |
| 48 | wrappers: |
| 49 | - workspace-cleanup |
| 50 | - timestamps |
| 51 | - ansicolor |
| 52 | - xvfb: |
| 53 | installation-name: "default" |
| 54 | auto-display-name: true |
| 55 | parallel-build: false |
| 56 | screen: 1024x768x24 |
| 57 | - timeout: |
| 58 | timeout: 120 |
| 59 | fail: true |
| 60 | type: absolute |
| 61 | |
| 62 | builders: |
| 63 | - shell: |
| 64 | !include-raw-escape: scripts/lttng-scope/launch-wm.sh |
| 65 | - maven-target: |
| 66 | maven-version: "default" |
| 67 | goals: "-version" |
| 68 | private-repository: true |
| 69 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 70 | - maven-target: |
| 71 | maven-version: "default" |
| 72 | goals: clean install -Dmaven.test.skip=false |
| 73 | private-repository: true |
| 74 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 75 | properties: |
| 76 | - maven.test.failure.ignore=true |
| 77 | |
| 78 | publishers: |
| 79 | - archive: |
| 80 | artifacts: '**/target/*.jar' |
| 81 | allow-empty: false |
| 82 | only-if-success: true |
| 83 | - junit: |
| 84 | results: '**/target/surefire-reports/*.xml' |
| 85 | - warnings: |
| 86 | console-log-parsers: |
| 87 | - 'Maven' |
| 88 | total-thresholds: |
| 89 | unstable: |
| 90 | total-all: 0 |
| 91 | total-high: 0 |
| 92 | total-normal: 0 |
| 93 | total-low: 0 |
| 94 | - workspace-cleanup |
| 95 | - email-ext: |
| 96 | recipients: '{obj:email_for_all_failure}' |
| 97 | always: false |
| 98 | unstable: true |
| 99 | first-failure: false |
| 100 | first-unstable: false |
| 101 | not-built: false |
| 102 | aborted: false |
| 103 | regression: false |
| 104 | failure: true |
| 105 | second-failure: false |
| 106 | improvement: false |
| 107 | still-failing: false |
| 108 | success: false |
| 109 | fixed: false |
| 110 | fixed-unhealthy: true |
| 111 | still-unstable: false |
| 112 | pre-build: false |
| 113 | matrix-trigger: only-parent |
| 114 | send-to: |
| 115 | - recipients |
| 116 | - email-ext: |
| 117 | recipients: '{obj:email_to}' |
| 118 | reply-to: ci-notification@lists.lttng.org |
| 119 | always: false |
| 120 | unstable: false |
| 121 | first-failure: true |
| 122 | first-unstable: true |
| 123 | not-built: false |
| 124 | aborted: false |
| 125 | regression: false |
| 126 | failure: false |
| 127 | second-failure: false |
| 128 | improvement: false |
| 129 | still-failing: false |
| 130 | success: false |
| 131 | fixed: false |
| 132 | fixed-unhealthy: true |
| 133 | still-unstable: false |
| 134 | pre-build: false |
| 135 | matrix-trigger: only-parent |
| 136 | send-to: |
| 137 | - recipients |
| 138 | |
| 139 | - job-template: |
| 140 | name: lttng-scope_{version}_winbuild |
| 141 | defaults: lttng-scope |
| 142 | |
| 143 | project-type: matrix |
| 144 | node: 'master' # Applies only to matrix flyweight task |
| 145 | axes: |
| 146 | - axis: |
| 147 | type: slave |
| 148 | name: arch |
| 149 | values: '{obj:arch}' |
| 150 | |
| 151 | scm: |
| 152 | - git: |
| 153 | url: git://github.com/{github_user}/{github_name}.git |
| 154 | browser: githubweb |
| 155 | browser-url: https://github.com/{github_user}/{github_name} |
| 156 | branches: |
| 157 | - origin/{version} |
| 158 | skip-tag: true |
| 159 | git-tool: 'jgit' # Use jgit on windows to work around path too long |
| 160 | |
| 161 | wrappers: |
| 162 | - workspace-cleanup |
| 163 | - timestamps |
| 164 | - ansicolor |
| 165 | - timeout: |
| 166 | timeout: 120 |
| 167 | fail: true |
| 168 | type: absolute |
| 169 | |
| 170 | builders: |
| 171 | - maven-target: |
| 172 | maven-version: "default" |
| 173 | goals: clean install -Dmaven.test.skip=false |
| 174 | private-repository: true |
| 175 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 176 | properties: |
| 177 | - maven.test.failure.ignore=true |
| 178 | |
| 179 | publishers: |
| 180 | - archive: |
| 181 | artifacts: '**/target/*.jar' |
| 182 | allow-empty: false |
| 183 | only-if-success: true |
| 184 | - junit: |
| 185 | results: '**/target/surefire-reports/*.xml' |
| 186 | - warnings: |
| 187 | console-log-parsers: |
| 188 | - 'Maven' |
| 189 | total-thresholds: |
| 190 | unstable: |
| 191 | total-all: 0 |
| 192 | total-high: 0 |
| 193 | total-normal: 0 |
| 194 | total-low: 0 |
| 195 | - workspace-cleanup |
| 196 | - email-ext: |
| 197 | recipients: '{obj:email_for_all_failure}' |
| 198 | always: false |
| 199 | unstable: true |
| 200 | first-failure: false |
| 201 | first-unstable: false |
| 202 | not-built: false |
| 203 | aborted: false |
| 204 | regression: false |
| 205 | failure: true |
| 206 | second-failure: false |
| 207 | improvement: false |
| 208 | still-failing: false |
| 209 | success: false |
| 210 | fixed: false |
| 211 | fixed-unhealthy: true |
| 212 | still-unstable: false |
| 213 | pre-build: false |
| 214 | matrix-trigger: only-parent |
| 215 | send-to: |
| 216 | - recipients |
| 217 | - email-ext: |
| 218 | recipients: '{obj:email_to}' |
| 219 | reply-to: ci-notification@lists.lttng.org |
| 220 | always: false |
| 221 | unstable: false |
| 222 | first-failure: true |
| 223 | first-unstable: true |
| 224 | not-built: false |
| 225 | aborted: false |
| 226 | regression: false |
| 227 | failure: false |
| 228 | second-failure: false |
| 229 | improvement: false |
| 230 | still-failing: false |
| 231 | success: false |
| 232 | fixed: false |
| 233 | fixed-unhealthy: true |
| 234 | still-unstable: false |
| 235 | pre-build: false |
| 236 | matrix-trigger: only-parent |
| 237 | send-to: |
| 238 | - recipients |
| 239 | |
| 240 | |
| 241 | |
| 242 | - job-template: |
| 243 | name: lttng-scope_{version}_macosxbuild |
| 244 | defaults: lttng-scope |
| 245 | |
| 246 | project-type: matrix |
| 247 | node: 'master' # Applies only to matrix flyweight task |
| 248 | axes: |
| 249 | - axis: |
| 250 | type: slave |
| 251 | name: arch |
| 252 | values: '{obj:arch}' |
| 253 | |
| 254 | wrappers: |
| 255 | - workspace-cleanup |
| 256 | - timestamps |
| 257 | - ansicolor |
| 258 | - timeout: |
| 259 | timeout: 120 |
| 260 | fail: true |
| 261 | type: absolute |
| 262 | |
| 263 | builders: |
| 264 | - maven-target: |
| 265 | maven-version: "default" |
| 266 | goals: "-version" |
| 267 | private-repository: true |
| 268 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 269 | - maven-target: |
| 270 | maven-version: "default" |
| 271 | goals: clean install -Dmaven.test.skip=false |
| 272 | private-repository: true |
| 273 | settings: 'org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig277b7a2d-b7a6-4ae4-a32d-18c02514e9e4' |
| 274 | properties: |
| 275 | - maven.test.failure.ignore=true |
| 276 | |
| 277 | publishers: |
| 278 | - archive: |
| 279 | artifacts: '**/target/*.jar' |
| 280 | allow-empty: false |
| 281 | only-if-success: true |
| 282 | - junit: |
| 283 | results: '**/target/surefire-reports/*.xml' |
| 284 | - warnings: |
| 285 | console-log-parsers: |
| 286 | - 'Maven' |
| 287 | total-thresholds: |
| 288 | unstable: |
| 289 | total-all: 0 |
| 290 | total-high: 0 |
| 291 | total-normal: 0 |
| 292 | total-low: 0 |
| 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: 'x86-64' |
| 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: git://github.com/{github_user}/{github_name}.git |
| 361 | browser: githubweb |
| 362 | browser-url: https://github.com/{github_user}/{github_name} |
| 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_name: lttng-scope |
| 389 | email_to: 'ci-notification@lists.lttng.org, cc:alexmonthy@efficios.com' |
| 390 | email_for_all_failure: 'alexmonthy@efficios.com' |
| 391 | version: |
| 392 | - master |
| 393 | jobs: |
| 394 | - 'lttng-scope_{version}_build': |
| 395 | arch: !!python/tuple [x86-32, x86-64] |
| 396 | - 'lttng-scope_{version}_winbuild': |
| 397 | arch: !!python/tuple [win64] |
| 398 | - 'lttng-scope_{version}_macosxbuild': |
| 399 | arch: !!python/tuple [macosx] |
| 400 | - 'lttng-scope_{version}_coverity': |
| 401 | version: master |
| 402 | |