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?
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.