Skip to content

How to configure mutually exclusive pipelines in workflow? #5649

Closed Answered by yesnault
niconjjanssens asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. To be executed, all parent pipelines of a pipeline have to be executed. In your example, if TstPip2_1 or TstPip2_2 is not executed, the pipeline TstPip3 can't be executed.
There is probably another way to do what your want, as :

  • having TstPip3_1 and TstPip3_2 (with TstPip3_x using the same pipeline)
  • using the pipeline parameter. This feature depends on your use case, but if you don't know them, perhaps you can resolve your use case with them. A pipeline parameter is like an argument of a function, you can set a value of this parameter in the context of the pipeline. And with a pipeline parameter, you can solve the parent execution by using the condition on stage: you will be able to …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@niconjjanssens
Comment options

@yesnault
Comment options

Answer selected by yesnault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants