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
3be580eb
Commit
3be580eb
authored
Dec 06, 2018
by
Marcia Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes "introduced in..." syntax
parent
daca42ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
doc/ci/variables/README.md
doc/ci/variables/README.md
+6
-9
No files found.
doc/ci/variables/README.md
View file @
3be580eb
...
@@ -108,7 +108,7 @@ future GitLab releases.**
...
@@ -108,7 +108,7 @@ future GitLab releases.**
|
**GITLAB_USER_NAME**
| 10.0 | all | The real name of the user who started the job |
|
**GITLAB_USER_NAME**
| 10.0 | all | The real name of the user who started the job |
|
**RESTORE_CACHE_ATTEMPTS**
| 8.15 | 1.9 | Number of attempts to restore the cache running a job |
|
**RESTORE_CACHE_ATTEMPTS**
| 8.15 | 1.9 | Number of attempts to restore the cache running a job |
##
9.0 R
enaming
##
GitLab 9.0 r
enaming
To follow conventions of naming across GitLab, and to further move away from the
To follow conventions of naming across GitLab, and to further move away from the
`build`
term and toward
`job`
CI variables have been renamed for the 9.0
`build`
term and toward
`job`
CI variables have been renamed for the 9.0
...
@@ -137,7 +137,7 @@ future GitLab releases.**
...
@@ -137,7 +137,7 @@ future GitLab releases.**
## `.gitlab-ci.yml` defined variables
## `.gitlab-ci.yml` defined variables
NOTE
**Note:**
NOTE
**Note:**
This feature requires GitLab Runner 0.5.0 or higher and GitLab
CI
7.14 or higher.
This feature requires GitLab Runner 0.5.0 or higher and GitLab 7.14 or higher.
GitLab CI allows you to add to
`.gitlab-ci.yml`
variables that are set in the
GitLab CI allows you to add to
`.gitlab-ci.yml`
variables that are set in the
build environment. The variables are hence saved in the repository, and they
build environment. The variables are hence saved in the repository, and they
...
@@ -176,8 +176,7 @@ script:
...
@@ -176,8 +176,7 @@ script:
## Variables
## Variables
NOTE:
**Note:**
> Group-level variables were introduced in GitLab 9.4.
Group-level variables were added in GitLab 9.4.
CAUTION:
**Important:**
CAUTION:
**Important:**
Be aware that variables are not masked, and their values can be shown
Be aware that variables are not masked, and their values can be shown
...
@@ -206,8 +205,7 @@ Once you set them, they will be available for all subsequent pipelines. You can
...
@@ -206,8 +205,7 @@ Once you set them, they will be available for all subsequent pipelines. You can
### Protected variables
### Protected variables
>**Notes:**
> Introduced in GitLab 9.3.
This feature requires GitLab 9.3 or higher.
Variables could be protected. Whenever a variable is
Variables could be protected. Whenever a variable is
protected, it would only be securely passed to pipelines running on the
protected, it would only be securely passed to pipelines running on the
...
@@ -228,8 +226,7 @@ Variables can be specified for a single pipeline run when a [manual pipeline](..
...
@@ -228,8 +226,7 @@ Variables can be specified for a single pipeline run when a [manual pipeline](..
## Deployment variables
## Deployment variables
NOTE:
**Note:**
> Introduced in GitLab 8.15.
This feature requires GitLab CI 8.15 or higher.
[
Project services
](
../../user/project/integrations/project_services.md
)
that are
[
Project services
](
../../user/project/integrations/project_services.md
)
that are
responsible for deployment configuration may define their own variables that
responsible for deployment configuration may define their own variables that
...
@@ -490,7 +487,7 @@ export CI_REGISTRY_PASSWORD="longalfanumstring"
...
@@ -490,7 +487,7 @@ export CI_REGISTRY_PASSWORD="longalfanumstring"
## Variables expressions
## Variables expressions
>
Variables expressions were add
ed in GitLab 10.7.
>
Introduc
ed in GitLab 10.7.
It is possible to use variables expressions with only / except policies in
It is possible to use variables expressions with only / except policies in
`.gitlab-ci.yml`
. By using this approach you can limit what jobs are going to
`.gitlab-ci.yml`
. By using this approach you can limit what jobs are going to
...
...
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