Reputation: 444
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
Upvotes: 3
Views: 8676
Reputation: 12654
According to the manual it should be sonar.exclusions
, not sonar.exclusion
.
Upvotes: 2