summaryrefslogtreecommitdiff
path: root/doc/ci/variables
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-06-13 12:06:31 +1000
committerEvan Read <eread@gitlab.com>2019-06-13 12:06:31 +1000
commit1c3cd57eb78d50e2db990e2c464044c41af68f51 (patch)
tree0943eaa7592b45acfc81813bcd6c2ddfd85f7f1d /doc/ci/variables
parent3fbac13c95f33b675d5b80765f2afaf790a47ff9 (diff)
downloadgitlab-ce-docs/edit-after-script-context.tar.gz
Edit after script context textdocs/edit-after-script-context
Diffstat (limited to 'doc/ci/variables')
-rw-r--r--doc/ci/variables/where_variables_can_be_used.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ci/variables/where_variables_can_be_used.md b/doc/ci/variables/where_variables_can_be_used.md
index 7d3f39a8c19..b5296f26269 100644
--- a/doc/ci/variables/where_variables_can_be_used.md
+++ b/doc/ci/variables/where_variables_can_be_used.md
@@ -89,13 +89,14 @@ Supported:
- In `script`, it will work in the following lines of `script`.
- In `after_script`, it will work in following lines of `after_script`.
-Please notice the specific case of `after_script` scripts, that can:
+In the case of `after_script` scripts, they can:
-- Only use variables defined before the script within the same `after_script` section.
+- Only use variables defined before the script within the same `after_script`
+ section.
- Not use variables defined in `before_script` and `script`.
-Both restrictions are caused by the fact, that `after_script` script is executed in a
-[separated shell context](https://docs.gitlab.com/ee/ci/yaml/README.html#before_script-and-after_script).
+These restrictions are because `after_script` scripts are executed in a
+[separated shell context](../yaml/README.md#before_script-and-after_script).
## Persisted variables