Commit 8917726b authored by Shinya Maeda's avatar Shinya Maeda

Add changelog. Fix doc

parent 67c7e0fc
---
title: Fail jobs if its dependency is missing
merge_request: 14009
author:
type: fixed
...@@ -1106,7 +1106,8 @@ Note that `artifacts` from all previous [stages](#stages) are passed by default. ...@@ -1106,7 +1106,8 @@ Note that `artifacts` from all previous [stages](#stages) are passed by default.
To use this feature, define `dependencies` in context of the job and pass To use this feature, define `dependencies` in context of the job and pass
a list of all previous jobs from which the artifacts should be downloaded. a list of all previous jobs from which the artifacts should be downloaded.
You can only define jobs from stages that are executed before the current one. You can only define jobs from stages that are executed before the current one.
An error will be shown if you define jobs from the current stage or next ones. An error will be shown if you define jobs from the current stage or next ones,
or there are no depended jobs in previous stages.
Defining an empty array will skip downloading any artifacts for that job. Defining an empty array will skip downloading any artifacts for that job.
The status of the previous job is not considered when using `dependencies`, so The status of the previous job is not considered when using `dependencies`, so
if it failed or it is a manual job that was not run, no error occurs. if it failed or it is a manual job that was not run, no error occurs.
......
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