diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-25 03:08:32 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-25 03:08:32 +0000 |
commit | d7f1d79eb586f756b120e7380393248009e62a00 (patch) | |
tree | 6fa39691d38a51022bd073bbcbfc3e05c4ee9519 /doc/ci/variables | |
parent | b48f85e16dcdda9fa2f96b7d2fe16e0a6ba28403 (diff) | |
download | gitlab-ce-d7f1d79eb586f756b120e7380393248009e62a00.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/variables')
-rw-r--r-- | doc/ci/variables/index.md | 4 | ||||
-rw-r--r-- | doc/ci/variables/predefined_variables.md | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/ci/variables/index.md b/doc/ci/variables/index.md index 90403351b11..1a80da6e2bc 100644 --- a/doc/ci/variables/index.md +++ b/doc/ci/variables/index.md @@ -697,6 +697,10 @@ You can override the value of a variable when you: The pipeline variables declared in these events take [priority over other variables](#cicd-variable-precedence). +NOTE: +You should avoid overriding [predefined variables](predefined_variables.md), +as it can cause the pipeline to behave unexpectedly. + ### Override a variable when running a pipeline manually You can override the value of a CI/CD variable when you diff --git a/doc/ci/variables/predefined_variables.md b/doc/ci/variables/predefined_variables.md index f8f775a6df4..b0c2b923559 100644 --- a/doc/ci/variables/predefined_variables.md +++ b/doc/ci/variables/predefined_variables.md @@ -16,6 +16,10 @@ with a `script` command. There are also a number of [variables you can use to configure runner behavior](../runners/configure_runners.md#configure-runner-behavior-with-variables) globally or for individual jobs. +NOTE: +You should avoid [overriding](index.md#override-a-defined-cicd-variable) predefined variables, +as it can cause the pipeline to behave unexpectedly. + | Variable | GitLab | Runner | Description | |------------------------------------------|--------|--------|-------------| | `CHAT_CHANNEL` | 10.6 | all | The Source chat channel that triggered the [ChatOps](../chatops/index.md) command. | |