Hi Christophe_Havard
we are using soanrcloud in CI.
I am facing the same issue of Sonarcloud/Quality Gate as waiting in Pull request. But in optional it is showing as passed. And is there anyway to make optional Quality gate as required because it is not manually set up there.
Facing exactly the same issue here.
The quality gate check & build validation pipeline is configured using this example
Hi @Ivan_Ribakov ,
Can you try this? Add these three parameters to your SonarQubePrepare or SonarCloudPrepare task:
sonar.pullrequest.vsts.instanceUrl=$(System.TeamFoundationCollectionUri)
sonar.pullrequest.vsts.project=$(System.TeamProject)
sonar.pullrequest.vsts.repository=$(Build.Repository.Name)
This may help realign any missing or incorrect parameters to prevent the issue.