问题
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