Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
8917726b
Commit
8917726b
authored
Sep 03, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add changelog. Fix doc
parent
67c7e0fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
changelogs/unreleased/feature-sm-34834-missing-dependency-should-fail-job-2.yml
...feature-sm-34834-missing-dependency-should-fail-job-2.yml
+5
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+2
-1
No files found.
changelogs/unreleased/feature-sm-34834-missing-dependency-should-fail-job-2.yml
0 → 100644
View file @
8917726b
---
title
:
Fail jobs if its dependency is missing
merge_request
:
14009
author
:
type
:
fixed
doc/ci/yaml/README.md
View file @
8917726b
...
...
@@ -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
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.
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.
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment