最佳答案
如果您使用 powershell 任务来触发 newman 测试,您可以使用以下命令设置任务结果状态。
- 写入主机“##vso[task.complete result=Succeeded;]”
- 写入主机“##vso[task.complete result=SucceededWithIssues;]”
- 写入主机“##vso[task.complete result=Failed;]”
关于azure - 如何在 Azure DevOps 中使部分成功的阶段变为失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64095953/