TFS 2018:如何共享部署组 [英] TFS 2018: How to share deployment group

查看:30
本文介绍了TFS 2018:如何共享部署组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 TFS 2018.我成功创建了一个Hello World"MVC 和 SQL Server 项目.我能够构建项目并将其发布到目标服务器.

为了确保我正确使用了该方法,我创建了第二个Hello World"MVC 项目.我能够成功构建它.唯一的问题是,当我进入部署组"时,我没有看到任何东西,即使目标服务器已经运行了部署机器.

我认为问题是我需要共享部署机器.所以我阅读了部署组的说明

  • 即使在展开机器时,我也看不到任何可共享的选项.

总而言之,为了共享这个部署机器,我必须做些什么,以便我可以将不同的项目发布到同一台服务器上?

解决方案

集合级别,我们确实有一个部署池(类似于代理池)".但是,它目前仅在 VSTS 中可用.

<块引用>

您能告诉我此功能是否会集成到 TFS 2018 的下一次更新中吗?此更新何时可用?

我们希望在 TFS 的下一次更新中得到它.暂定在TFS 2018 更新 2.

此功能似乎会在 TFS 2018 update2 上出现,详情请参考此链接:为什么部署组是特定于项目的?

I am using TFS 2018. I successfully created a "Hello World" MVC and SQL Server project. I was able to build and release the project to the target server.

To make sure I had the method down correctly, I created a second "Hello World" MVC project. I was able to build it successfully. The only problem was that when I went to the "Deployment Groups", I didn't see anything there, even though the target server already has a Deployment Machine running.

I figured the problem is that I need to share the Deployment Machine. So I read the instructions for Deployment Groups here:

Add a deployment pool and group to another project

To manage a deployment pool, or to add an existing deployment pool and the groups it contains to another project, choose the Manage link in the Agent Pool section of the Deployment Group page. In the Deployment Pools page, select the projects for which you want the deployment group to be available, then save the changes.

When you navigate to the Deployment Groups page in the target project(s), you will see the deployment group you added and you can assign project-specific machine tags as required.

The problem is that while I have a "Deployment Group" page, I do not see any "Agent Pool", "Manage", or Deployment Group". (See screenshots immediately below).

Am I missing something obvious? Is this a case of the instructions really being meant for VSTS and/or Azure, but not TFS?

  • I selected the deployment group and see the machine that I registered on my target server.

  • Even when expanding the machine, I don't see any options to share.

In summary, what I do have to do in order to share this Deployment Machine, so that I can release different projects to the same server?

解决方案

At the collection level, we do have a "Deployment Pool (similar to Agent Pools)". However, it is only available in VSTS for now.

Can you tell me if this feature will be integrated in the TFS 2018's next update ? and when this update should be available ?

We are hoping to get it in the next update in TFS. Tentatively in TFS 2018 Update 2.

This feature seems will come up on TFS 2018 update2, details please refer this link: Why are deployment groups project specific?

这篇关于TFS 2018:如何共享部署组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆