重新部署失败的git部署(Redeploy failed git deployment)

编程入门 行业动态 更新时间:2024-10-26 00:22:55
重新部署失败的git部署(Redeploy failed git deployment)

偶尔,无论出于何种原因,当我通过azure网站本地git repo部署提交时,它找不到我们的远程存储库(服务器关闭,无论如何),因此无法检索某些nuget包,导致整个部署失败。

在这种情况下,我发现强制部署再次执行的唯一方法是提交另一个更改; 这不是bueno。 有没有办法在不通过新提交触发自动部署的情况下重新运行失败的git部署?

Occasionally, for whatever reason, when I deploy a commit via azure websites local git repo, it cannot find one of our remote repos (server down, whatever) and so it fails to retrieve certain nuget packages, causing the whole deployment to fail.

In this scenario, the only way I've found to force the deployment to execute again is to commit another change; this is no bueno. Is there a way to re-run a failed git deployment without triggering the auto deployment via a new commit?

最满意答案

转到Azure门户 ,选择站点的“部署”选项卡。 选择失败的部署项,您应该会在底部命令栏中看到重试按钮。 尝试点击它。 您还可以通过选择它来强制部署任何成功的项目,然后单击“重新部署”按钮。

Goto Azure Portal, Select the DEPLOYMENTS tab of your site. Select the failed deployment item and you should see the retry button on the bottom command bar. Try click it. You can also force deploy any successful items by selecting it and click redeploy button.

更多推荐

本文发布于:2023-07-28 16:09:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1306837.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Redeploy   git   deployment   failed

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!