Details
Description
Scenario
I have a project with 35 source files
I can choose to exclude four of those using sonar.exclusions, set at the project level via the UI.
Results
The way we're showing the number of source file exclusions at the scanner level differs between 6.7 and 7.9.
The 7.9 behaviour is also present in 8.1.
SonarQube 6.7, no exclusions:
INFO: Index files
INFO: 35 files indexed
SonarQube 6.7 with exclusions:
INFO: Index files
INFO: Excluded sources:
INFO: */.pli
INFO: 31 files indexed
INFO: 4 files ignored because of inclusion/exclusion patterns
SonarQube 7.9/8.1, no exclusions:
INFO: 35 files indexed
INFO: 0 files ignored because of scm ignore settings
SonarQube 7.9/8.1, with exclusions:
INFO: 31 files indexed
INFO: 0 files ignored because of inclusion/exclusion patterns
INFO: 0 files ignored because of scm ignore settings
4 files were ignored but we're just not telling users about it.
Attachments
Issue Links
- relates to
-
SUPPORT-22123 Loading...