Importing Go source and coverage into SonarQube -


i have go project import sonarqube 5.1, using sonarrunner.

i know it's not 1 of sonarqube's supported languages have set property

sonar.import_unknown_files=true 

to accomplish basic level of import - , job. project has code coverage in cobertura format, generated using https://github.com/axw/gocov/ , https://github.com/aleksi/gocov-xml.

i have not been successful in getting xml import settings:

sonar.core.codecoverageplugin=cobertura sonar.cobertura.reportpath=coverage.xml 

hence project appears gray box on sonar dashboard. has done similar , got working? because go unsupported language?

many thanks!

andy

yes, knowledge sonarqube cobertura plugin allows import coverage reports java (and maybe supported jvm based languages).

however, if willing transformation on coverage result file, generic test coverage plugin might suit needs.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -