Pipeline for merged result is incompatible with multi project pipelines
We have the following 2 features:
However, these 2 features are not compatible with each other because the merged result commit is not available to the downstream pipeline.
In other words, the following scenario is not working as expected:
Given a project that uses both pipeline for merged result and multi-project pipelines
When a pipeline for merged result running on a merge commmit triggers a multi-project pipeline
Then the downstream pipeline should also run on the same merged result commit
To work around this, we'd need to trigger the downstream pipeline on the Merge Request's HEAD commit.
However, that creates a discrepancy between the pipelines where one pipeline runs on a merged result, and another pipeline runs on the HEAD. As a result, we no longer get a true merged result pipeline.
flowchart LR;
subgraph A["upstream - merged result"]
Q["job1"]
W["job2"]
end
subgraph B["downstream - HEAD"]
E["job3"]
R["job4"]
end
Q --> W
W --> E
E --> R
Edited by Albert