问题
I am trying to publish lcov reports from karma to sonar, the report is getting generated in jenkins but its not getting uploaded into sonar. Our's is a angularJS maven project. Already sonar is analysing junit testing now I'm trying to analysize javascript using karma but ist not happening. I tried adding
Kindly let me know if I am missing something....
#Karma reports
sonar.javascript.jstestdriver.reportsPath=reports/
sonar.javascript.lcov.reportPath=src/main/webapp/coverage/lcov.info
来源:https://stackoverflow.com/questions/40536825/lcov-report-from-karma-is-not-getting-uploaded-into-sonar