Sonar golint scanner report is all zero but local scan log is success

i use sonar golint plugin to scan my go project ,local scan log is success 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

Anybody answer? Thank you very much

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:

Hello @lixiaoxin

SonarQube version 6.7.5 is already pretty old and not officially supported anymore.

I’m afraid you will have a hard time finding any help, you should consider updating SonarQube.

Best,
Quentin

Thanks for reply,we are considering upgrade

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.