Clint Byrum | 627ba36 | 2017-08-14 13:20:40 -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 | trigger: |
| 27 | gerrit: |
| 28 | - event: comment-added |
| 29 | approval: |
| 30 | - Approved: 1 |
| 31 | success: |
| 32 | gerrit: |
| 33 | Verified: 2 |
| 34 | submit: true |
| 35 | failure: |
| 36 | gerrit: |
| 37 | Verified: -2 |
| 38 | start: |
| 39 | gerrit: |
| 40 | Verified: 0 |
| 41 | precedence: high |
| 42 | |
| 43 | - job: |
| 44 | name: base |
| 45 | parent: null |
| 46 | |
| 47 | - job: |
| 48 | name: project-merge |
| 49 | |
| 50 | - job: |
| 51 | name: project-test1 |
| 52 | |
| 53 | - job: |
| 54 | name: project-test2 |
| 55 | |
| 56 | - job: |
| 57 | name: project-post |
| 58 | |
| 59 | - project: |
| 60 | name: org/new-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 |
| 75 | post: |
| 76 | jobs: |
| 77 | - project-post |