Build is successful and Code Coverage report is not getting uploaded into SonarQube Portal
Logs from the sonar cube scan build
INFO: Adding this code coverage report to the cache for later reuse: C:\dotCo
\CoverageReport\ACATSCoverageReport.html
INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=1234ms
INFO: ------------- Run sensors on project
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=174ms
INFO: No SCM system was detected. You can use the ‘sonar.scm.provider’ proper
to explicitly specify it.
INFO: 88 files had no CPD blocks
INFO: Calculating CPD for 339 files
INFO: CPD calculation finished
INFO: Analysis report generated in 846ms, dir size=3 MB
INFO: Analysis report compressed in 1101ms, zip size=1 MB
INFO: Analysis report uploaded in 88ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://sonarqube.broadridge.net:900
ashboard?id=AscendisAcats
INFO: Note that you will be able to access the updated dashboard once the ser
has processed the submitted analysis report
INFO: More about the report processing at http://sonarqube.broadridge.net:900
pi/ce/task?id=AXAPlxTvL-R8tkUbMJiJ
INFO: Analysis total time: 16.224 s
INFO: -----------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: -----------------------------------------------------------------------
INFO: Total time: 19.024s
INFO: Final Memory: 18M/230M
INFO: -----------------------------------------------------------------------
The SonarQube Scanner has finished
04:45:25.262 Post-processing succeeded.
Below is the scan build process and properties
cd /D D:\Sonarqube
ECHO Sonarqube starts at current directory %CD%
SonarScanner.MSBuild.exe begin /k:“AscendisAcats” /n:“AscendisAcats” /d:sonar.host.url=http://sonarqube.broadridge.net:9000 /d:sonar.login="*" /v:“DEVELOPMENT” /d:sonar.exclusions="**/*AssemblyInfo.cs" /d:sonar.cs.dotcover.reportsPaths=“C:\dotCover\CoverageReport\ACATSCoverageReport.html”
ECHO %APPSourceDir%BPA.ACS.NetSBSolution.sln
“C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe” “D:\Workspace\ACATS\RELEASES\ACS_10.1.0.0\APPSERVER\BPA.ACS.Common.sln”
“C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe” “D:\Workspace\ACATS\RELEASES\ACS_10.1.0.0\APPSERVER\BPA.ACS.NetSBSolution.sln”
“C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe” “D:\Workspace\ACATS\RELEASES\ACS_10.1.0.0\PROCESSINGSERVER\BPA.ACS.MQUtility.sln”
REM “C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe” “D:\Workspace\ACATS\RELEASES\ACS_10.1.0.0\SERVICES\AcatsAPI\AscendisAcat.WebAPI\AscendisAcat.WebAPI.sln”
“C:\Program Files\dotnet\dotnet.exe” build “D:\Workspace\ACATS\RELEASES\ACS_10.1.0.0\SERVICES\AcatsAPI\AscendisAcat.WebAPI\AscendisAcat.WebAPI.sln”
C:\dotCover\dotCover.exe cover D:\Sonarqube\TestProject1.xml
C:\dotCover\dotCover.exe cover D:\Sonarqube\TestProject2.xml
C:\dotCover\dotCover.exe cover D:\Sonarqube\TestProject3.xml
C:\dotCover\dotCover.exe cover D:\Sonarqube\TestProject4.xml
C:\dotCover\dotCover.exe cover D:\Sonarqube\TestProject6.xml
C:\dotCover\dotCover.exe cover --output=C:\dotCover\CoverageReport\AscendisAcat.WebAPI.Tests.dcvr --TargetExecutable=“C:\Program Files\dotnet\dotnet.exe” – test “D:\Builds\22\ACATS\ACS_10.1.0.0_SQ\Sources\ACS_10.1.0.0\SERVICES\AcatsAPI\AscendisAcat.WebAPI\AscendisAcat.WebAPI.Tests\AscendisAcat.WebAPI.Tests.csproj”
C:\dotCover\dotCover.exe cover --output=C:\dotCover\CoverageReport\AscendisAcat.WebAPI.ServiceLibrary.Tests.dcvr --TargetExecutable=“C:\Program Files\dotnet\dotnet.exe” – test “D:\Builds\22\ACATS\ACS_10.1.0.0_SQ\Sources\ACS_10.1.0.0\SERVICES\AcatsAPI\AscendisAcat.WebAPI\AscendisAcat.WebAPI.ServiceLibrary.Tests\AscendisAcat.WebAPI.ServiceLibrary.Tests.csproj”
C:\dotCover\dotCover.exe m D:\Sonarqube\Merge.xml
C:\dotCover\dotCover.exe r D:\Sonarqube\Report.xml
cd /D D:\Sonarqube
SonarScanner.MSBuild.exe end /d:sonar.login="*"