sonarQube Not excluding test files

不羁岁月 提交于 2019-12-11 02:05:28

问题


I have added

sonar.exclusion=src/test/java/**/*.*
sonar.test.exclusions=**/test/**/*.*                                      

properties into the sonar-project.properties file. But it is not excluding the test files when creating sonarQube code coverage document. I am using jenkins as building tool


回答1:


According to the manual it should be sonar.exclusions, not sonar.exclusion.



来源:https://stackoverflow.com/questions/42111757/sonarqube-not-excluding-test-files

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