简体   繁体   中英

How to make quality gate pass, although new plugins are added?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM