Azure devops 与Azure DevOps集成时出现sonar qube错误

Azure devops 与Azure DevOps集成时出现sonar qube错误,azure-devops,sonarqube,azure-pipelines,sonarqube5.1,Azure Devops,Sonarqube,Azure Pipelines,Sonarqube5.1,当开发人员试图合并到主分支时,我们正在尝试集成SONAR QUBE检查 当我们尝试将声纳检查作为签入策略的一部分时,我们得到以下错误 ERROR: Error during SonarScanner execution ERROR: Validation of project reactor failed: o To use the property "sonar.pullrequest.key" and analyze pull requests, Developer Ed

当开发人员试图合并到主分支时,我们正在尝试集成SONAR QUBE检查

当我们尝试将声纳检查作为签入策略的一部分时,我们得到以下错误

ERROR: Error during SonarScanner execution
ERROR: Validation of project reactor failed:
o To use the property "sonar.pullrequest.key" and analyze pull requests, Developer Edition or above is required. See https://redirect.sonarsource.com/doc/branches.html for more information.
o To use the property "sonar.pullrequest.branch" and analyze pull requests, Developer Edition or above is required. See https://redirect.sonarsource.com/doc/branches.html for more information.
o To use the property "sonar.pullrequest.base" and analyze pull requests, Developer Edition or above is required. See https://redirect.sonarsource.com/doc/branches.html for more information.
ERROR:
The SonarQube Scanner did not complete successfully
15:41:50.483 Post-processing failed. Exit code: 1
The process 'C:\GITGSROOT\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.11.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1
我们正在使用声纳社区版。SONAR QUBE社区版不支持这种集成吗?

如中所述

Pull请求支持至少需要SonarQube的开发者版。如果您不想分析拉请求并继续使用community edition,那么只需创建第二个构建定义,而不需要任何SonarQube任务,并在分支策略中使用它来构建拉请求

而且

拉请求分析作为Developer Edition和更高版本的一部分提供


因此,您无法使用community edition执行此操作。

下面的答复对您有帮助吗?