diff options
author | Black-Hole <158blackhole@gmail.com> | 2019-07-08 05:50:31 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-08 05:50:31 +0000 |
commit | 8fe119f4ec422c03fbf03acca0912cebcf5cc9b5 (patch) | |
tree | ad93d2044fcf47a0dddb8cb6e2fbb04cb272db0f /doc/ci | |
parent | 5e9ec7c65f2b47b7bef6839ac0ba57fb2f2ca6c7 (diff) | |
download | gitlab-ce-8fe119f4ec422c03fbf03acca0912cebcf5cc9b5.tar.gz |
Description of the optimized path wildcard
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/yaml/README.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 3e564e4244c..de04a816e8b 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1057,7 +1057,7 @@ globally and all jobs will use that definition. #### `cache:paths` Use the `paths` directive to choose which files or directories will be cached. -Wildcards can be used as well. +Wildcards can be used that follow the [glob](https://en.wikipedia.org/wiki/Glob_(programming)) patterns and [filepath.Match](https://golang.org/pkg/path/filepath/#Match). Cache all files in `binaries` that end in `.apk` and the `.config` file: @@ -1219,8 +1219,10 @@ be available for download in the GitLab UI. #### `artifacts:paths` -You can only use paths that are within the project workspace. To pass artifacts -between different jobs, see [dependencies](#dependencies). +You can only use paths that are within the project workspace. +Wildcards can be used that follow the [glob](https://en.wikipedia.org/wiki/Glob_(programming)) patterns and [filepath.Match](https://golang.org/pkg/path/filepath/#Match). + +To pass artifacts between different jobs, see [dependencies](#dependencies). Send all files in `binaries` and `.config`: |