diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2017-12-07 19:46:27 +0100 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2017-12-07 19:46:27 +0100 |
commit | 2ac6d806900f3aea708b3fcdc32463235f83eb73 (patch) | |
tree | 77cee98a97df5980418715555c74bda4399bdfbd /doc/ci | |
parent | 30bc983c340de3641b952606c154c7a413368ab6 (diff) | |
download | gitlab-ce-2ac6d806900f3aea708b3fcdc32463235f83eb73.tar.gz |
Clean up docs for dependencies validationfeature/sm/34834-missing-dependency-should-fail-job-2
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/yaml/README.md | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index ac5d99c71fc..32464cbb259 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1153,15 +1153,19 @@ deploy: script: make deploy ``` ->**Note:** -> Introduced in GitLab 10.3 -> This is the user documentation. For the administration guide see - [administration/job_artifacts](../../../administration/job_artifacts.md#validation_for_dependency). +#### When a dependent job will fail + +> Introduced in GitLab 10.3. -If a depended job doesn't have artifacts by the following reason, the depending job will fail. +If the artifacts of the job that is set as a dependency have been +[expired](#artifacts-expire_in) or +[erased](../../user/project/pipelines/job_artifacts.md#erasing-artifacts), then +the dependent job will fail. -1. A depended `artifacts` has been [erased](https://docs.gitlab.com/ee/api/jobs.html#erase-a-job). -1. A depended `artifacts` has been [expired](https://docs.gitlab.com/ee/ci/yaml/#artifacts-expire_in). +NOTE: **Note:** +You can ask your administrator to +[flip this switch](../../administration/job_artifacts.md#validation-for-dependencies) +and bring back the old behavior. ### before_script and after_script |