summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-27 09:07:51 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-27 09:07:51 +0000
commitd679c709f858e93995f969d287cd00b96b0592fc (patch)
treeb9abdb253c63e35d09159805fa898d0281d004dd
parent051e2c5f6472f5926a996d90c64fd5bf0f0f506a (diff)
downloadgitlab-ce-d679c709f858e93995f969d287cd00b96b0592fc.tar.gz
Add latest changes from gitlab-org/gitlab@master
-rw-r--r--doc/ci/pipelines/downstream_pipelines.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/ci/pipelines/downstream_pipelines.md b/doc/ci/pipelines/downstream_pipelines.md
index d49d382d250..3e1728a6db9 100644
--- a/doc/ci/pipelines/downstream_pipelines.md
+++ b/doc/ci/pipelines/downstream_pipelines.md
@@ -604,8 +604,9 @@ the ones defined in the upstream project take precedence.
### Pass dotenv variables created in a job **(PREMIUM)**
-You can pass variables to a downstream pipeline with [`dotenv` variable inheritance](../variables/index.md#pass-an-environment-variable-to-another-job)
-and [`needs:project`](../yaml/index.md#needsproject).
+You can pass variables to a downstream job with [`dotenv` variable inheritance](../variables/index.md#pass-an-environment-variable-to-another-job)
+and [`needs:project`](../yaml/index.md#needsproject). These variables are only available in
+the script of the job and can't be used to configure it, for example with `rules` or `artifact:paths`.
For example, in a [multi-project pipeline](#multi-project-pipelines):