TFS 构建服务失败
TFS Build Service failing
简介:
我在 Microsoft Azure 上有一个 Web 应用程序。此 webapp 使用 azure 的部署功能来提供持续集成和部署。我能够在线使用 Visual Studio,直到我的构建时间达到 60 分钟为止。由于这个限制,我转而设置自己的构建服务器。
情况:
我在 Azure 上设置了一个 Windows Server 2012 数据中心虚拟机,上面安装了 Team Foundation Server。我将 TFS 设置为构建服务。完成设置并连接到我的 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 上找不到关于该错误的任何信息。可能是我累了,遗漏了什么,但我希望有人能够帮助我解决这个问题。
构建在今天早上结束了。不确定为什么会发生该错误。还是谢谢了。
简介: 我在 Microsoft Azure 上有一个 Web 应用程序。此 webapp 使用 azure 的部署功能来提供持续集成和部署。我能够在线使用 Visual Studio,直到我的构建时间达到 60 分钟为止。由于这个限制,我转而设置自己的构建服务器。
情况: 我在 Azure 上设置了一个 Windows Server 2012 数据中心虚拟机,上面安装了 Team Foundation Server。我将 TFS 设置为构建服务。完成设置并连接到我的 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 上找不到关于该错误的任何信息。可能是我累了,遗漏了什么,但我希望有人能够帮助我解决这个问题。
构建在今天早上结束了。不确定为什么会发生该错误。还是谢谢了。