dependencies
Control which jobs’ artifacts are downloaded by a job.
Supported: basic list, empty list (no artifacts)
Examples
Download specific artifacts
build:
stage: build
script:
- mkdir dist
- echo "artifact" > dist/output.txt
artifacts:
paths:
- dist/
test:
stage: test
script: echo "test"
dependencies:
- build
Download no artifacts
build:
stage: build
script: echo "build"
artifacts:
paths:
- dist/
test:
stage: test
script: echo "test"
dependencies: []