I am facing the issue to exclude some directories when running/scanning with Sonarscanner.
This is my project structure
When I run the Sonarscanner command with
src = .
then it works.
However, when I run the command with
src = project-spec
it doesn’t work and raise an error. I apologize for the screenshot as my copy & paste doesn’t work in my environment for now.
I also tried sonar.exclusion but it also didn’t work as well.
Am I missing anything?
Please help!