Visual Studio Team Services部署 [英] Visual Studio Team Services Deployment

查看:101
本文介绍了Visual Studio Team Services部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio Team Services进行构建和部署。

I am using Visual Studio Team Services for build and deployment.

构建工作正常但部署到远程系统时 它无法识别远程系统的IP

Build is working but when deploying to remote system  its not recognizing Ip of remote system

如何使用Visual Studio Team Services部署到远程系统。

How to deploy to remote system using Visual Studio Team Services.

推荐答案

嗨AkG25,



如果您正在尝试执行此操作,则无法使用Team Services 托管代理部署到远程计算机。这是因为"视线"是指视线。托管代理不适用于您的远程计算机。参考

https://www.visualstudio.com/en-us/docs/build/concepts/agents/agents#communication-to-deploy-to-target-servers

Hi AkG25,

You cannot deploy to remote machines with Team Services hosted agents, if that is what you are trying to do. This is because "line of sight" is not there for hosted agent to your remote machines. refer https://www.visualstudio.com/en-us/docs/build/concepts/agents/agents#communication-to-deploy-to-target-servers

您可以使用部署组来使用Team Service进行部署。我已在此处对其进行了描述  http:// chamindac.blogspot.com/2017/06/deployment-groups-in-vs-team-services.html

You can use deployment groups to do the deployments with Team Service. I have described it in here http://chamindac.blogspot.com/2017/06/deployment-groups-in-vs-team-services.html

或者您可以设置一个内部代理远程计算机的视线,可以使用PowerShell远程处理来执行部署活动。或者,您甚至可以在要部署的每台远程计算机中设置代理。  http://chamindac.blogspot.com/2016/05/configure-on-prem-agent-for-visual.html

or you can set up an on premise agent which is having line of sight to your remote machine(s) which can use PowerShell remoting to do the deployment activities. Or you can even setup agents in each of the remote machine you want deployment to happen. http://chamindac.blogspot.com/2016/05/configure-on-prem-agent-for-visual.html

我建议您继续使用部署小组,因为这将是使用VSTS进行部署的更好的未来方法。

My recommendation is for you to go ahead with Deployment groups as it will be the better futuristic  approach for deployments with VSTS.

干杯!

Chaminda


这篇关于Visual Studio Team Services部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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