简体   繁体   English

手动使质量门通过

[英]Make quality gate pass manually

I'm using SQ 6.2 with quality profile "Sonar Way" and quality gate also "SonarWay". 我正在使用SQ 6.2,质量配置文件为“声纳方式”,质量门也为“ SonarWay”。

After some refactorings the QG fails with new issues and coverage on new code (which is not really new). 经过一些重构后,QG因新问题和新代码的覆盖范围而失败(这并不是真正的新问题)。 I'd like the project to pass the QG (because no new code was added), so I marked the new issues as "Won't fix", but I found no way to accept the coverage failure. 我希望该项目通过QG(因为未添加新代码),所以我将新问题标记为“无法解决”,但是我发现没有办法接受覆盖失败。

Is there a way to manually mark the QG green or set the leak period? 有没有办法手动将QG标记为绿色或设置泄漏时间?

There is no manual override for the Quality Gate. 质量门没有手动替代功能。 You'll have to either change the quality gate conditions (or temporarily? apply a less strict QG to the project) or fix the problem. 您将不得不更改质量门条件(或暂时?对项目应用不太严格的QG)或解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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