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.
Hi,
-
I am just wondering if this feature needs a ADO Service Hook configuration? Or SonarQube will consider Publish Report as a trigger and then Post PR status once Report processing is done?
-
If using enterprise edition this feature is better and if Developer version then we could set at the Pipeline task level to wait for quality gate right. But here there can be a minute wastage of resources because of wait time. Did I get this right or is there any other special intentions to use this feature?
