Ich benutze Team Foundation Server 2017 Update 1. Ich habe eine Release-Management erstellt, die unter ihren Artefakten eine XAML-Build von einem Projekt enthält nicht die gleiche der Release-Definition. Immer wenn ich das Release starte, ist der Download des Artefakts fehlgeschlagen. Ich habe versucht, den gleichen Build von einem anderen Release-Management im selben Projekt des Builds sowie andere vNext-Builds aus verschiedenen Projekten zu verwenden und in beiden Fällen funktioniert der Download.TFS2017 - Build und Release-Management - Fehler beim Herunterladen von Artefakten von XAML Build aus verschiedenen Projekten
Hier unten ist das Protokoll des Fehlers:
An error occurred during download: System.AggregateException: One or more errors occurred. ---> Microsoft.TeamFoundation.Build.WebApi.BuildNotFoundException: Requested build 34588 could not be found.
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage response)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__43`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__27`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__26`1.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Microsoft.TeamFoundation.Release.ArtifactRepository.Build.BuildArtifact.EnsureVersionBelongsToLinkedDefinition(ArtifactDefinition artifactDefinition, BuildHttpClient buildClient, XamlBuildHttpClient xamlBuildClient)
at Microsoft.TeamFoundation.Release.ArtifactRepository.Build.BuildArtifact.Download(ArtifactDefinition artifactDefinition, String localFolderPath)
at Microsoft.TeamFoundation.DistributedTask.Plugin.Release.AgentArtifactDownloader.Download(ArtifactDefinition artifactDefinition, Uri workingFolder)
at Microsoft.TeamFoundation.DistributedTask.Plugin.Release.ReleaseJobExtension.<>c__DisplayClass23_0.<DownloadArtifacts>b__1()
at Microsoft.TeamFoundation.Release.Windows.Implementation.RetryExecutor.Execute(Action action)
---> (Inner Exception #0) Microsoft.TeamFoundation.Build.WebApi.BuildNotFoundException: Requested build 34588 could not be found.
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponse(HttpResponseMessage response)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__43`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__27`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__26`1.MoveNext()<---
jemand sieht Hat etwas ähnliches und haben eine Vorstellung davon, wie man es beheben?
Es ist durchaus möglich, dass das Szenario, das Sie versuchen, nicht unterstützt wird - XAML-Builds sind veraltet. –
In der Release-Definition habe ich das Problem, dass es ein anderes XAML-Build gibt, das im selben Projekt wie die Release-Definition definiert ist und es funktioniert gut –
Richtig. Das Szenario lautet "Ich möchte auf einen XAML-Build von einer Release-Definition über Teamprojektgrenzen hinweg zugreifen". Dies kann ein nicht unterstütztes Szenario sein. –