Hello,
I am trying to run an analysis on a project that contains code in PHP, JS, CSS, HTML. The code is present in my local machine.
The command I use to run the scan is $sonar-scanner.bat -D"sonar.projectKey=Web" -D"sonar.organization=name" -D"sonar.sources=." -D"sonar.host.url=https://sonarcloud.io" -D"sonar.login=eb8…"
This always fails analysis as the number of lines is more than the limit for the organisation. I need to exclude some of the files so that the analysis can be done.
Questions:
How do I run the scan by excluding a list of the source files?
How do I exclude these while running an autoscan of a branch in a github reporsitory?