I have Sonarqube 8 setup with a local Gitlab. SSO login works fine, but when pushing to Gitlab, Sonarqube starts a scan and then reports a success to Gitlab regardless of the results of the scan.
Anyone have any ideas how we can get the scanner to exit with a fail when the results of the scan fail?
You’ll notice it says "status":"SUCCESS" but although the scan succeeded in scanning, it failed to pass the quality gate. Going to the project in SonarQube reveals: “Quality Gate Failed”
Right now, the integration to fail a Gitlab Pipeline based on the QG result hasn’t been developed yet. Keep an eye on MMF-1791, because it’s in our plans
Hello! When it is planned to be released Sonar 8.1? We are planning to migrate to Developer edition, but we are waiting for this functionality to be available. Thanks
To prevent this becoming a thread for fielding all questions about our Gitlab integration / roadmap, I’m going to close this thread. All questions have been answered.