[英]Azure DevOps with SonarCloud not finding tests
I'm using SonarCloud with AzureDevops.我将 SonarCloud 与 AzureDevops 一起使用。
The sequence in my YAML file is:我的 YAML 文件中的序列是:
I don't specify any output locations (at least, not knowingly).我没有指定任何 output 位置(至少,在不知情的情况下)。
When the tests run, I get the following output:当测试运行时,我得到以下 output:
Test results files: d:\a_temp\TestResults\VssAdmin.....trx
测试结果文件:d:\a_temp\TestResults\VssAdmin.....trx
But when the Sonar Analysis step executes, I get the following output:但是当声纳分析步骤执行时,我得到以下 output:
Looking for TRX files in: d:\a\1\TestResults
在以下位置寻找 TRX 文件:d:\a\1\TestResults
So....the paths don't match.所以....路径不匹配。
Do I:我是否:
I'm guessing the second option might be easier - in a different solution I've not yet set up, there are many test projects....我猜第二个选项可能更容易 - 在我尚未设置的不同解决方案中,有很多测试项目......
Thanks谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.