Optional dynamic Child pipelines

Is it possible to make a dynamic child pipeline optional based on the outcome generate config job in the parent pipeline?

So if the generate config job generates an empty pipeline and no artifact that the child pipeline is skipped? I have tried to do this with rules, but my pipeline generate script is more complex than the rules are able to handle.
My current work-around is to generate a dummy child pipeline.

So what I would like to do is if the generate config jog produces no pipeline (no artifact) then the child pipeline should be skipped.

Hi @koweblomke

this is currently not possible and a dummy job is a common workaround, there is an Issue for an option to skip child pipeline if there are no jobs in it.

1 Like