I've setup a pipeline A that triggers another pipeline B. If B succeeds and A succeed all is good. If B fails, but all the other steps of Pipeline A succeed, A succeeds as probably kicking of Pipeline B is seen as a succes. I would actually like to have the build fail at that point. How can I achieve this?
Actual results from Pipeline A:
✔ Build started successfully.
Build number: 29.
Follow build logs at the following URL:
✔ Pipe finished successfully.
Actual results from Pipeline B:
#29 status failed
Hi @ralph Hovens and welcome to the community!
You can use the following pipe for triggering another Pipelines build (perhaps you are using this already?):
If you check in the link above the available variables for this pipe, there is a flag called WAIT. If you set WAIT: 'true' for the pipe, the pipe will wait for the triggered pipeline to complete. If the triggered pipeline fails, the pipe (and therefore pipeline A) will also fail.
Is this something that works for you?
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events