偶尔,无论出于何种原因,当我通过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.
更多推荐
发布评论