summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2019-07-30 16:10:29 +0200
committerMatija Čupić <matteeyah@gmail.com>2019-07-30 16:10:29 +0200
commitc8cf96c32093d4a117659b4e6574b69293387a1c (patch)
tree148a344e6bd10d9b736e82145a0a7559c87cf2b8
parentab509c78929d9b5f4e02d013e8911ac9d0a07aad (diff)
downloadgitlab-ce-mc/doc/variable-precedence-docs.tar.gz
Document multi-project variable precedencemc/doc/variable-precedence-docs
-rw-r--r--doc/ci/multi_project_pipelines.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ci/multi_project_pipelines.md b/doc/ci/multi_project_pipelines.md
index 463b9194c58..daedc875c05 100644
--- a/doc/ci/multi_project_pipelines.md
+++ b/doc/ci/multi_project_pipelines.md
@@ -171,6 +171,11 @@ In this scenario, the `UPSTREAM_BRANCH` variable with a value related to the
upstream pipeline will be passed to the `downstream-job` job, and will be available
within the context of all downstream builds.
+NOTE: **Tip:**
+Upstream pipelines take precedence over downstream ones. If there are two
+variables with the same name defined in both upstream and downstream projects
+the ones defined in the upstream project will take precedence.
+
### Limitations
Because bridge jobs are a little different to regular jobs, it is not