Azure DevOps发布:错误 - 无法将Web软件包部署到应用程序服务
我创建了一个.net6函数应用程序项目,并在Azure Devops中创建了一个管道。每当我推动新的变化时,版本就会丢弃以下错误Aftar管道完成。 。
如果我从Azure App Service Portal中删除Deploymenter Center中的倾向流程,并单击以下图所示的创建版本,则部署是成功的,如下所示
。 epded.png“ rel =” nofollow noreferrer“>
我在哪里做错了?如果必须自动触发并在没有任何其他工作(例如断开连接并重新尝试)的情况下自动取得成功的解决方案是什么?
I have created a .Net6 function app project and created a pipeline in the Azure DevOps. Whenever I push a new changes the Releases throws the following error aftar pipeline completed. .
The deployment is success if I disconnet the deplyment process in the Deploymenter Center from Azure App Service portal and click on the Create Release manually as shown below
Where I did go wrong? What's the solution if it has to trigger and get succeeded automatically without any additional work like disconnecting it and re-trying it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AFAIK在连续部署期间,部署方法将对应用程序运行应用程序的应用程序的
/home/site/wwwroot
文件夹文件进行更改。有时,该应用程序在部署过程中可能会不可预测,因为同时,文件并非全部更新。
如果它们有助于解决此问题,请找到以下步骤:
witch_run_from_package
0 。请参阅此 fix/workaround 来自类似的问题。webles_webdeploy_use_scm
在应用程序设置为false> false
的azure函数应用程序配置。AFAIK, during the continuous deployment, deployment methods will make changes to the
/home/site/wwwroot
folder files of the application which are used to run your application.Sometimes the application might behave unpredictably during deployment because at the same time, the files aren't all updated.
Please find the below steps if they help to fix the issue:
WEBSITE_RUN_FROM_PACKAGE
to0
on the application settings. Refer to this fix/workaround from the similar kind of issue.WEBSITE_WEBDEPLOY_USE_SCM
in the Application Settings toFalse
of the Azure Function App Configuration.