TFS 2017 - how to fail build when published Tests fail
问题 I have a simple build process in TFS 2017 using CI/CD demo as described in https://msdn.microsoft.com/en-us/powershell/dsc/dsccicd The Build definition contains four steps: Run powershell script. As a part of the script, Pester tests are run on agent and results are saved to a folder using NUnit format Publish Test results using from that folder Copy files to staging directory Publish Artifacts When Pester test fails , I would like entire build to fail. At the moment build succeeds even when