Property sonar.qualitygate.ignoreSmallChanges not applied

Hi Team,

I need a confirmation and help.
I have used the property sonar.qualitygate.ignoreSmallChanges in the pom.xml or command line with -Dsonar.qualitygate.ignoreSmallChanges=false and seems it not applying. But, if I change the property at Project Settings > General Setting from the default (true) to false, the next quality gate analysis fails.

So, my question is, are we able to use this property like others via pom or cmd, or is only manageable in the UI?

Thank you,
Emanuel

Hi,

Welcome to the community and thanks for this report!

Can you provide the version of the SonarScanner for Maven that you’re using?

 
Thx,
Ann

Hi G :slight_smile:

sorry the delay, so we are using: sonar:4.0.0.4121

Hi,

The current version is 5.1. Could you upgrade and see if this is still replicable?

 
Thx,
Ann

Tested with version 5.1.0.4751 and the same issue: No override of sonar.qualitygate.ignoreSmallChanges. By default this property is true and we would like to make it false from command line, so that propagate to all CI/CD

Hi,

Thanks for trying. I’m going to flag this for more expert eyes.

 
Ann

1 Like