简体   繁体   English

在持续部署中管理相关项目的部署

[英]Manage related project deployment in Continuous Deployment

I am planning of using Visual Studio TFS server for Continuous Deployment. 我计划使用Visual Studio TFS服务器进行连续部署。

I have few projects which are related and when a particular project is updated it might rigger a change in that related project 我有几个相关的项目,当更新特定项目时,它可能会操纵该相关项目的变更

Eg Web Project and a Middle Layer API project 例如,Web项目和中间层API项目

Now when I follow CD , how can I ensure that Middle layer API project is deployed before the Web Project is deployed 现在,当我阅读CD时,如何确保在部署Web项目之前已经部署了中间层API项目

You have to create only one release to deploy your two related projects. 您只需创建一个发行版即可部署两个相关项目。 Choose one of them as the main artifact. 选择其中之一作为主要工件。 Let's say the web project. 比方说网络项目。

At the artifacts page in the release configuration, add your middle layer project as another artifact to the release. 在发行版配置的工件页面上,将中间层项目作为另一个工件添加到发行版中。

Now that you have your two target projects, setup your release pipeline so that you add the steps to deploy your layer project before your web project. 现在您已经有了两个目标项目,请设置发布管道,以便在Web项目之前添加部署图层项目的步骤。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM