On Tue, May 24, 2022 at 3:15 PM '[email protected]' via go-cd < [email protected]> wrote:
> We have a few stages in one go pipeline. We want to run the subsequent > stages even if the previous stage ends in failure. How do we do this? To clarify, a stage can have multiple jobs that run in parallel, while stages run serially. If even one job in a stage fails, then that stage is considered to have failed. So if you want a consecutive stage to run even if the earlier stage fails, then you need to ensure that the jobs in that stage always pass. You can do this by capturing the actual error and exiting from that job's shellscript with a zero (exit 0). > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/d5dedba5-e25c-4532-808a-9a05a23bcc22n%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/d5dedba5-e25c-4532-808a-9a05a23bcc22n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CANiY96bX13v2e8uOHbQZNWdxdx71RRdA3TU9Nxk1z0d7fE%3DhEg%40mail.gmail.com.
