summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@hp.com>2014-08-06 09:37:52 -0700
committerJames E. Blair <jeblair@hp.com>2014-08-06 10:21:41 -0700
commitc0dedf8b3ff39ab90ce5c44acc03ed027851e584 (patch)
tree2bf5f2d05183372dd7dc8ec9c24eb6bfbc02b707 /doc
parent8c5297ac15a2e10ed9e354dd03c0076b39d77b2c (diff)
downloadzuul-c0dedf8b3ff39ab90ce5c44acc03ed027851e584.tar.gz
Add pipeline source
A TriggerEvent may originate from a trigger that does not represent the canonical location of the project source. For instance, the timer trigger strangely depends on the gerrit trigger to actually handle Git operations behind the scenes. Instead, make an explicit association between pipelines and their source triggers so that their event trigger does not need to have that implicit association. This is a step toward having pipelines support multiple triggers (they already support multiple reporters). Change-Id: Ie80ffde411fe40fddfc4496b7adb0004f660c48c
Diffstat (limited to 'doc')
-rw-r--r--doc/source/zuul.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/source/zuul.rst b/doc/source/zuul.rst
index cb49c82b4..1b9ce641f 100644
--- a/doc/source/zuul.rst
+++ b/doc/source/zuul.rst
@@ -278,6 +278,7 @@ explanation of each of the parameters::
- name: check
manager: IndependentPipelineManager
+ source: gerrit
trigger:
gerrit:
- event: patchset-created
@@ -294,6 +295,11 @@ explanation of each of the parameters::
This is an optional field that may be used to provide a textual
description of the pipeline.
+**source**
+ A required field that specifies a trigger that provides access to
+ the change objects that this pipeline operates on. Currently only
+ the value ``gerrit`` is supported.
+
**success-message**
An optional field that supplies the introductory text in message
reported back to Gerrit when all the voting builds are successful.