Sonar cloud not excluding file even after adding regex in sonar properties file

I am adding sonar cloud scan for 2folders in same repository and folder A and folder B have specific sonar-project.proeprtiss file but i add exclusion expression it’s not ignoring the file instead converging all files for coverge

-please guide how to sonar exclusion for 2 different folder in same repository (multi analysis)

Hi,

Welcome to the community!

You’re doing one analysis that includes both directories?

If so, then you need one sonar-project.properties file at the project root. You can set your exclusion there, or through the UI.

 
HTH,
Ann