Hello All!
I can see that SonarQube has picked up couple of code smells after the successful deployment of my application. Upon further investigation I found out that those code smells are getting reported from buil one of the sub directory which is supposed to be excluded.
Right now my sonarqube.gradle.kts have the following property set
property(“sonar.coverage.exclusions”, “/build/”)
And below is my project folder structure.
Main
|
|
|___Directory 1
| |
| |__build
| |
| |__Sub Directory 2
| |
| |__Sub Directory 3
|
|
|__Directory 2
| |
| |__build
| |
| |__Sub Directory 5
| |
| |__Sub Directory 6
|
|
|
.
.
.
N
My ask is that how or what wildcard entry should I use in my sonar coverage exclusion to exclude only the “build” sub directory from all the directories?