summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2019-07-31 17:36:57 +0200
committerMatija Čupić <matteeyah@gmail.com>2019-08-04 19:42:29 +0200
commit16084ee9d3fdfc333a113e4cbcd3f6d2fc402628 (patch)
treed91c401dda30bc3a015161488aaf2fcb6808a661 /doc
parentbce8b66d516e906f6131d8a6dcae797def5288b6 (diff)
downloadgitlab-ce-16084ee9d3fdfc333a113e4cbcd3f6d2fc402628.tar.gz
Ports changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/12343
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/multi_project_pipelines.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/ci/multi_project_pipelines.md b/doc/ci/multi_project_pipelines.md
index ced4344a0b0..cb8d383f7d9 100644
--- a/doc/ci/multi_project_pipelines.md
+++ b/doc/ci/multi_project_pipelines.md
@@ -176,6 +176,21 @@ 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.
+### Mirroring status from upstream pipeline
+
+You can mirror the pipeline status from an upstream pipeline to a bridge job by
+using the `needs:pipeline` keyword. The latest pipeline status from master is
+replicated to the bridge job.
+
+Example:
+
+```yaml
+upstream_bridge:
+ stage: test
+ needs:
+ pipeline: other/project
+```
+
### Limitations
Because bridge jobs are a little different to regular jobs, it is not