Commit 9d4a45ef authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

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

Document how to prevent artifacts from passing to next stage

See merge request !7575
parents 548f48ef e4ca2fa7
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment