Reputation: 16
I'm creating this scenario where: Stage A which is a Jenkins, Stage B which will run if Stage A is successful, Stage C which will run if Stage A fail.
Upvotes: 0
Views: 958
Reputation: 1799
In the desired pipeline select Stage A > Execution Options > If stage fails > ignore the failure
Stage B > Execution Options > Conditional on Expression > Add your expression when succesful
Stage C > Execution Options > Conditional on Expression > Add your expression when Stage A fails...
i made a short video tutorial feel free to watch it.
Upvotes: 0