diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-09 12:18:00 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-11-10 12:51:50 +0100 |
commit | 97f58bae87dfcfb36d5a7a490b1c0983435a19f4 (patch) | |
tree | 6c4c8d2c35280c45d19f1e7f6d6bd769e05d5f41 /doc | |
parent | d0e3e823a2dd56260550aec648b0cbfae64543ae (diff) | |
download | gitlab-ce-97f58bae87dfcfb36d5a7a490b1c0983435a19f4.tar.gz |
Change artifacts syntax to allow uploading untracked files
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/yaml/README.md | 21 |
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. |