简体   繁体   English

Azure 中的 Sonarcloud 门 Devops 拉取请求卡在等待状态

[英]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.我们在 Azure Devops 的拉取请求策略中有一个 Sonarcloud 质量门。 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.我们向 PR 添加了更新,但它在 Azure Devops 中仍处于等待状态。 When I check Sonarcloud for this branch it says Passed.当我检查 Sonarcloud 是否有此分支时,它显示已通过。

How can I restart the gate or can I debug Sonarcloud if that eg has taken longer that what Azure Devops is waiting?如果 Azure Devops 等待的时间更长,我该如何重新启动门或调试 Sonarcloud?

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.所以 go 到https://sonarcloud.io/project/settings?category=pull_request&id=*projectkey * 并更改个人访问令牌并将构建排队。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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