Hi
I am unable to view code coverage in Sonarqube. It always shows me 0% coverage.
my Run Code Analysis task log file is attached
Code Analysis.txt (97.2 KB)
Hi
I am unable to view code coverage in Sonarqube. It always shows me 0% coverage.
my Run Code Analysis task log file is attached
Code Analysis.txt (97.2 KB)
Your log indicates that no test result or coverage were found. Best chance is to have a look on the output of your test task. here you should see the full path of test result and code coverage files. The required files are often located in the Agent.TempDirectory.
2023-02-14T14:02:07.4856477Z Looking for TRX files in: D:\Logiciels\Agent-Cloud\_work\11\TestResults
2023-02-14T14:02:07.4858909Z No test results files found
2023-02-14T14:02:07.5705306Z Did not find any binary coverage files in the expected location.
2023-02-14T14:02:07.5726744Z Falling back on locating coverage files in the agent temp directory.
2023-02-14T14:02:07.5731015Z Searching for coverage files in D:\Logiciels\Agent-Cloud\_work\_temp
2023-02-14T14:02:07.5735174Z No coverage files found in the agent temp directory.