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
4f98fb7b
Commit
4f98fb7b
authored
Aug 03, 2020
by
Shem Gyll
Committed by
Marcel Amirault
Aug 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
documentation: Add Artifact downloads between namespaces section
parent
3ae3b239
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+7
-3
No files found.
doc/ci/yaml/README.md
View file @
4f98fb7b
...
...
@@ -2086,7 +2086,7 @@ rspec:
`needs`
can be used to download artifacts from up to five jobs in pipelines on
[
other refs in the same project
](
#artifact-downloads-between-pipelines-in-the-same-project
)
,
or pipelines in different projects:
or pipelines in different projects
, groups and namespaces
:
```
yaml
build_job
:
...
...
@@ -2094,14 +2094,18 @@ build_job:
script
:
-
ls -lhR
needs
:
-
project
:
group/project-name
-
project
:
namespace/
group/project-name
job
:
build-1
ref
:
master
artifacts
:
true
```
`build_job`
will download the artifacts from the latest successful
`build-1`
job
on the
`master`
branch in the
`group/project-name`
project.
on the
`master`
branch in the
`group/project-name`
project. If the project is in the
same group or namespace, you can omit them from the
`project:`
key. For example,
`project: group/project-name`
or
`project: project-name`
.
The user running the pipeline must have at least
`reporter`
access to the group or project, or the group/project must have public visibility.
##### Artifact downloads between pipelines in the same project
...
...
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