Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/ci/yaml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-11-09 14:18:00 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-11-10 14:51:50 +0300
commit97f58bae87dfcfb36d5a7a490b1c0983435a19f4 (patch)
tree6c4c8d2c35280c45d19f1e7f6d6bd769e05d5f41 /doc/ci/yaml
parentd0e3e823a2dd56260550aec648b0cbfae64543ae (diff)
Change artifacts syntax to allow uploading untracked files
Diffstat (limited to 'doc/ci/yaml')
-rw-r--r--doc/ci/yaml/README.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index d8504aca86a..11065fee012 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -262,13 +262,28 @@ The above script will:
### artifacts
`artifacts` is used to specify list of files and directories which should be attached to build after success.
+1. Send all files in `binaries` and `.config`:
```
artifacts:
-- binaries/
-- .config
+ paths:
+ - binaries/
+ - .config
+```
+
+2. Send all git untracked files:
+```
+artifacts:
+ untracked: true
+```
+
+3. Send all git untracked files and files in `binaries`:
+```
+artifacts:
+ untracked: true
+ paths:
+ - binaries/
```
-The above definition will archive all files in `binaries/` and `.config`.
The artifacts will be send after the build success to GitLab and will be accessible in GitLab interface to download.
This feature requires GitLab Runner v 0.7.0.