I am using Sonar Version 6.7.5.
I want to force my team to increase the overall code coverage and I’d like to configure my Quality Gate for that. I have a Leak Period set to 30 days.
What I want to achieve is if overall code coverage doesn’t increase by 1% in a period of 30 days I want my project to fail.
In a Quality Gate metrics I see a condition called “Coverage” and I’d like to use that, because current Coverage is 1%. So here’s a scenario:
Currently there is 1% coverage. If in 30 days it won’t be 2%, the project should fail.
Coverage (over leak period) is greater than 1 doesn’t seem to work
Do you guys have any idea what am I doing wrong? How should I configure my quality gate to fulfill my needs? Thanks in advance