Sonarqube: 10.0 → 10.6
Deployment method: Helm
On 10.0, we were passing in devops integration information via the scanner itself. eg.
Dsonar.pullrequest.key=2085 -Dsonar.pullrequest.branch=test -Dsonar.pullrequest.base=master -Dsonar.pullrequest.github.repository=testrepo
This seems to have been deprecated:
DevOps Platform Integration settings are no longer inferred from scanner-level analysis parameters, which were deprecated in SonarQube 8.1. To prevent pull request decoration from failing, make sure you have configured each project with the settings found under the project-level Project Settings > DevOps Platform Integration .
Release upgrade notes
In 10.6, for all existing projects, the DevOps Platform Integration setting for each project in sonar is empty, so no pull request decoration is happening. I can manually fill all of these out however we have 900+ projects.
How can I have sonar realise that these are synced from github and have the information filled out. Failing that, is there a script available to set these?
New projects do have the information filled out correctly.