VSTS Build-Definition ist mit 'kontinuierliche Integration' aktiviert konfiguriert und wenn eine Festschreibung erkannt wird der Build in die Warteschlange gestellt, aber es scheitert sofort, durch sofort ich meine sofort, sogar vor Get sources
Aufgabe. Auch bekomme ich keine Protokollinformationen von der Detailseite des fehlgeschlagenen Builds, nur eine große weiße leere Leinwand, Ereignis mit system.debug
wird auf true
gesetzt.VSTS schlägt nur fehl, wenn durch einen Commit ausgelöst
Außerdem anderen Zweig Einstellungen in Branch
Eigenschaft Get sources
Aufgabe und Branch filter
der CI
Einstellungen Seite, variierend von 'entwickeln' Ich habe versucht, 'refs/heads/entwickeln', '', ‚refs/heads/ 'etc ... und wieder kein Erfolg
Der Agent, der den Build und das externe Git-Repository ausführt, befindet sich hinter einer Firewall (Intranet). Ich nehme an, der Fehler hat irgendwie damit zu tun, aber ich habe keine Ahnung, wie ich damit umgehen soll.
Hat jemand die gleichen Probleme erlebt und eine Lösung gefunden?
EDIT:
@jessehouwing wies mich in _diag
zu schauen und dort fand ich diese Fehlermeldung angezeigt, aber immer noch um Informationen über die Ursache dafür zu finden suchen:
[2017-12-22 14:56:14Z WARN VisualStudioServices] Authentication failed with status code 401.
Date: Fri, 22 Dec 2017 14:56:13 GMT
P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
Server: Microsoft-IIS/10.0
WWW-Authenticate: Bearer authorization_uri=https://login.microsoftonline.com/0278d500-4cee-4ff3-ba11-a727fc9c10bb, Basic realm="https://tfsprodweu2.app.visualstudio.com/", TFS-Federated
X-TFS-ProcessId: *************************************
Strict-Transport-Security: max-age=31536000; includeSubDomains
ActivityId: *************************************
X-TFS-Session: *************************************
X-VSS-E2EID: *************************************
X-FRAME-OPTIONS: SAMEORIGIN
X-TFS-FedAuthRealm: https://tfsprodweu2.app.visualstudio.com/
X-TFS-FedAuthIssuer: https://ridercorp.visualstudio.com/
X-VSS-AuthorizationEndpoint: https://ridercorp.vssps.visualstudio.com/
X-VSS-ResourceTenant: *************************************
X-TFS-SoapException: %3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csoap%3AEnvelope%20xmlns%3Asoap%3D%22http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelope%22%3E%3Csoap%3ABody%3E%3Csoap%3AFault%3E%3Csoap%3ACode%3E%3Csoap%3AValue%3Esoap%3AReceiver%3C%2Fsoap%3AValue%3E%3Csoap%3ASubcode%3E%3Csoap%3AValue%3EUnauthorizedRequestException%3C%2Fsoap%3AValue%3E%3C%2Fsoap%3ASubcode%3E%3C%2Fsoap%3ACode%3E%3Csoap%3AReason%3E%3Csoap%3AText%20xml%3Alang%3D%22en%22%3ETF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.%3C%2Fsoap%3AText%3E%3C%2Fsoap%3AReason%3E%3C%2Fsoap%3AFault%3E%3C%2Fsoap%3ABody%3E%3C%2Fsoap%3AEnvelope%3E
X-TFS-ServiceError: TF400813%3A%20Resource%20not%20available%20for%20anonymous%20access.%20Client%20authentication%20required.
X-VSS-S2STargetService: 00000002-0000-8888-8000-000000000000/visualstudio.com
X-TFS-FedAuthRedirect: https://app.vssps.visualstudio.com/_signin?realm=ridercorp.visualstudio.com&reply_to=https%3A%2F%2Fridercorp.visualstudio.com%2F_apis%2Fdistributedtask%2Fpools%2F7%2Fmessages%3FsessionId%3D88f0cd4f-94e8-4b7b-a736-45663feb4c19%26lastMessageId%3D1606&redirect=1&context=eyJodCI6MiwiaGlkIjoiNDE3MWQ3YmEtYTc1ZS00YmYyLTlmYmEtZWU5MTA1N2E4YjQxIiwicXMiOnt9LCJyciI6IiIsInZoIjoiIiwiY3YiOiIiLCJjcyI6IiJ90#ctx=eyJTaWduSW5Db29raWVEb21haW5zIjpbImh0dHBzOi8vbG9naW4ubWljcm9zb2Z0b25saW5lLmNvbSIsImh0dHBzOi8vbG9naW4ubWljcm9zb2Z0b25saW5lLmNvbSJdfQ2
X-Powered-By: ASP.NET
X-Content-Type-Options: nosniff
EDIT Januar/2/2018
in _admin/_AgentPool 's Seite, Builds glücklich (grün), aber mit unmöglichen Build-Dauer von 2 Sekunden, aber in Build-Zusammenfassung der Build-Definition ist es tatsächlich rot.
im '_diag \ agent _... utc.log' Ich fand' Authentifizierung fehlgeschlagen mit Statuscode 401', irgendeine Idee warum? manuelle Auslöser hat keine Probleme –
Das tue ich nicht, aber jetzt haben Sie eine nützlichere Fehlermeldung und einen Blickwinkel der Untersuchung. – jessehouwing
Sie könnten ein Problem in das Microsoft/vsts-Agent-Repository auf GitHub einordnen. – jessehouwing