We’re having problem while setting the sonar.exclusions for our solution.
We have Jenkins that uses the SonarQube extension and scan the project.
In the properties, we set sonar.exclusion and provide folders to exclude. sonar.exclusions=./nbproject/**,./vendor/**
But, it still considered those folders and it causes lots of consumption of LOC.
Please help.
ganncamp
(G Ann Campbell)
October 13, 2020, 5:56pm
2
Hi,
I understand your confusion. Exclusions should specify which files to ignore. As you have found, by specifying directory patterns you haven’t actually excluded anything.
Try this pattern: nbproject/**/*.*,vendor/**/*.*
HTH,
Ann
Thank you Ann, for the update.
system
(system)
Closed
November 6, 2020, 6:53pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.