diff options
author | Evan Read <eread@gitlab.com> | 2019-06-17 00:21:06 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-06-17 00:21:06 +0300 |
commit | a5cc5f6e96c5c5a45a534ff605709a6a012d9cfe (patch) | |
tree | e3eb4436caded7b677184c1f1bf0d069c9550e7f /doc/ci/variables | |
parent | a74c4c6e621decdaa22a5be0169bd6782aae8136 (diff) |
Edit after script context text
Diffstat (limited to 'doc/ci/variables')
-rw-r--r-- | doc/ci/variables/where_variables_can_be_used.md | 9 |
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 |