Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wildcards for lcov.info path in the SonarQube scanners?

I can't seem to use wildcards to specify a path to my lcov.info file in the SonarQube MSBuild Scanner. e.g.:

/d:sonar.javascript.lcov.reportPath="..\..\build\coverage\lcov\*\lcov.info"

but if I specify the full path, it works:

/d:sonar.javascript.lcov.reportPath="..\..\build\coverage\lcov\Chrome 57.0.2987 (Windows 10 0.0.0)\lcov.info"

This is going to vary depending on what browser is on the build agent!

Any idea how I can get around this?

like image 316
Rodders Avatar asked Aug 30 '25 18:08

Rodders


1 Answers

Currently there is no way to do that. I've created this issue to address the problem.

like image 118
Elena Vilchik Avatar answered Sep 04 '25 07:09

Elena Vilchik