Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Sonarqube Scanner 4.5.1 - what are you trying to achieve
Analyze code coverage - what have you tried so far to achieve this
Looked back at builds that did work
Before things started failing, VSTS test step would write the code coverage files out to “E:\BuildAgents\agent1_work\1\s\TestResults\us_auto_asrv_d001_ATP2ZU2DBDWV197_2018-12-20_00_43_27.trx” and SQ would search the correct folder for the test results file and code coverage in SQ would be displayed.
As of yesterday, VSTS test step write the code coverage file out to “E:\BuildAgents\agent1_work_temp\TR_7329d0b4-f95b-4af2-8355-0a0f108adee2\us_auto_asrv_d001_ATP2ZU2DBDWV197_2018-12-21_03_06_06.trx” and SQ still searches “E:\BuildAgents\agent1_work\1\TestResults”. Net results is that SQ does not find the test results file and thus report 0% code coverage and fails our quality gate.
We are running SQ 7.3 Dev Edition. I do also notice that the VSTS Test Extension is a newer version.
Any help would be appreciated.
Thanks.