Clint Byrum | b9de8be | 2017-05-27 13:49:19 -0700 | [diff] [blame^] | 1 | - pipeline: |
| 2 | name: check |
| 3 | manager: independent |
| 4 | trigger: |
| 5 | gerrit: |
| 6 | - event: patchset-created |
| 7 | success: |
| 8 | gerrit: |
| 9 | verified: 1 |
| 10 | failure: |
| 11 | gerrit: |
| 12 | verified: -1 |
| 13 | |
| 14 | - pipeline: |
| 15 | name: post |
| 16 | manager: independent |
| 17 | trigger: |
| 18 | gerrit: |
| 19 | - event: ref-updated |
| 20 | ref: ^(?!refs/).*$ |
| 21 | |
| 22 | - pipeline: |
| 23 | name: gate |
| 24 | manager: dependent |
| 25 | failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures |
| 26 | merge-failure-message: "The merge failed! For more information..." |
| 27 | trigger: |
| 28 | gerrit: |
| 29 | - event: comment-added |
| 30 | approval: |
| 31 | - approved: 1 |
| 32 | success: |
| 33 | gerrit: |
| 34 | verified: 2 |
| 35 | submit: true |
| 36 | failure: |
| 37 | gerrit: |
| 38 | verified: -2 |
| 39 | merge-failure: |
| 40 | gerrit: |
| 41 | verified: -1 |
| 42 | smtp: |
| 43 | to: you@example.com |
| 44 | start: |
| 45 | gerrit: |
| 46 | verified: 0 |
| 47 | precedence: high |
| 48 | |
| 49 | - job: |
| 50 | name: project-merge |
| 51 | hold-following-changes: true |
| 52 | |
| 53 | - job: |
| 54 | name: project-test1 |
| 55 | |
| 56 | - job: |
| 57 | name: project-test2 |
| 58 | |
| 59 | - project: |
| 60 | name: org/project |
| 61 | check: |
| 62 | jobs: |
| 63 | - project-merge |
| 64 | - project-test1: |
| 65 | dependencies: project-merge |
| 66 | - project-test2: |
| 67 | dependencies: project-merge |
| 68 | gate: |
| 69 | jobs: |
| 70 | - project-merge |
| 71 | - project-test1: |
| 72 | dependencies: project-merge |
| 73 | - project-test2: |
| 74 | dependencies: project-merge |