0

i have a problem with pull request policies, in CI pull request i have opcional stage. i can aprove or reject opcional stage but when reject the build pipeline is failed.

is there a way is build PR is sucessed if one step is rejected?

1 Answers1

1

As long as a stage is rejected or fails, even if you can continue to run later stages by adding conditions,

condition: always()

the final status of the build pipeline is still failed. This is an expected action.

And if you set Build Validation as a required branch policy, the validated build must succeed in order to complete the pull request.

Vita Zhang-MSFT
  • 246
  • 1
  • 4