【发布时间】:2021-02-16 00:14:22
【问题描述】:
当开发人员尝试合并到 MAIN 分支时,我们正在尝试集成 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 社区版。 SONAR QUBE 社区版不支持此集成吗?
【问题讨论】:
-
下面的回复对你有帮助吗?
标签: azure-devops sonarqube azure-pipelines sonarqube5.1