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
Boxiang Sun
gitlab-ce
Commits
752b2dac
Commit
752b2dac
authored
Feb 27, 2018
by
John Burak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
ff5792f6
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 @
752b2dac
...
@@ -998,7 +998,7 @@ tag including only the files that are untracked by Git:
...
@@ -998,7 +998,7 @@ tag including only the files that are untracked by Git:
```
yaml
```
yaml
job
:
job
:
artifacts
:
artifacts
:
name
:
"
${CI_JOB_NAME}
_
${CI_COMMIT_REF_NAME}"
name
:
"
${CI_JOB_NAME}
-
${CI_COMMIT_REF_NAME}"
untracked
:
true
untracked
:
true
```
```
...
@@ -1007,7 +1007,7 @@ To create an archive with a name of the current [stage](#stages) and branch name
...
@@ -1007,7 +1007,7 @@ To create an archive with a name of the current [stage](#stages) and branch name
```
yaml
```
yaml
job
:
job
:
artifacts
:
artifacts
:
name
:
"
${CI_JOB_STAGE}
_
${CI_COMMIT_REF_NAME}"
name
:
"
${CI_JOB_STAGE}
-
${CI_COMMIT_REF_NAME}"
untracked
:
true
untracked
:
true
```
```
...
@@ -1019,7 +1019,7 @@ If you use **Windows Batch** to run your shell scripts you need to replace
...
@@ -1019,7 +1019,7 @@ If you use **Windows Batch** to run your shell scripts you need to replace
```
yaml
```
yaml
job
:
job
:
artifacts
:
artifacts
:
name
:
"
%CI_JOB_STAGE%
_
%CI_COMMIT_REF_NAME%"
name
:
"
%CI_JOB_STAGE%
-
%CI_COMMIT_REF_NAME%"
untracked
:
true
untracked
:
true
```
```
...
@@ -1029,7 +1029,7 @@ If you use **Windows PowerShell** to run your shell scripts you need to replace
...
@@ -1029,7 +1029,7 @@ If you use **Windows PowerShell** to run your shell scripts you need to replace
```
yaml
```
yaml
job
:
job
:
artifacts
:
artifacts
:
name
:
"
$
($env:CI_JOB_STAGE)_
$env:CI_COMMIT_REF_NAME"
name
:
"
$
env:CI_JOB_STAGE-
$env:CI_COMMIT_REF_NAME"
untracked
:
true
untracked
:
true
```
```
...
...
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