89e829d3f5
If a CI system breaks, rather than reporting lots of failure messages back to gerrit (or a reporter) instead disable the pipeline. This is done by setting a disable after consecutive failures so that if X failures happens in a row the pipeline is considered disabled until zuul is reloaded. Change-Id: Ia75f1909133627bfefb750c35188dc6d002e3bd1
22 lines
385 B
YAML
22 lines
385 B
YAML
pipelines:
|
|
- name: check
|
|
manager: IndependentPipelineManager
|
|
trigger:
|
|
gerrit:
|
|
- event: patchset-created
|
|
success:
|
|
gerrit:
|
|
verified: 1
|
|
failure:
|
|
gerrit:
|
|
verified: -1
|
|
disabled:
|
|
smtp:
|
|
to: you@example.com
|
|
disable-after-consecutive-failures: 3
|
|
|
|
projects:
|
|
- name: org/project
|
|
check:
|
|
- project-test1
|