From e4ca2fa7f14a2c23891c8cf806706d4d953de4eb Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Fri, 18 Nov 2016 17:10:09 +0100 Subject: Document how to prevent artifacts from passing to next stage [ci skip] --- doc/ci/yaml/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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. -- cgit v1.2.1