拉取请求策略-构建已过期-如何再次运行构建? [英] Pull request policies - Build expired - How can I run the build again?

查看:98
本文介绍了拉取请求策略-构建已过期-如何再次运行构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我提出了包含一些政策的拉取请求. 拉取请求已被批准并可以完成,但是由于构建已过期,因此我无法完成它.这是政策的状态:

I have made a pull request which has some policies. The pull request has been approved and is ready to complete, but since the build has been expired, I cannot Complete it. Here is the status of policies:

必需

  • ✔️2个审阅者已批准
  • ✔️工作项目已链接
  • ❌构建已过期

可选

  • ✔️所有评论已解决

在Visual Studio的Team Explorer的内部版本中,我看到的构建带有绿色的复选标记,但是当我右键单击内部版本时,重试构建被禁用.

In Visual Studio, in Team Explorer, in Builds, I see my build with a green check mark, but when I right click on the build, Retry Build is disabled.

如何再次运行构建?

推荐答案

通常,您可以从请求请求"概述页面进行重建:

Generally you can rebuild from Pull Request overview page:

例如,构建失败,我可以单击构建验证"策略项目-> Queue Build后面的"..."来重新构建它.

For example the build faild, the I can click the "..." behind the Build Validation policy item --> Queue Build to rebuild it.

请参考对高质量代码的拉动请求构建策略以获取详细信息.

Please refer to Pull request build policies for high quality code for details.

更多信息,请参考 VSTS构建已过期

More information please refer to Build validation, and a similar thread for your reference : VSTS Build expired

这篇关于拉取请求策略-构建已过期-如何再次运行构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆