summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-11-18 17:10:09 +0100
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-11-18 17:10:09 +0100
commite4ca2fa7f14a2c23891c8cf806706d4d953de4eb (patch)
tree6e25f58b85cfbcffa6bac597d5e79b7f666b08d4 /doc
parent50b95f31396e37900e4f3176a746bb668e10745c (diff)
downloadgitlab-ce-e4ca2fa7f14a2c23891c8cf806706d4d953de4eb.tar.gz
Document how to prevent artifacts from passing to next stage
[ci skip]
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/yaml/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index 6fee750c709..338c9a27789 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -760,6 +760,15 @@ artifacts:
- binaries/
```
+To disable artifact passing, define the job with empty [dependencies](#dependencies):
+
+```yaml
+job:
+ stage: build
+ script: make build
+ dependencies: []
+```
+
You may want to create artifacts only for tagged releases to avoid filling the
build server storage with temporary build artifacts.