【发布时间】:2017-02-12 00:59:43
【问题描述】:
这是我的设置”
- TFS 版本 – 2015
- 发布管理 – 2015 年
- Visual Studio- 2012
帐户 - 所有都在同一个服务帐户下运行,并且同一个帐户被配置为 RM 客户端中的发布管理器。
域 - 所有服务器都在同一个域中
Servers – 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
尝试了所有可能的修复方法,但没有成功。请帮忙。
【问题讨论】:
-
您是否检查过您的“TeamFoundationServerUrl”是否已在您的 RM 部署代理上注册(在管理 > 管理 TFS 上)?这个技巧对我有用。
标签: .net deployment tfs release