2016-10-04 49 views
0

这里是我的设置”的TFS集合(HTTP:// XXXXX:8080/TFS/tfs_xxxdefaultcollection)在发布管理服务器不存在

  • TFS版本 - 2015年
  • 发布管理 - 2015年
  • 视觉工作室 - 2012

帐户 - 一切皆在同一个服务帐户和相同的帐户下运行配置为在RM客户端发布经理。

- 所有服务器都处于同一域中

服务器 - TFS,RM服务器和客户端RM都在同一个盒子。部署代理位于同一个域下的应用程序服务器中。

流程模板 - 正如我从VZ-2012触发构建我使用DefaultTemplate.11.1.xaml

什么是工作

我排队从VS Studio及其工作构建预期 我可以从发布管理客户端将它部署到目的地。

什么不工作 -

当过我的释放(在流程模板)设置为true,我收到以下错误

Release the Build 

00:03 
Copy Files to Drop Location 

00:00 
Run the Release Management Build process for the Current Configuration 

Microsoft.TeamFoundation.Release.Build starting process... 
Processing using the following parameters: 
TeamFoundationServerUrl:    http://xxxx:8080/tfs/tfs_xxxcdefaultcollection 
TeamProjectName:      xxxxx 
TeamProjectWithCollection:    tfs_xxxdefaultcollection/xxxxx 
BuildDefinitionName:     Generic_Voice_Build_web_portals_XX 
BuildNumber:       Generic_Voice_Build_web_portals_XX_20161003063809.1 
TargetStage: 

Creating the release and waiting for deployment result... 

ERROR: The TFS collection (http://xxx:8080/tfs/tfs_xxxdefaultcollection) does not exist in the Release Management Server. 
Exit: 1 

00:00 
If Release Build Error Occurs 

00:00 
Throw Release Build Failed Exception 

尝试了所有可能的修复程序可用,没有运气。请帮忙。

+0

您是否检查过您的“TeamFoundationServerUrl”是否在您的RM deploy部署代理(在管理>管理TFS上)上注册?这个窍门对我有用。 –

回答

0

你应该TFS 2015年使用的模板如下:

  • TFVC:ReleaseTfvcTemplate.12.xaml。
  • 混帐:ReleaseGitTemplate.12.xaml

另外,请按照下面的截图添加您的TFS收集RM客户端,然后单击验证成功。

enter image description here

而不是设置RM服务器和RM客户端,版本管理 功能已经被集成到的Team Foundation Server(TFS)2015年 Update 2和上述,并进入发布枢纽在TFS网络访问。 较新的基于Web的版本是推荐,我们建议您在 TFS 2015年更新2及以上版本使用基于Web的版本。更多 的详细信息,请检查: https://www.visualstudio.com/en-us/docs/release/overview