Template for a good bug report, formatted with Markdown:
versions used: latest sonarcloud 1.5.1
error observed (wrap logs/code around triple quote ``` for proper formatting)
the plugin looks for trx file under the “wrong” path (a different path than what is actually used).
I would expect the plugin to continue to check for trx file in the same (which seems “correct” according to docs) path but also under “agent temp” directory where the trx and coverage file seems to be saved currently.
it seems the VSTS team recently change test output directory se: https://github.com/Microsoft/azure-pipelines-tasks/issues/7975
2019-01-02T21:51:11.2305659Z 21:51:11.229 Fetching code coverage report information from TFS... 2019-01-02T21:51:11.2321799Z 21:51:11.231 Attempting to locate a test results (.trx) file... 2019-01-02T21:51:11.2919665Z 21:51:11.291 Looking for TRX files in: D:\a\1\TestResults 2019-01-02T21:51:11.2923403Z 21:51:11.291 No test results files found
- steps to reproduce
setup an azuire pipelines (YAML) build of https://github.com/OpenRIAServices/OpenRiaServices and run it
- potential workaround
I’ve tried to set the path to the trx file in the begin analysis step but it has no effect. (for log see https://dev.azure.com/OpenRiaServices/OpenRiaServices/_build/results?buildId=16)
I’ve also tried to manually copy the trx file to the test results folder (see github issue above) but with no success. (https://dev.azure.com/OpenRiaServices/OpenRiaServices/_build?definitionId=1&_a=summary)