Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
3be580eb
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
3be580eb
编写于
12月 06, 2018
作者:
M
Marcia Ramos
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixes "introduced in..." syntax
上级
daca42ac
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
6 addition
and
9 deletion
+6
-9
doc/ci/variables/README.md
doc/ci/variables/README.md
+6
-9
未找到文件。
doc/ci/variables/README.md
浏览文件 @
3be580eb
...
...
@@ -108,7 +108,7 @@ future GitLab releases.**
|
**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 |
##
9.0 R
enaming
##
GitLab 9.0 r
enaming
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
...
...
@@ -137,7 +137,7 @@ future GitLab releases.**
## `.gitlab-ci.yml` defined variables
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
build environment. The variables are hence saved in the repository, and they
...
...
@@ -176,8 +176,7 @@ script:
## Variables
NOTE:
**Note:**
Group-level variables were added in GitLab 9.4.
> Group-level variables were introduced in GitLab 9.4.
CAUTION:
**Important:**
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
### Protected variables
>**Notes:**
This feature requires GitLab 9.3 or higher.
> Introduced in GitLab 9.3.
Variables could be protected. Whenever a variable is
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](..
## Deployment variables
NOTE:
**Note:**
This feature requires GitLab CI 8.15 or higher.
> Introduced in GitLab 8.15.
[
Project services
](
../../user/project/integrations/project_services.md
)
that are
responsible for deployment configuration may define their own variables that
...
...
@@ -490,7 +487,7 @@ export CI_REGISTRY_PASSWORD="longalfanumstring"
## 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
`.gitlab-ci.yml`
. By using this approach you can limit what jobs are going to
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录