SonarQube Quality Gate is a great feature, but the only problem that I encountered is that we do not receive an email alert every time the codes have a lower level of code coverage than the quality value of gate thresold.
For example: Quality Gate Thresold value to cover the code with a new code <80% send an email alert
- 1st analysis: code coverage is 85%
- 2nd analysis: code coverage is 70% - an email alert has been received.
- Gate condition quality: orange
- threshold of a new quality: coverage of a new code <80 s
... - 3rd analysis: code coverage is 67% - no email alert received.
- 4th analysis: code coverage is 50% - no email alert received.
Email notification is only accepted if the color / condition changes one to the other. We would like to set up an email alert for each analysis that will be performed, and if the code coverage on the new code is less than the thresold value, send an email.
source share