问题
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