1879cf721c
Allows multiple reports per a patchset to be sent to pluggable destinations. These are configurable per pipeline and, if not specified, defaults to the legacy behaviour of reporting back only to gerrit. Having multiple reporting methods means only certain success/failure /start parameters will apply to certain reporters. Reporters are listed as keys under each of those actions. This means that each key under success/failure/start is a reporter and the dictionaries under those are sent to the reporter to deal with. Change-Id: I80d7539772e1485d5880132f22e55751b25ec198
67 lines
1.2 KiB
Plaintext
67 lines
1.2 KiB
Plaintext
pipelines:
|
|
- name: check
|
|
manager: IndependentPipelineManager
|
|
trigger:
|
|
gerrit:
|
|
- event: patchset-created
|
|
success:
|
|
gerrit:
|
|
verified: 1
|
|
failure:
|
|
gerrit:
|
|
verified: -1
|
|
|
|
- name: tests
|
|
manager: IndependentPipelineManager
|
|
trigger:
|
|
gerrit:
|
|
- event: patchset-created
|
|
email_filter: ^.*@example.org$
|
|
success:
|
|
gerrit:
|
|
verified: 1
|
|
failure:
|
|
gerrit:
|
|
verified: -1
|
|
|
|
- name: post
|
|
manager: IndependentPipelineManager
|
|
trigger:
|
|
gerrit:
|
|
- event: ref-updated
|
|
ref: ^(?!refs/).*$
|
|
|
|
- name: gate
|
|
manager: DependentPipelineManager
|
|
trigger:
|
|
gerrit:
|
|
- event: comment-added
|
|
approval:
|
|
- approved: 1
|
|
start:
|
|
gerrit:
|
|
verified: 0
|
|
success:
|
|
gerrit:
|
|
verified: 1
|
|
failure:
|
|
gerrit:
|
|
verified: -1
|
|
|
|
jobs:
|
|
- name: ^.*-merge$
|
|
failure-message: Unable to merge change, please rebase and try again.
|
|
|
|
projects:
|
|
- name: example/project
|
|
check:
|
|
- project-merge
|
|
tests:
|
|
- project-merge:
|
|
- project-test
|
|
gate:
|
|
- project-merge:
|
|
- project-test
|
|
post:
|
|
- project-publish
|