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
According to the manual it should be sonar.exclusions, not sonar.exclusion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With