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
Jérome Perrin
gitlab-ce
Commits
73f999d4
Commit
73f999d4
authored
Feb 10, 2018
by
Lars Kumbier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes an invalid documentation for the .gitlab-ci.yml cache:key
parent
498ade48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+5
-5
No files found.
doc/ci/yaml/README.md
View file @
73f999d4
...
...
@@ -276,7 +276,7 @@ To enable per-branch caching:
```
yaml
cache
:
key
:
"
$CI_COMMIT_REF_
NAME
"
key
:
"
$CI_COMMIT_REF_
SLUG
"
untracked
:
true
```
...
...
@@ -284,7 +284,7 @@ To enable per-job and per-branch caching:
```
yaml
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_
NAME
"
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_
SLUG
"
untracked
:
true
```
...
...
@@ -292,7 +292,7 @@ To enable per-branch and per-stage caching:
```
yaml
cache
:
key
:
"
$CI_JOB_STAGE-$CI_COMMIT_REF_
NAME
"
key
:
"
$CI_JOB_STAGE-$CI_COMMIT_REF_
SLUG
"
untracked
:
true
```
...
...
@@ -301,7 +301,7 @@ If you use **Windows Batch** to run your shell scripts you need to replace
```
yaml
cache
:
key
:
"
%CI_JOB_STAGE%-%CI_COMMIT_REF_
NAME
%"
key
:
"
%CI_JOB_STAGE%-%CI_COMMIT_REF_
SLUG
%"
untracked
:
true
```
...
...
@@ -310,7 +310,7 @@ If you use **Windows PowerShell** to run your shell scripts you need to replace
```
yaml
cache
:
key
:
"
$env:CI_JOB_STAGE-$env:CI_COMMIT_REF_
NAME
"
key
:
"
$env:CI_JOB_STAGE-$env:CI_COMMIT_REF_
SLUG
"
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