diff options
author | Tor Bechmann Yamamoto-Sørensen <tor@netlab.jp> | 2017-06-06 16:55:24 +0900 |
---|---|---|
committer | Tor Bechmann Yamamoto-Sørensen <tor@netlab.jp> | 2017-06-06 16:59:53 +0900 |
commit | c4878a762fe9cc90022277e5f559fa0c169e09e0 (patch) | |
tree | bed8b48141a59d3cf0c383383ac5b2dd3c93011a | |
parent | 9bc89323902b499ba5a4dbc1a5aaa15874f6399e (diff) | |
download | gitlab-ce-c4878a762fe9cc90022277e5f559fa0c169e09e0.tar.gz |
Update explanation of job-level variable override to fit example
-rw-r--r-- | doc/ci/variables/README.md | 2 | ||||
-rw-r--r-- | doc/ci/yaml/README.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index 56ff245f9f9..23c93c59604 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -120,7 +120,7 @@ The YAML-defined variables are also set to all created tune them. Variables can be defined at a global level, but also at a job level. To turn off -global defined variables in your job, define an empty array: +global defined variables in your job, define an empty hash: ```yaml job_name: diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 2c9aa437932..dd4b589d37c 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -434,7 +434,7 @@ but allows you to define job-specific variables. When the `variables` keyword is used on a job level, it overrides the global YAML job variables and predefined ones. To turn off global defined variables -in your job, define an empty array: +in your job, define an empty hash: ```yaml job_name: |