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-9.3.0.51899\sonar-scanner-msbuild-5.4.1.41282-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-9.3.0.51899\sonar-scanner-msbuild-5.4.1.41282-net46\SonarScanner.MSBuild.exe” end /d:sonar.login=authtoken
Sonarqube server version 8.0 , sonarscanner-msbuild version 5.4.1
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 BEGIN and END steps)
please give the output of running MSBuild in verbose mode (/v:d)
Also, please tell us:
what are the commands you are running to do the analysis?
are you running all commands from the same folder?