- SonarQube: Developer Edition v10.5.1 (90531)
sonarqube-scannerversion: 4.0.0 or 4.0.1- Used npm package: sonarqube-scanner - npm
When we run it as
npx sonarqube-scanner@^4.0.0 -Dsonar.qualitygate.wait="true" [....]
we expect non-zero exit code if Quality Gateway finds new issues that must be fixed.
But the actual result: this command always return 0 exit code, and our build never fails.
Please note that sonarqube-scanner@^3.5.0 works as expected and really fails the build, but ^4.0.0 doesn’t.
