I am getting the following warning in all my projects for some time, but I can’t find where to remove the duplicated configuration.
Self-hosted SonarQube 10.1 Developer Edition
Use of sonar.test.exclusions and sonar.tests.exclusions at the same time. sonar.test.exclusions is taken into account.
Consider updating your configuration
Any idea how to get rid of it?
If this is happening for all your projects, I would guess that something has been erroneously set in your global Administration > Analysis Scope in the SonarQube UI. Can you check there?
Yes, it is happening for all my projects. The thing is, there’s no config field pointing to
sonar.tests.exclusions so I can’t clear it out.
I think it is related to this bug that will be fixed in 10.2.
It happens if the value of test exclusion is set both at the global and project level.