I have a build pipeline which contains a build task, a publish task, and a test task. There are some unit tests that fail, which is causing the whole build to fail.
How can I prevent this? I don't want to have to require 100% of my unit tests to pass just for the build to succeed...
You can set the parameter "Continue on error" = true:
In yaml:
- task: VSTest@2
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
continueOnError: true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With