How can I save testing results in Azure DevOps release pipeline

你。 提交于 2019-12-11 05:37:07

问题


During the release pipeline I'm launching Selenium tests. Those tests, in case of fail, make screenshots. I'm looking for a way to upload them so I could look through them and check what went wrong.

I manage to zip them, but unfortunately none of the upload methods are working on release pipeline.

Is there a way to save/upload files during release pipeline?


回答1:


Here's and old answer I've found useful:

How do you publish files back to VSTS Release Management as part of a release?

So if you zip the images and upload them like this, the zipfile appears as a part of logfiles.

On a sidenote, I think you can explore these for more options:

https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/authoring/commands.md



来源:https://stackoverflow.com/questions/58874238/how-can-i-save-testing-results-in-azure-devops-release-pipeline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!