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