Is there more advanced pattern matching available?

Hello,

Are there more powerful matching patterns available to exclude/include specific folders.

From the image below I would like to exclude everything in the Scripts folder but skip the Custom folder

AzureDevOps
SonarQube analysis configuration
Version: 4.17.0

Thanks

Hi Fresh Prince Mayo, welcome to the SonarSource Community!

It sounds like using sonar.inclusions in this case would be easier:
sonar.inclusions=**/Scripts/Custom/**/*

3 Likes

Thanks for your reply, In my case I wanted include all the files/folders of the solution, excluding the Scripts folder apart from the custom folder inside it.

As a workaround I just moved the Custom folder out of the Scripts folder

1 Like