Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/ci
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2019-07-31 18:36:57 +0300
committerMatija Čupić <matteeyah@gmail.com>2019-08-04 20:42:29 +0300
commit16084ee9d3fdfc333a113e4cbcd3f6d2fc402628 (patch)
treed91c401dda30bc3a015161488aaf2fcb6808a661 /doc/ci
parentbce8b66d516e906f6131d8a6dcae797def5288b6 (diff)
Port changes from EE
Ports changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/12343
Diffstat (limited to 'doc/ci')
-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