2017-03-02 97 views
2

我从Visual Studio Team Services GIT存储库中的分支设置了Azure持续部署。一切工作正常,但我想在实际部署发生之前运行一些吞咽任务。有什么办法可以做到这一点?Azure应用服务使用VSTS持续部署

回答

0

Azure通过使用多个代码来源提供continuous deployment开箱即用。你将需要更多的在continuous integration的一边,运行任务和流程来构建代码。

有很多做连续集成的方法和工具,但是在Azure中最兼容的做法是在Visual Studio Team Services的构建和发布部分。

在您Azure订阅,您可以设置此以下(看来你已经设置你的Visual Studio team services代码,那么你可以跳到步骤3)的下一个步骤:

  1. 创建VSTS项目

enter image description here

  • 把你的合作德在Git回购内部VSTS
  • enter image description here

  • 创建构建定义
  • enter image description here

  • 从目录中添加您的任务
  • enter image description here

  • 添加和配置Gulp任务
  • enter image description here

  • 部署构建到Azure
  • enter image description here

    相关问题