【问题标题】:The TFS collection (http://xxxxx:8080/tfs/tfs_xxxdefaultcollection) does not exist in the Release Management Server发布管理服务器中不存在 TFS 集合 (http://xxxxx:8080/tfs/tfs_xxxdefaultcollection)
【发布时间】: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


【解决方案1】:

您应该用于 TFS 2015 的模板如下:

  • TFVC:ReleaseTfvcTemplate.12.xaml.
  • Git:ReleaseGitTemplate.12.xaml

另外,请按照以下截图将您的 TFS 集合添加到 RM 客户端,然后点击验证成功。

Release Management 代替设置 RM 服务器和 RM 客户端 功能已集成到 Team Foundation Server (TFS) 2015 更新 2 及更高版本,并进入 TFS 网络访问中的 Release 中心。 推荐使用较新的基于 Web 的版本,我们鼓励您 在 TFS 2015 Update 2 及更高版本中使用基于 Web 的版本。更多的 详情,检查: https://www.visualstudio.com/en-us/docs/release/overview.

【讨论】:

    猜你喜欢
    • 2016-06-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-17
    • 2019-08-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多