[英]Azure Pipelines fails in Deployment Slots
I have created my release pipeline with few stages (DEV, QA, Production) where the Production App Service has a Deployment Slot with Auto Swap Enabled.我创建了包含几个阶段(DEV、QA、生产)的发布管道,其中生产应用程序服务具有启用了自动交换的部署槽。 However when I perform the release, it fails in the swapping slot tasks with the below error message.但是,当我执行发布时,交换槽任务失败并显示以下错误消息。 Have gone through many articles available in google and stack overflow but doesn't seem to help.浏览了 google 和 stack overflow 中可用的许多文章,但似乎没有帮助。 Any pointers on what could be wrong would be very much helpful.任何关于可能出错的指示都会非常有帮助。
2021-08-18T16:30:41.0295503Z ##[error]Error: Failed to swap App Service 'jdmessaging' slots - 'preprod' and 'production'. Error: Conflict - Cannot modify this site because another operation is in progress. Details: Id: 32473596-226d-46b4-9c98-31285c27418e, OperationName: SwapSiteSlots, CreatedTime: 8/18/2021 4:28:43 PM, WebSystemName: WebSites, SubscriptionName: 74d83097-e9c9-4ca7-9915-7498a429def4, WebspaceName: DEMO-CentralUSwebspace, SiteName: jdmessaging, SlotName: preprod, ServerFarmName: , GeoOperationId: (null) (CODE: 409)
Note: For the first time, the release happened successfully with Deployment Slots.注意:首次使用部署槽成功发布。 However, now we are trying the second release and encountered this issue.但是,现在我们正在尝试第二个版本并遇到这个问题。
This issue seems like more of the scenario,这个问题似乎更多的是场景,
Suggestion:建议:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.