I added two plugins to SonarQube version 6.3.0.19869 (css and web). Now all my projects fail on their quality gate.
How can I get it to pass for the first time? I can't fix all old errors now. I want to fix only new issues.
I added two plugins to SonarQube version 6.3.0.19869 (css and web). Now all my projects fail on their quality gate.
How can I get it to pass for the first time? I can't fix all old errors now. I want to fix only new issues.
Version 6.3 included functionality to backdate new issues raised on old code by rules that are newly added to your previously applied profile.
However, that functionality still misses some cases (SONAR-8737), and yours appears to be one of them.
Go to http://yourserver:port/issues
and try to filter out exactly those issues, that you do not want to handle for the moment (probably using the "Language" or "Creation Date" filters are a good start).
Then do a "Bulk Change" (link on top of the page) to get all of these issues out of your project's quality gate.
Depending on your quality gate, this might mean to change the status of the issues from "open" to "confirmed", change their severity, or similar.
Since this approach really depends on the quality gate configuration, it does not work in all cases.