Iam trying to scan a .net framework project via jenkins , the job is successful but in the sonar server it shows 0 bugs , 0 duplication lines , 0 vulnerabilites etc
I have performed below three steps
“E:\sonarqube-126.96.36.199899\sonar-scanner-msbuild-188.8.131.52282-net46\SonarScanner.MSBuild.exe” begin /k:projectkey /d:sonar.login=authtoken
“C:\Program Files (x86)\MSBuild\14.0\Bin\amd64\MSBuild.exe” path/to/.sln file
“E:\sonarqube-184.108.40.206899\sonar-scanner-msbuild-220.127.116.11282-net46\SonarScanner.MSBuild.exe” end /d:sonar.login=authtoken
Sonarqube server version 8.0 , sonarscanner-msbuild version 5.4.1
Any help would be appreciated
Thanks in Advance !
Hello and welcome to the community!
Please either use the latest SonarQube version or the LTS version. SQ version 8.0 is not supported.
I suggest using the latest version of Scanner for .NET (MSBuild).
After updating the versions, please share the logs:
- please give us the verbose output of the scanner commands (please run
SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the begin step, and please attach the output of the
- please give the output of running MSBuild in verbose mode (
Also, please tell us:
- what are the commands you are running to do the analysis?
- are you running all commands from the same folder?
In addition, please see the following guides:
This topic was automatically closed after 10 days. New replies are no longer allowed.