部署组离子 TFS 2018

Deployment Groups ion TFS 2018

您是否需要部署组 tfs 2018 的代理,或者是否最好有一个单独的代理来处理不同环境的部署?

部署组不是真正的 group/agent/machine。它是一组逻辑部署目标机器,每台机器上都安装了代理程序。

部署组代表物理环境;例如,"Dev"、"Test"、"UAT" 和 "Production"。实际上,部署组只是代理的另一组,很像代理池。

Some advantage when using Deployment groups:

  • Specify the security context and runtime targets for the agents. As you create a deployment group, you add users and give them
    appropriate permissions to administer, manage, view, and use the
    group.
  • Let you view live logs for each server as a deployment takes place, and download logs for all servers to track your deployments down to
    individual machines.
  • Enable you to use machine tags to limit deployment to specific sets of target servers.

至于使用部署组或单独的代理部署到不同的环境,这取决于您的环境和团队的决定。

有关 TFS 中部署组的更多详细信息,请查看我们的 official doc