0
簡介: 我在Microsoft Azure上有一個Web應用程序。此webapp使用azure的部署功能來提供持續集成和部署。我能夠利用Visual Studio在線,直到我的生成分鐘在60分鐘內完成。由於這個限制,我轉而設置了自己的構建服務器。TFS構建服務失敗
情況: 我已經在Azure上安裝了一個Windows Server 2012 Datacenter虛擬機,並安裝了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部署設置(湛藍的定義)
我在這裏的唯一原因是我無法在Google上找到有關該錯誤的任何內容。這可能是我厭倦並錯過了一些東西,但我希望有人能幫助我解決這個問題。