Azure Devops Status Policy desperatly empty

Hello,

I’m trying to plug sonarqube pull decoration with Azure Devops Server 2019 with no success :frowning:

When I want to set the status policy of the master branch, the drop down list is empty for policy services.
My builds call correctly sonarqube analysis service but I’m blocked for the pull request decoration.

Setup is :
Azure Devops Server 2019 Update 1 (on-premise) version Dev17.M153.5
Azure Devops Sonarqube extension 4.11.0
SonarQube Developer Ed version 8.3.1.34397 (on-premise)

On sonarqube, ALM integration is setup, PAT is set and Pull Request Decoration is enabled.
On Azure Devops, Service connection is defined for sonarqube, token set, authorization given for all pipeline to use it.

But on my status policy selection list, still no items :
image

Any idea on what to do, logs to check ?

Thanks in advance for your help

Regards

Hi,

Just type in: SonarCloud/quality gate

it normally works.

Best

1 Like

I’ve tried adding “SonarCloud/quality gate” as the status to check but this is never set despite the SonarQube build being successful and the Quality Gate showing green on SonarQube server. The pull request condition is never satisfied. We’re using SonarQube version 9.0.0.45539 and Azure Devops Server 2020.

image