Scenario:
- SonarQube DE v10.7 (96327) (zip)
- SonarScanner CLI 6.2.1.4610 (zip)
- No DevOps Platform Configured
- We use Zuul CI posting results to Gerrit
- The project is manually set up in SQ (“local project”)
sonar.pullrequest.key
,sonar.pullrequest.branch
,sonar.pullrequest.base
are set explicitly when invokingsonar-scanner
- The result and link to PR page on SQ are parsed and posted to Gerrit
The PR analysis works fine, but when viewing PR analysis results a warning is shown:
No devops platform configured. To report the Quality Gate status to a devops platform, please configure it in the project administration.
In this case we are effectively using our own integration so this warning is not relevant. Is there are a way of suppressing it?
I have tried running the scanner with sonar.verbose=true
but there is no mention of this warning or a related setting that I can see.
I have also tried configuring (globally) a DevOps platform other than the one we are using here, just to see if having at least one configured removes the warning, but it doesn’t affect anything as the project setting is left blank and it wouldn’t be correct to set it.
This isn’t a major issue but means you have to click to show the warnings in case anything actually relevant has arisen since the last time you checked. Thanks for any help you can provide.