Sonar file exclusion

Template for a good new topic, formatted with Markdown:

  • ALM used Azure DevOps
  • CI system used Azure DevOps
  • Languages of the repository dotnet

Hello Team, I have couple of questions on sonar cloud file exclusions

  1. Is there is any priority for sonar cloud to consider file exclusions mentioned from pipeline script and Sonar Cloud UI?(which one to consider 1st)

2)If we mention file exclusion in 2 places(pipeline code & Sonar cloud Ui) , will it consider both exclusions or will it consider either one among them and skip the other.

3)If need to exclude multiple files and file path, what is the correct format to use?

Hey there.

The settings hierarchy is documented here

Stick commas in between your exclusions!

**/*.java,**/*.js