Sonar Runner:- INFO: Could not resolve file paths

孤街醉人 提交于 2019-12-07 11:33:53

问题


I am trying to run Sonar Runner through CMD Line and want to scan all data through my Lcov file but after Running sonar Runner and it's showing Error in reading file .I crossed checked each and every path mentioned in file manually and its working fine.But still It's giving me the error as below:-

>INFO: Integration Test Coverage Sensor is started
INFO: Overall Coverage Sensor is started
INFO: Analysing [C:\Tests\lcov.dat]
INFO: Could not resolve 67 file paths in [C:\Trunk\lcov.dat], first unr
esolved path: C:\Trunk\Web\App_Themes\Core\AppStart\UserAuth.js"

I tried to run my Runner as below:-

>1>Go to Root directory of Project and Open CMD.

>2> C:\Sonar\Sonar_Runner\MSBuild.SonarQube.Runner.exe begin /k:"MobileJs" /n:"MobileJs" /v:"1.0" /d:"sonar.javascript.lcov.reportPath"=C:\Trunk\lcov.dat

>3>"C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" /t:Rebuild

>4>C:\Sonar\Sonar_Runner\MSBuild.SonarQube.Runner.exe end

I followed each and every process given in the below link but did not get luck here. It's again and again giving me the same error in last step only while analyzing coverage.

Note:- LCOV file contained java script coverage report

来源:https://stackoverflow.com/questions/39853126/sonar-runner-info-could-not-resolve-file-paths

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!