Commit 299387e3 authored by Evan Read's avatar Evan Read

Merge branch 'patch-71' into 'master'

Description of the optimized path wildcard

See merge request gitlab-org/gitlab-ce!30082
parents 5e9ec7c6 8fe119f4
...@@ -1057,7 +1057,7 @@ globally and all jobs will use that definition. ...@@ -1057,7 +1057,7 @@ globally and all jobs will use that definition.
#### `cache:paths` #### `cache:paths`
Use the `paths` directive to choose which files or directories will be cached. 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: 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. ...@@ -1219,8 +1219,10 @@ be available for download in the GitLab UI.
#### `artifacts:paths` #### `artifacts:paths`
You can only use paths that are within the project workspace. To pass artifacts You can only use paths that are within the project workspace.
between different jobs, see [dependencies](#dependencies). 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`: Send all files in `binaries` and `.config`:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment