- SonarQube 8.9.1 and SonarScanner 220.127.116.112
I am trying to run pull request decoration using Azure and Bamboo. Bamboo pulls the code for Azure and runs the scan. I however, receive the following warning in SonarQube
- The Azure DevOps Project name is missing in the SonarQube configuration. Please configure this parameter in the SonarQube Project ALM settings.
- The Azure DevOps Repository name is missing in the SonarQube configuration. Please configure this parameter in the SonarQube Project ALM settings.
The ALM configuration is valid. I want to achieve this without manually importing the specific project into SonarQube.
I tried passing the following into sonar-project.properties
sonar.pullrequest.provider=vsts sonar.pullrequest.vsts.project=<project-name> sonar.pullrequest.vsts.instanceUrl=https://dev.azure.com/<organization> sonar.pullrequest.vsts.repository=<repository>
But I still receive the warnings. PR Decoration however, does successfully occur. There is no mention in the 8.9 documentation about the vsts parameters that may be available Pull Request Analysis | SonarQube Docs but in the 7.4 documentation it is documented that there are pr decoration parameters for github and svn Pull Request Analysis.
Is there documentation for these parameters for Azure?