问题
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