summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-06-07 20:01:18 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-06-07 20:01:18 +0000
commitc17c7c29d7e562b1661397ac4c1af4044c3ac7cb (patch)
tree4b0d79e5c518a09e995dde641917ce3a66d1dd02 /doc
parentfc1090d9f39231e31f929e37b9703db9738b457c (diff)
parentecd9c30930f4391b5cdfa631b8920d660c750058 (diff)
downloadgitlab-ce-c17c7c29d7e562b1661397ac4c1af4044c3ac7cb.tar.gz
Merge branch 'krakowski_master2' into 'master'
Add all pipeline sources as special keywords to 'only' and 'except' Closes #32955 See merge request !11972
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/yaml/README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index fc813694ff2..8a0662db6fd 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -393,7 +393,8 @@ There are a few rules that apply to the usage of refs policy:
* `only` and `except` are inclusive. If both `only` and `except` are defined
in a job specification, the ref is filtered by `only` and `except`.
* `only` and `except` allow the use of regular expressions.
-* `only` and `except` allow the use of special keywords: `branches`, `tags`, and `triggers`.
+* `only` and `except` allow the use of special keywords:
+`api`, `branches`, `external`, `tags`, `pushes`, `schedules`, `triggers`, and `web`
* `only` and `except` allow to specify a repository path to filter jobs for
forks.
@@ -411,7 +412,7 @@ job:
```
In this example, `job` will run only for refs that are tagged, or if a build is
-explicitly requested via an API trigger.
+explicitly requested via an API trigger or a [Pipeline Schedule](../../user/project/pipelines/schedules.md).
```yaml
job:
@@ -419,6 +420,7 @@ job:
only:
- tags
- triggers
+ - schedules
```
The repository path can be used to have jobs executed only for the parent