How to define time/efforts in sonarqube quality gates

只愿长相守 提交于 2019-12-13 08:45:25

问题


I am using Sonar server 5.6 version.

I want to set a quality gates such that efforts required to resolve all major issue should be less than or equal to 5 days (say). How can I specify such criteria as quality gates?

I can see similar condition for "Reliability Remediation Effort"


回答1:


Remediation costs, which are stored in minutes, are available only as totals per issue type (bug, vulnerability, code smell), not per severity.

So you would set conditions on Technical Debt, Reliability Remediation Effort and Security Remediation Effort ... is greater than your threshold.

Keep in mind that each condition is independent of the others, so if you set it to ... 60 (minutes), then you would be allowed to have 60 minutes in each category before the project failed the Quality Gate.



来源:https://stackoverflow.com/questions/46173132/how-to-define-time-efforts-in-sonarqube-quality-gates

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!