Sonarqube Enterprise fails to analyze Go code

  • which versions are you using (SonarQube-9.9.2 Enterprise
  • how is SonarQube deployed: Docker
  • what are you trying to achieve
    New project analysis, language is Go, pull-request to use Sonarqube for first time.
  • what have you tried so far to achieve this
    First analysis resulted in 0 issues. Reason? Zero files found. Settings:

sonar.sources=.
sonar.exclusions=**/*_test.go

sonar.tests=.
sonar.test.inclusions=**/*_test.go
sonar.go.coverage.reportPaths=./coverage/

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

What do the analysis logs say? about which files are indexed and which folder it’s looking in? You’ll get the most information at DEBUG level (sonar-scanner -X)

DevOps Integration was not setup for this project. This relates to a thread I recently viewed, where it was asked about API access. I will need to make a new topic, to clarify.