Quality gate bug or feature ?

89 views
Skip to first unread message

Michel Pawlak

unread,
Sep 2, 2015, 4:50:17 PM9/2/15
to SonarQube
Hi,

When a condition on coverage threshold value is set and no tests are available, the gate should not be passed (at least this is my understanding). However there is no gate alert for coverage if I look for instance at these projects that have no coverage at all : 

...

Is this the expected behaviour or is it a bug ?

Kind regards,

sunnyar...@gmail.com

unread,
Feb 20, 2016, 6:37:27 AM2/20/16
to SonarQube
Hi Michel,

I faced a similar problem. Can you please check if 'Coverage' is defined twice, one with value and another with delta? If that's the case, you probably had defined delta later. If 2 conditions with same name are defined twice then the one which is defined later is used. And probably the second one is passing and first one is not used at all. Please have a look at following
http://stackoverflow.com/questions/35463270/conditions-in-sonarqube-quality-gates-not-working-properly

sunnyar...@gmail.com

unread,
Feb 20, 2016, 6:38:04 AM2/20/16
to SonarQube, sunnyar...@gmail.com
Reply all
Reply to author
Forward
0 new messages