From baa97175abd25eb566d7273bc188a6459639abf3 Mon Sep 17 00:00:00 2001 From: Drew Blessing Date: Fri, 11 Dec 2015 11:09:34 -0600 Subject: Clarify cache behavior --- doc/ci/yaml/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/ci') 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.** -- cgit v1.2.1