Lcov report from Karma is not getting uploaded into sonar

假装没事ソ 提交于 2019-12-11 06:36:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!