Merge branch 'docs/no-artifacts-passing' into 'master'

Document how to prevent artifacts from passing to next stage

See merge request !7575
This commit is contained in:
Achilleas Pipinellis 2016-11-18 16:15:06 +00:00
commit 9d4a45ef21

View file

@ -760,6 +760,15 @@ artifacts:
- binaries/ - 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 You may want to create artifacts only for tagged releases to avoid filling the
build server storage with temporary build artifacts. build server storage with temporary build artifacts.