简体   繁体   English

VSTS的Azure App Service连续部署

[英]Azure App Service Continuous Deployment with VSTS

I have set up Azure continuous deployment from a branch in my Visual Studio Team Services GIT Repository. 我已经从Visual Studio Team Services GIT存储库中的分支设置了Azure连续部署。 Everything is working fine however I would like to run a few gulp tasks before the actual deployment takes place. 一切工作正常,但是在实际部署之前,我想运行一些gulp任务。 Is there a way how I can do this? 有没有办法我可以做到这一点?

Azure provides continuous deployment out of the box through the use of several sources of your code. Azure通过使用多个代码源提供了开箱即用的continuous deployment What you will need will be more in the side of continuous integration , running tasks and flows to build the code. continuous integration ,运行任务和流程以构建代码方面,您将需要更多。

There are many ways and tools of doing continuous integration, nevertheless the most compatible to do this in Azure would be within the build and release parts of Visual Studio Team Services . 进行持续集成的方法和工具有很多,但是在Azure实现此功能最兼容的方法是在Visual Studio Team Services和发布部分中。

Within your Azure subscription you can setup this following the next steps( it seems you have already setup your code in Visual Studio team services , then you can skip to step 3 ): 在您的Azure订阅中,您可以按照以下步骤进行设置( 似乎您已经在Visual Studio team services设置了代码,然后可以跳到步骤3 ):

  1. Creating a VSTS project 创建一个VSTS项目

在此处输入图片说明

  1. Putting your code in a Git Repo inside VSTS 将您的代码放入VSTSGit Repo中

在此处输入图片说明

  1. Creating a Build definition 创建一个构建定义

在此处输入图片说明

  1. Adding your tasks from the Catalog 从目录添加任务

在此处输入图片说明

  1. Adding and configuring your Gulp Tasks 添加和配置您的Gulp任务

在此处输入图片说明

  1. Deploying the build to Azure 将内部版本部署到Azure

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 带有Git子模块的VSTS应用程序的连续部署在Azure上失败 - Continuous Deployment of VSTS app with Git submodules fails on Azure 从不同的VSTS帐户进行Azure持续部署 - Azure continuous deployment from different VSTS account Azure容器注册表中的Azure App Service连续部署 - Azure App Service continuous deployment from Azure Container Registry 使用Github的Azure'Linux Web App'应用服务连续部署被破坏 - Azure 'Web App on Linux' app service continuous deployment with Github is broken Azure Service Fabric - 在VSTS上持续集成 - Azure Service Fabric - continuous integration on VSTS Azure App Service连续部署Webhook不起作用 - Azure App Service Continuous Deployment Webhook doesn't work 从Visual Studio Team Services到Azure App Service的连续部署 - Continuous deployment from Visual Studio Team Services to Azure App Service 如何使用Azure(个人)帐户设置VSTS(公司)帐户以进行持续部署 - How to setup an account of VSTS(corporate) with an account of Azure(personal) to Continuous Deployment VSTS Azure功能的连续部署失败-ERROR_FILE_IN_USE - VSTS Continuous Deployment of Azure Function fails - ERROR_FILE_IN_USE VSTS使用持续部署将.NET ASP转换为Web服务 - VSTS build .NET ASP to Web Service using Continuous Deployment
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM