Need to post report in my sonar server

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube 8.0 , Scanner , Plugin, and any relevant extension)
  • what are you trying to achieve trying to post my report to server

SonarScanner for MSBuild 4.6.2
Using the .NET Framework version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories…
11:42:17.001 Updating build integration targets…
11:42:17.039 Fetching analysis configuration settings…
11:42:21.164 Failed to request and parse ‘http://localhost:9000/api/server/version’: Unable to connect to the remote server
11:42:21.164 Could not connect to the SonarQube server. Check that the URL is correct and that the server is available. URL: http://localhost:9000
11:42:21.164 Pre-processing failed. Exit code: 1.

11:42:33.483 SonarQube analysis could not be completed because the analysis configuration file could not be found: \Flasher.sonarqube\conf\SonarQubeAnalysisConfig.xml.
11:42:33.483 Post-processing failed. Exit code: 1

is really required to config PostgreSQL for sonarqube server?


It seems important to seperate the topics of “Do I need to use Postgres” and the scanner error you’re receiving. Let’s focus on the scanner error you’re receiving.

Do you have a SonarQube server running on port 9000 on the same machine that you’re executing the analysis from (localhost)?