summaryrefslogtreecommitdiff
path: root/doc/ci
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2015-12-11 11:09:34 -0600
committerDrew Blessing <drew@gitlab.com>2015-12-11 11:09:34 -0600
commitbaa97175abd25eb566d7273bc188a6459639abf3 (patch)
tree71b29ea67b58a29e425195062a6683abdae7ad3c /doc/ci
parenta2a68858c88151ce0d77f602dbae59d595495ac6 (diff)
downloadgitlab-ce-baa97175abd25eb566d7273bc188a6459639abf3.tar.gz
Clarify cache behavior
Diffstat (limited to 'doc/ci')
-rw-r--r--doc/ci/yaml/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index 3dbf1afc7a9..7e2edb945da 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -113,6 +113,9 @@ The YAML-defined variables are also set to all created service containers, thus
### cache
`cache` is used to specify list of files and directories which should be cached between builds.
+Caches are stored according to the branch/ref and the job name. Caches are not
+currently shared between different job names or between branches/refs. This means
+caching will benefit you if you push subsequent commits to an existing feature branch.
**The global setting allows to specify default cached files for all jobs.**