设置继续与Visual Studio Team Services集成 [英] Setting up Continues Integration with Visual Studio Team Services

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

问题描述

我正在尝试为我的DEV框设置Continues Integration。

I am trying to setup Continues Integration for my DEV box.

这是我在Visual Studio Team Services中所做的事情

Here is what I did in Visual Studio Team Services

用于测试SharePoint项目的安装存储库

安装程序继续构建(使用默认的托管代理)

我的DEV框的安装版本,其中包含一个测试电源shell脚本,该脚本只有一个以下语句(使用默认托管代理程序)

Setup Repository for test SharePoint Project
Setup continues build(with default hosted agent)
Setup Release for my DEV box with one test power shell script which has only one below statement(with default hosted agent)

写入 - 输出"这是测试部署"
$
步骤1和2运行良好,但在步骤3中执行powershell脚本失败并给出了以下错误。

Write-Output "this is test deployment"
Step 1 and 2 works well but in Step 3 it fails on executing powershell script and gives me below error.

System.Management.Automation.RuntimeException:连接到远程服务器失败,并显示以下错误消息:WinRM客户端无法处理请求。如果身份验证方案与Kerberos不同,或者客户端计算机不是
加入域,则必须使用HTTPS传输或必须将目标计算机添加到TrustedHosts配置设置。使用winrm.cmd配置TrustedHosts。请注意,TrustedHosts列表中的计算机可能未经过身份验证。通过运行以下命令,
可以获得更多相关信息:winrm help config。有关详细信息,请参阅about_Remote_Troubleshooting帮助主题。 ---> System.Management.Automation.RuntimeException:连接到远程服务器失败,并显示
以下错误消息:WinRM客户端无法处理该请求。如果身份验证方案与Kerberos不同,或者客户端计算机未加入域,则必须使用HTTPS传输,或者必须将目标计算机添加到TrustedHosts配置设置中
。使用winrm.cmd配置TrustedHosts。请注意,TrustedHosts列表中的计算机可能未经过身份验证。您可以通过运行以下命令获取有关该信息的更多信息:winrm help config。有关更多
的信息,请参阅about_Remote_Troubleshooting帮助主题。

推荐答案

Hi,

根据您的回复,您使用的是Visual Studio  Team  Service(VSO)。该论坛适用于本地TFS。我将帮助您将此案例移至Visual Studio  Team  Service 论坛,以获得
专用支持。

Base on your reply, you are using Visual Studio Team Service(VSO). This forum is for on-premises TFS. I will help you move this case to Visual Studio Team Service forum for dedicated support.

感谢您的理解。

最诚挚的问候,  ;

Best Regards, 

Tingting


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

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