版本管理服务器

时间:2016-10-04 00:34:37

标签: .net deployment tfs release

这是我的设置"

  • TFS版本 - 2015
  • 发布管理 - 2015
  • Visual Studio- 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

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

1 个答案:

答案 0 :(得分:0)

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

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

另外,请按照以下屏幕截图在RM客户端中添加您的TFS集合,然后点击验证

enter image description here

  

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