Exclusions in Azure Pipelines

I tried excluding folder and files using sonar.exclusions in VSTS pipeline but it never worked. Below are the statements I tried. Could you please help here.

sonar.exclusions=/node_modules/* */ * (there is no space between *)
-Dsonar.exclusions=
/node_modules/* * / *
d:/sonar.exclusions=/node_modules/* */ *
sonar.exclusions=
/sonar-project.properties
sonar.exclusions=**/*.properties

Hi @Rasik_Bapotra.

I’ve split your post into a new thread. It’s generally a better practice to start a new thread than to post to an old thread that seems to be related - it helps keep threads manageable, particularly if it turns out that the underlying issues are different.

Is your issue here the same as the one you raised in Not able to exclude sonar-project.properties files from VSTS pipeline, or is it separate?