在过去的一周里,我一直在搞乱微软的发布管理,试图弄清楚它是否符合我们组织的需求......
首先,我使用 vNext 类型(发布、服务器、组件)创建了一个 Azure 无部署代理环境我的下一个检查是通过相同的步骤测试一个新的部署代理环境,但是当我尝试创建一个发布模板时它总是抛出我每次都有 500 个内部错误。
请注意,我确实有:
- RM_Server 和 RM_Client 都在同一台机器上
- 与 TFS 的稳定连接
- 机器和 RM 的完全管理员权限
- 创建了服务器、发布路径和环境,没有任何错误
堆:
Error - (4000, 1928) - The remote server returned an error: (500) Internal Server Error.: \r\n\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.TeamFoundation.Release.Data.WebRequest.PlatformHttpClient.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndGetAsyncMemoryStreamFromResponse(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClientResponseRetriever.EndDownloadString(IAsyncResult asyncResult, IPlatformHttpClient platformHttpClient)
at Microsoft.TeamFoundation.Release.Data.WebRequest.RestClient.EndPost(IAsyncResult asyncResult)
at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.HttpRequestor.<>c__DisplayClass1.<GetPostCaller>b__0(String url, String body)
at Microsoft.TeamFoundation.Release.Data.Proxy.RestProxy.BaseConfigurationServiceProxy.SetApplicationVersion(String applicationVersionXml)
at Microsoft.TeamFoundation.Release.Data.Model.ApplicationVersion.Storing()
at Microsoft.TeamFoundation.Release.Data.Model.ModelBase.Store()
at Microsoft.VisualStudio.Release.ViewModel.ViewModels.DetailWorkspaceViewModel.SaveItem(Boolean andRefresh)
at Microsoft.VisualStudio.Release.ViewModel.ViewModels.ApplicationVersionViewModel.SaveItem(Boolean andRefresh)
at Microsoft.VisualStudio.Release.ViewModel.ViewModels.DetailWorkspaceViewModel.<get_SaveItemCommand>b__0(Object param)
at Microsoft.VisualStudio.Release.ViewModel.Helpers.RelayCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()