简介: 我在Microsoft Azure上有一个Web应用程序。此Web应用程序使用azure的部署功能来提供持续集成和部署。我能够立即使用Visual Studio Online,直到我的构建时间达到60分钟。由于这个限制,我转向设置我自己的构建服务器。
情况: 我在Azure上安装了一个安装了Team Foundation Server的Windows Server 2012 Datacenter虚拟机。我将TFS设置为Build Service。在我设置并连接到我的VSO帐户后,我修改了构建配置以使用新创建的构建服务器(而不是托管构建控制器)。构建运行正常,直到部署部分(之前使用HBC)失败,并显示以下消息:
Exception Message: TF401071: Could not find the element within the process parameter. Details:
Property 'DoNotDelete' does not exist on JObject. (type BuildParameterNotFoundException)
Exception Stack Trace: at Microsoft.TeamFoundation.Build.Common.BuildParameter.GetValueT
at System.Activities.Runtime.ActivityExecutor.ExecuteInResolutionContextT
at System.Activities.InArgument`1.TryPopulateValue(LocationEnvironment targetEnvironment, ActivityInstance activityInstance, ActivityExecutor executor)
at System.Activities.ActivityInstance.InternalTryPopulateArgumentValueOrScheduleExpression(RuntimeArgument argument, Int32 nextArgumentIndex, ActivityExecutor executor, IDictionary`2 argumentValueOverrides, Location resultLocation, Boolean isDynamicUpdate)
at System.Activities.ActivityInstance.ResolveArguments(ActivityExecutor executor, IDictionary`2 argumentValueOverrides, Location resultLocation, Int32 startIndex)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Inner Exception Details:
Exception Message: Property 'DoNotDelete' does not exist on JObject. (type JsonException)
Exception Stack Trace: at Newtonsoft.Json.Linq.JPath.Evaluate(JToken root, Boolean errorWhenNoMatch)
at Microsoft.TeamFoundation.Build.Common.BuildParameter.GetValue
我正在使用GitContinuousDeploymentTemplate.12.xaml部署设置(由azure定义)
我在这里的唯一原因是我在google上找不到任何错误。可能是我累了并且遗失了一些东西,但我希望有人能够协助我解决这个问题。
答案 0 :(得分:0)
这个版本今天上午结束了。不确定为什么会发生错误。不管怎样,谢谢。