2017-03-02 84 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

    相關問題