WIP: Update analyser pipeline, trigger jobs in test projects
As an experiment, trigger the pipeline in test project js-npm when running the pipeline of the analyser (shared CI config). This is just a Proof of Concept; if things go well, there will be another MR implementing a generic solution.
issue number: https://gitlab.com/gitlab-org/gitlab-ee/issues/10658
1-trigger downstream
+---------------------------+ set DOWNSTREAM_TRIGGER: "true" +---------------------------+
| | +------------------------------->+ |
| | | |
| analyser job | | test project job |
| | | |
| +<---------------------------------| |
| | 2-trigger-fail-signal |
+-+------+------------------+ if on_fail && DOWNSTREAM_TRIGGER +---------------------------+
| ^ set DOWNSTREAM_FAIL: "true"
| |
| |
| |
| |
| |
+------+
3- upstream-check (skip all other jobs if DOWNSTREAM_FAIL == "true"
if DOWNSTREAM_FAIL == true fail current
Edited by Fabien Catteau