如果不属于域,则将部署代理连接到 Visual Studio 联机

Connect Deployment Agent to Visual Studio Online if not part of domain

我正在将 Microsoft Deployment Agent 2013 安装到 Azure VM 上。为了连接到我的发布管理服务器(Visual Studio 在我的情况下在线)我需要以本地系统或自定义帐户身份验证:

所以根据我的凭据 - 我已通过验证可以使用发布管理服务,但我无法将它们连接到发布管理服务器:

I, 2015/02/04, 16:50:11.245, User [ME] is system, Admin  
I, 2015/02/04, 16:50:11.260, Validated account to use as identity for Release Management Services. 
I, 2015/02/04, 16:50:11.260, Validating Release Management Server for Team Foundation Server 2013... 
E, 2015/02/04, 16:50:11.448, Got a non-OK status code of NonAuthoritativeInformation from http://whatever.visualstudio.com/...

当然 - 我登录该框所用的凭据与我访问 RM 服务器所用的凭据不同。所以你我想我有两个选择:

另一种选择当然是在没有代理的情况下使用发布管理。其中使用远程 powershell。这也不起作用 - 部署失败:

Connecting to remote server boxcloudapp.net failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.

根据我的阅读,我怀疑这是因为 powershell 在 SSL 上运行并向 Release Management 提供自签名证书,而 Release Management 作为根 CA 不受信任。

我在这里做错了什么?不会那么难吧?

有了 Visual Studio Online,您既不需要 Release Management 服务器,也不需要部署代理。

如果您打开 Release Management Client 并连接到 https://youraccount.visualstudioonline.com,您将自动配置 Release Management Online。然后,您可以 link 将 RM 在线服务器连接到您的 Azure 帐户并在没有代理的情况下进行部署。

http://nakedalm.com/create-release-management-pipeline-professional-developers/