In Azure DevOps Pipelines, how can I examine the directory structure of an agent?

为君一笑 提交于 2019-12-14 04:04:22

问题


I'm trying to create a task to run unit tests after a build, but I can't figure out what to enter for the "Test files" field. It would be nice if I could get a directory listing of the agent so I can see where the test DLL is. Is there any way to do this?

Thanks! :)


回答1:


you cant really do that native, there was an third party extension for that, but tbh its easier to just insert a step that does:

ls -Rla

and examine the output



来源:https://stackoverflow.com/questions/57203467/in-azure-devops-pipelines-how-can-i-examine-the-directory-structure-of-an-agent

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