[英]add post deployment script on azure website(app service)
I am trying to run a post deployment script to delete few files from azure website(app service-kudu).我正在尝试运行部署后脚本以从 azure 网站(app service-kudu)中删除几个文件。 I am using visual studio online 2015 for CI-build definition.
我正在使用 Visual Studio Online 2015 进行 CI 构建定义。 I want to add a post deployment script that can delete few files from app service(site\\wwwroot..).
我想添加一个部署后脚本,可以从应用程序服务(站点\\wwwroot ..)中删除几个文件。
I looked into [ How to add a custom post deployment script to azure websites?我查看了 [ 如何将自定义部署后脚本添加到 azure 网站?
On this link it is mentioned to add POST_DEPLOYMENT_ACTION in app setting on azure portal.在此链接上,提到在 azure 门户的应用设置中添加 POST_DEPLOYMENT_ACTION。 I am unable to understand what will be the exact path of the script .
我无法理解脚本的确切路径是什么。 If I write a cmd script and keep in the folder where solution file is present.
如果我编写一个 cmd 脚本并将其保存在存在解决方案文件的文件夹中。 Now what will be the exact path ?
现在确切的路径是什么?
If you are using a VSTS build definition, your build is happening in VSTS and is not using Kudu.如果您使用的是 VSTS 构建定义,则您的构建是在 VSTS 中进行的,而不是使用 Kudu。 As such, this post deployment hook feature is not available.
因此,此部署后挂钩功能不可用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.