Hi All,
Do we know if this issue was indeed fixed in v6.0? I have v6.2 and I'm having the exact issue.
Thanks!
TonyD...
I can confirm the issue for today and version 6.3
Hi,Thanks for bumping the thread. I just tested with 6.4, and this worked for me.Note that the ticket cited at the beginning of the thread limits to two cases the circumstances under which this will work:* Ignore Issues on Multiple Criteria - specify combination of rule key pattern and file path pattern to exclude. I.e. "Ignore these issues on these files"* Restrict Scope of Coding Rules - specify combination of rule key pattern and file path pattern to include. I.e. "Ignore everything but these issues on these files"How are you specifying your exclusions?
<sonar.issue.ignore.multicriteria>a,b,c,d,e,f,g,h,i,j</sonar.issue.ignore.multicriteria>
<!-- … -->
<!-- Fields without access – there are dozens of false positives, it’s all Lombok -->
<sonar.issue.ignore.multicriteria.g.ruleKey>squid:S1450</sonar.issue.ignore.multicriteria.g.ruleKey>
<sonar.issue.ignore.multicriteria.g.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.g.resourceKey>
<!-- … -->
<!-- Source files should not have any duplicated blocks – configuration in code (‘Sometimes the solution is worse than the problem’)-->
<sonar.issue.ignore.multicriteria.j.ruleKey>common-java:DuplicatedBlocks</sonar.issue.ignore.multicriteria.j.ruleKey>
<sonar.issue.ignore.multicriteria.j.resourceKey>**/mailers/*.java</sonar.issue.ignore.multicriteria.j.resourceKey>
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/Y3tMzGdiRbg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/d521aa6a-fe0a-4001-ba96-d261aa71c9da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Michael,Could you try specifying this exclusion through the UI? Clearly you've worked out how to get file-based multi-criteria exclusions right, but we don't document this ability because it's tricky. So just to eliminate that possibility, I'd try it through the UI.