【发布时间】:2016-04-03 11:36:51
【问题描述】:
我想基本上将 bin 文件夹部署到托管在 Azure 上的 VM。我想从我的 TFS 2015 Server 部署到都托管在 Azure 中的 Window 7 VM。我已经设置了一个机器文件复制任务,并试图让它指向正确的虚拟机,但似乎没有任何效果。它不断地返回错误:
2015-12-29T14:27:30.5763871Z ##[debug]Initiating copy on machine-name
2015-12-29T14:27:57.0124127Z ##[debug]Finished copy operation on machine-name
2015-12-29T14:27:57.0280368Z ##[debug]Deployment logs for copy operation on machine-name
2015-12-29T14:27:57.0280368Z ##[debug]System.AggregateException: Failed to execute the powershell script. Consult the logs below for details of the error.
2015-12-29T14:27:57.0280368Z System.Management.Automation.RuntimeException: Failed to connect to the path \\machine-name with the user username for copying. System error 53 has occurred.
2015-12-29T14:27:57.0280368Z The network path was not found.
我在上面的sn-p中更改了机器名和用户名。
我已遵循这些文章中的大部分步骤:
但是我看不到 Azure 文件复制的选项,所以它不在窗口中。当我使用 PsPing 时,我可以在以特定 WinRM 端口 5985 为目标时从 TFS 服务器连接到目标 VM。
我不确定使用 TFS + Azure 是否可以实现我想要实现的目标,但我会想象这正是 Azure 所构建的场景类型?!
任何帮助将不胜感激。
【问题讨论】:
-
您可以为此使用发布管理吗? Release Management vNext 支持 PowerShell 甚至更好,Release Management vNextNext 托管在 Visual Studio Team Services 中。
-
似乎可以解决问题。谢谢,我明天研究一下。
标签: wpf azure deployment tfs