英文:
How can I configure Azure to publish screenshots of failed Cypress tests when I cancel the Azure Pipeline run?
问题
我目前在Azure DevOps管道上运行Cypress构建。我已经配置它在运行完成(或失败)时发布失败测试的截图。如果我取消运行,那么没有任何截图被发布。
如何配置Azure管道,在运行被取消或失败时发布任何失败测试的截图?
英文:
I currently run a Cypress build on and Azure DevOps pipeline. I have it configured to publish screenshots of failing tests when the run is completed (or fails). If I cancel the run none of the screenshots are published.
How can I configure the Azure pipeline to publish screenshots of any failing tests when the run is cancelled or fails?
答案1
得分: 2
请使用always
条件替代您现在的条件。
链接在这里
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论