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
89eaad3d
Commit
89eaad3d
authored
Jul 02, 2020
by
Ben Bodenmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide working artifacts:expose_as examples
parent
e7f4c967
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+4
-4
No files found.
doc/ci/yaml/README.md
View file @
89eaad3d
...
...
@@ -2888,10 +2888,10 @@ For example, to match a single file:
```
yaml
test
:
script
:
[
'
echo
1'
]
script
:
[
"
echo
'test'
>
file.txt"
]
artifacts
:
expose_as
:
'
artifact
1'
paths
:
[
'
path/to/
file.txt'
]
paths
:
[
'
file.txt'
]
```
With this configuration, GitLab will add a link
**artifact 1**
to the relevant merge request
...
...
@@ -2901,10 +2901,10 @@ An example that will match an entire directory:
```
yaml
test
:
script
:
[
'
echo
1'
]
script
:
[
"
mkdir
test
&&
echo
'test'
>
test/file.txt"
]
artifacts
:
expose_as
:
'
artifact
1'
paths
:
[
'
path/to/directory
/'
]
paths
:
[
'
test
/'
]
```
Note the following:
...
...
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