Fail SonarQube quality gate when coverage decrease

2020-04-16 03:05发布

问题:

I'm using SonarQube 4.3 and try to get a quality gate (formerly known as alerts) working which fails when the integration tests coverage has decreased since last analysis.

Does anyone know how to get to this?

回答1:

Ok, that's it. Set "Coverage, Delta since last analysis, less than, 0". The "0" goes in the error field, if this should cause an error. Thanks Disco 3