Sonar check local check can generate report data and no error log,but push to sonarqube all indicators are 0

my sonarqube version is 6.7.5 ,now my local sonar check report.xml has get normal results , but report to sonarqube ,all check list is zero,
the scan command is as follows:

sonar-scanner -Dsonar.projectKey=1739:kci-backend -Dsonar.projectName=kci-backend -Dsonar.projectVersion=1.0 -Dsonar.sourceEncoding=UTF-8 -Dsonar.sources=. ‘-Dsonar.exclusions= /*_test.go, /vendor/ , /swagger/ , /.git/**’ -Dsonar.coverage.reportPath=cover.out -Dsonar.golint.reportPath=report.xml

sonarqube golint plugin settings as follow:

Hi,

6.7.5 is past EOL. You should upgrade at your earliest convenience:

6.7.5 -> 7.9.4 -> 8.4.1 (this step is optional)

 
Ann

Thanks for reply,but what is the cause of the problem?look forward to your reply

Hi,

No clue, to be frank. But I’d give it at least 60% odds that it’s already been reported & fixed since 6.7.

 
Ann

Thanks for reply, It seems that upgrading is imperative

1 Like