简体   繁体   中英

Sonarcloud gate in Azure Devops pull request stuck in waiting status

We have a Sonarcloud quality gate in the Pull request policy in Azure Devops. Mostly it works but sometimes it get's stuck. We added an update to the PR but is it still at status Waiting in Azure Devops. When I check Sonarcloud for this branch it says Passed.

How can I restart the gate or can I debug Sonarcloud if that eg has taken longer that what Azure Devops is waiting?

The reason for this was that the Personal Access Token used had expired, or at least creating a new one fixed this.

So go to https://sonarcloud.io/project/settings?category=pull_request&id=*projectkey * and change the Personal access token and queue the build.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM