Hi,
We are using sonarqube enterprise edition (8.6.0.39681)
The analysis of one PR is breaking quality gate since code duplication.
However, developers are trying to exclude those paths from code duplication analysis by using gradle command:
property 'sonar.cpd.exclusions', "**/main/java/de/YYY/ZZZ/XXX/api/gateway/models/**/*"
this does not result in success, so we put following path also into project analysis scope and global analysis scope, also without success.
**/main/java/de/YYY/ZZZ/XXX/api/gateway/models/**/*
Can you help us out what we are doing wrong or if it is a bug?
Regards
Andrzej