My company has SonarQube Enterprise version 188.8.131.52397 with Java plugin version 6.3.2 (build 22818).
We’ve branched a Quality Profile off of the default Sonar way profile, made this new profile the default Quality Profile and have changed rule java:S1192 to be a Blocker level issue to tighten down on developers copying strings vs using a constant. The custom Blocker level setting is working fine.
Our issue is when we changed the threshold of the number of allowable duplicate strings from the default (3) to 10 occurrences. Developers are getting failed Quality Gates on less than 10 duplicate literals. I made sure the Quality Profile assigned to projects is the new one, and everything looks to be set right. We haven’t had this issue with changing other rules, so we’re thinking this is unique to the threshold of java:S1192.