CopyPastor

Detecting plagiarism made easy.

Score: 0.8973130389094754; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2022-05-31
by Kangcheng Jin-MSFT

Original Post

Original - Posted on 2019-09-05
by Jack Jia



            
Present in both answers; Present only in the new answer; Present only in the old answer;

I do not think it is possible to continue the stage after clicking cancel.Because a stage will not be triggered at all if the pre-deployment condition is rejected.
If the clean up task is necessary regardless of the success of the previous task, then it is a good choice to add it in previous task. This is logically reasonable.
Though, you can add a separated stage to perform the clean task which does not need pre-deployment condition.
[![enter image description here][1]][1]

[1]: https://i.stack.imgur.com/E10SI.png
I do not think it is possible to continue the stage after clicking cancel.Because a stage will not be triggered at all if the pre-deployment condition is rejected.
So, just as R Jain suggested in the comments, if the clean up task is necessary regardless of the success of the previous task, then it is a good choice to add it in previous task. This is logically reasonable.
Though, you can add a separated stage to perform the clean task which does not need pre-deployment condition.
[![enter image description here][1]][1]

[1]: https://i.stack.imgur.com/4eQrT.png

        
Present in both answers; Present only in the new answer; Present only in the old answer;