Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure release pipeline, continue after failed stage

I have following azure release pipeline:

enter image description here

Problem is that I need to left left stage to fail sometimes, but at the same time, even if it failed, right stage should still be executed, is that possible?

The only thing I found was 'Trigger even when the selected stages partially succeed' but it does not work if previous stage FAILED.

enter image description here

like image 859
Matthewek Avatar asked Jan 17 '26 08:01

Matthewek


1 Answers

I need to left left stage to fail sometimes, but at the same time, even if it failed, right stage should still be executed, is that possible?

Yes, it's possible. Please follow below steps and see if it works for you:

First, enable "Trigger even when the selected stages partially succeed" for the right stage as you already did. enter image description here

Then, enable "Continue on error" for the tasks or the specific task if you know which one would fail in "Control Options". This will force the task to continue even it met errors which makes that stage a partially succeeded one. enter image description here

At last, you can run the release pipeline and see the right stage will be executed even the tasks in left stage failed. enter image description here

Hope this would work for you.

like image 103
mbb5079 Avatar answered Jan 20 '26 21:01

mbb5079