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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
c279a487
Commit
c279a487
authored
Mar 24, 2021
by
Marcel Amirault
Committed by
Suzanne Selhorn
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify needs behavior with artifacts
parent
eb3a3410
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+11
-0
No files found.
doc/ci/yaml/README.md
View file @
c279a487
...
...
@@ -1983,6 +1983,10 @@ To disable directed acyclic graphs (DAG), set the limit to `0`.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/14311) in GitLab v12.6.
When a job uses
`needs`
, it no longer downloads all artifacts from previous stages
by default, because jobs with
`needs`
can start before earlier stages complete. With
`needs`
you can only download artifacts from the jobs listed in the
`needs:`
configuration.
Use
`artifacts: true`
(default) or
`artifacts: false`
to control when artifacts are
downloaded in jobs that use
`needs`
.
...
...
@@ -3072,6 +3076,13 @@ The artifacts are sent to GitLab after the job finishes. They are
available for download in the GitLab UI if the size is not
larger than the
[
maximum artifact size
](
../../user/gitlab_com/index.md#gitlab-cicd
)
.
By default, jobs in later stages automatically download all the artifacts created
by jobs in earlier stages. You can control artifact download behavior in jobs with
[
`dependencies`
](
#dependencies
)
.
When using the
[
`needs`
](
#artifact-downloads-with-needs
)
keyword, jobs can only download
artifacts from the jobs defined in the
`needs`
configuration.
Job artifacts are only collected for successful jobs by default, and
artifacts are restored after
[
caches
](
#cache
)
.
...
...
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