Hello, All!
We’ve used SonarQube 9.9 Comunity with comunity branch plugin for code analyzing in our Azure DevOps projects, using the appropriate Azure DevOps tasks in our build definitions:
Several days ago we’ve upgraded to Developer edition and I’ve disabled this plugin in sonar.properties file.
But after this upgarde we start to get failed task ‘sonarsource.sonarqube.6D01813A-9589-4B15-8491-8164AEB38055.SonarQubeAnalyze@5’ with the next messages:
##[error]ERROR: Validation of project failed:
o To use the property “sonar.pullrequest.key” and analyze pull requests, Developer Edition or above is required. See Branch analysis for more information.
o To use the property “sonar.pullrequest.branch” and analyze pull requests, Developer Edition or above is required. See Branch analysis for more information.
o To use the property “sonar.pullrequest.base” and analyze pull requests, Developer Edition or above is required. See Branch analysis for more information.
We already uses Developer Edition with valid license, so why we’ve got this messages ?
This task worked fine till upgrade to Developer Edition.
SonarQube version: 9.9.1.69595 Developer Edition
I’ve tried to tune our SonarQube and to rebuild our .NET project.
Now I’ve got the some other error messages.
I’ve failed SonarQubeAnalyze@5 task only. Previous SonarQubePrepare@5 task is successfull.
Let me provide the task defintion and attached log.txt (30.2 KB)
build log.
Task:
Also I’ve prepared the debug log of our build with SonarQube analyzing. May be this will be more usefull. Log file in attachment.
And one more remark: we use the Self-Host Windows 11 build agent v. 2.181.2 debug_log.txt (69.9 KB)
I’ve removed comunity branch plugin from extensions\plugins - error has diappeared.
Thank you for pointing to issue source !
I thought, that’s enough just to disable this plugin in sonar.properties and not necessary to remove plugin from plugins directory.