diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-08 15:12:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-08 15:12:01 +0300 |
commit | e2f984e14e1fd34e5105669c4306388019e6b5b6 (patch) | |
tree | 942c781a51a34c667c3c66e9d481f9fcf68459a3 /doc/ci/variables | |
parent | 5cd68a92fa0397121f25357ffae4a4bb6393ae72 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/variables')
-rw-r--r-- | doc/ci/variables/index.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/ci/variables/index.md b/doc/ci/variables/index.md index dde3981d85e..fa4bc6e39fb 100644 --- a/doc/ci/variables/index.md +++ b/doc/ci/variables/index.md @@ -125,7 +125,7 @@ Use the [`value` and `description`](../yaml/index.md#prefill-variables-in-manual keywords to define [variables that are prefilled](../pipelines/index.md#prefill-variables-in-manual-pipelines) for [manually-triggered pipelines](../pipelines/index.md#run-a-pipeline-manually). -### Use variables or `$` in other variables +### Use variables in other variables You can use variables inside other variables: @@ -138,7 +138,9 @@ job: - 'eval "$LS_CMD"' # Executes 'ls -al' ``` -If you do not want the `$` interpreted as the start of a variable, use `$$` instead: +#### Use the `$` character in variables + +If you do not want the `$` character interpreted as the start of a variable, use `$$` instead: ```yaml job: |