Warm tip: This article is reproduced from serverfault.com, please click

Conditional component

发布于 2020-12-22 18:27:56

Is there a way to

  1. get a particular pipeline's, say P1, status (failed / completed) in conditional component in pipeline P2?
  2. Can we call a pipeline from conditional component?

Usecase: I have functional pipelines F1, F2, F3 etc and audit pipelines as audit_success and audit_failure. If I can get F3's status in 1 single audit pipeline, I can have 2 branches in same pipeline thereby avoiding creation of 2 pipelines.

Questioner
adiideas
Viewed
0
Edwin Elia 2021-01-05 03:50:50

There is no conditional component that checks for another pipeline's status. However, you can achieve this through pipeline triggers, but as you mentioned it does require two different pipelines.