Joshua Hesketh | b717977 | 2014-01-30 23:30:46 +1100 | [diff] [blame] | 1 | pipelines: |
| 2 | - name: check |
| 3 | manager: IndependentPipelineManager |
| 4 | merge-failure-message: "Could not merge the change. Please rebase..." |
| 5 | trigger: |
| 6 | gerrit: |
| 7 | - event: patchset-created |
| 8 | success: |
| 9 | gerrit: |
| 10 | verified: 1 |
| 11 | failure: |
| 12 | gerrit: |
| 13 | verified: -1 |
| 14 | |
| 15 | - name: post |
| 16 | manager: IndependentPipelineManager |
| 17 | trigger: |
| 18 | gerrit: |
| 19 | - event: ref-updated |
| 20 | ref: ^(?!refs/).*$ |
| 21 | merge-failure: |
| 22 | gerrit: |
| 23 | verified: -1 |
| 24 | |
| 25 | - name: gate |
| 26 | manager: DependentPipelineManager |
| 27 | failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures |
| 28 | trigger: |
| 29 | gerrit: |
| 30 | - event: comment-added |
| 31 | approval: |
| 32 | - approved: 1 |
| 33 | success: |
| 34 | gerrit: |
| 35 | verified: 2 |
| 36 | submit: true |
| 37 | failure: |
| 38 | gerrit: |
| 39 | verified: -2 |
| 40 | merge-failure: |
| 41 | gerrit: |
| 42 | verified: -1 |
| 43 | smtp: |
| 44 | to: you@example.com |
| 45 | start: |
| 46 | gerrit: |
| 47 | verified: 0 |
| 48 | precedence: high |
| 49 | |
| 50 | projects: |
| 51 | - name: org/project |
| 52 | check: |
| 53 | - project-check |