We have Developer edition but we've got branch and PR errors in SonarQube AzDo tasks

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:

  • task: sonarsource.sonarqube.15B84CA1-B62F-4A2A-A403-89B77A063157.SonarQubePrepare@5
  • task: sonarsource.sonarqube.6D01813A-9589-4B15-8491-8164AEB38055.SonarQubeAnalyze@5
  • task: sonarsource.sonarqube.291ed61f-1ee4-45d3-b1b0-bf822d9095ef.SonarQubePublish@5

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

Hi,

Welcome to the community!

I think that’s probably an outdated (as in, the wording is no longer correct) error message. In Azure Pipelines we automatically detect PR analysis parameters, so what you’re sending is redundant at best. Can you drop those parameters and try again?

 
Ann

Hello, Ann!
Thank you for your answer!

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:

- task: sonarsource.sonarqube.6D01813A-9589-4B15-8491-8164AEB38055.SonarQubeAnalyze@5
        displayName: 'Run Code Analysis'
        continueOnError: true
        enabled: true

Hello, Ann, once again!

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)

Hi,

The error here is coming from a plugin we don’t support. You should talk to its maintainers.

 
Ann

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.