The SonarQube Scanner execution is successful but no Analysis Results are uploaded to SonarQube

dotnet
jenkins
docker
msbuild

(SALIL BEHARA) #1

Tool versions:

SonarQube - Version 7.1 (build 11001)LGPL v3Community
SonarScanner for MSBuild - 4.3.1.1372
Jenkins ver. 2.138.1
.NET Core 2.0
Docker


Issue:

The SonarQube Scanner execution is successful but no Analysis Results are published to SonarQube.
When we click on the ‘Analysis results’ link, it gives the following error- ‘Component key not found. The requested project does not exist. Either it has never been analyzed successfully or it has been deleted.’

11:48:36.783 INFO: ------------------------------------------------------------------------
11:48:36.783 INFO: EXECUTION SUCCESS
11:48:36.783 INFO: ------------------------------------------------------------------------
11:48:36.786 INFO: Total time: 0.128s
11:48:36.791 INFO: Final Memory: 1M/14M
11:48:36.792 INFO: ------------------------------------------------------------------------
Process returned exit code 0
The SonarQube Scanner has finished
11:48:36.812 Creating a summary markdown file…
11:48:36.814 Analysis results: http://*******-platformlive.cloud/dashboard/index/*.ebsconet.customer.portal.service
11:48:36.814 Post-processing succeeded.

I ran the Jenkins job with ‘sonar.verbose’ set to ‘true’. Please find attached the log output for Pre-processing and Post-processing steps. Let us know what other info we can provide.

SonarQubeLog.txt (61.6 KB)


(G Ann Campbell) #2

Hi,

Your analysis log indicates that the analysis report was successfully submitted to the server. So the problem is probably server-side in processing the report. You should get someone with admin on the project to check the project’s background tasks.

 
Ann