dependencies
控制作业下载哪些作业的产物。
支持: 基本列表、空列表(不下载产物)
示例
下载指定作业的产物
build:
stage: build
script:
- mkdir dist
- echo "artifact" > dist/output.txt
artifacts:
paths:
- dist/
test:
stage: test
script: echo "test"
dependencies:
- build
不下载任何产物
build:
stage: build
script: echo "build"
artifacts:
paths:
- dist/
test:
stage: test
script: echo "test"
dependencies: []