Kia ora koutou
Can you please share best practices or patterns related to triggering multiple pipelines for an event?
For example, when pushing to a branch, I want to trigger an infra and an app pipeline.
I tried to keep them in a single pipeline but have problems keeping user-friendly flows.
Instead, I would like to have two pipelines starting when I push.
I found `atlassian/trigger-pipeline`. Could this be used to trigger custom pipelines from the same repository? Are there other features and approaches I might not be aware of?
Ngā mihi nui
Hi George,
I recommend the Atlassian Trigger pipeline.
At my company, we use a pipeline step in our pipelines to trigger each pipeline we need to trigger, and we run each step sequentially to get back the result of the triggered pipeline before running the next step.
I hope this helps.
Regards,
Kristian
Hi Kristian,
Awesome!
I'll have a look at how this works.
Do you mean I don't necessarily need to fire and forget the different pipelines, but I can have the "main pipeline" wait?
What happens with manual steps in the "child pipelines"?
So many questions :D
Thanks for your info!
Georg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have our pipelines wait as we have the steps trigger the other pipeline, and this returns its result.
If you have manual steps in a child pipeline, it would cause it to time out, I believe, but we do not use manual steps in child pipelines, so I am not sure what would happen with these.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.