gpt4 book ai didi

azure-pipelines - 基于 vsts 失败(轮询异常)

转载 作者:行者123 更新时间:2023-12-05 07:43:45 31 4
gpt4 key购买 nike

我遇到了这个问题,我在 vsts 上的构建失败了。当我手动触发它们时,它们工作正常。此外,当推送一些新代码时,持续集成功能也能正常工作。但是由于某些原因,构建会自动触发并且所有定义都失败。 enter image description here

也如图所示,它甚至没有启动并给出失败消息。我怎么能阻止这个。我正在使用 VS2015。

这是错误信息:

An exception occurred while polling the repository. Error: Microsoft.TeamFoundation.Build2.Server.Extensions.ExternalConnectorException: this remote has never connected ---> LibGit2Sharp.LibGit2SharpException: this remote has never connected at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in F:_git\libgit2-for-skyrise\src\LibGit2Sharp\LibGit2Sharp\LibGit2Sharp\Core\Ensure.cs:line 154 at LibGit2Sharp.Core.Proxy.git_remote_ls(Repository repository, RemoteHandle remote) in F:_git\libgit2-for-skyrise\src\LibGit2Sharp\LibGit2Sharp\LibGit2Sharp\Core\Proxy.cs:line 2314 at LibGit2Sharp.Repository.ListRemoteReferences(String url, CredentialsHandler credentialsProvider) in F:_git\libgit2-for-skyrise\src\LibGit2Sharp\LibGit2Sharp\LibGit2Sharp\Repository.cs:line 647 at Microsoft.TeamFoundation.Build2.Server.Extensions.GitConnector.GetBranches(ExternalConnection connection) in F:\v2.0\A2_work\9\s\Tfs\Service\Build2\Extensions\SourceProviders\Git\GitConnector.cs:line 19 --- End of inner exception stack trace --- at Microsoft.TeamFoundation.Build2.Server.Extensions.GitConnector.GetBranches(ExternalConnection connection) in F:\v2.0\A2_work\9\s\Tfs\Service\Build2\Extensions\SourceProviders\Git\GitConnector.cs:line 30 at Microsoft.TeamFoundation.Build2.Server.Extensions.GitSourceProvider.GetMatchingBranchRefs(IVssRequestContext requestContext, BuildDefinition definition, IList1 branchFilters) in
F:\v2.0\A2\_work\9\s\Tfs\Service\Build2\Extensions\SourceProviders\Git\GitSourceProvider.cs:line
279 at
Microsoft.TeamFoundation.Build2.Server.Extensions.GitSourceProvider.GetSourceVersionsToBuild(IVssRequestContext
requestContext, BuildDefinition definition, List
1 branchFilters, Boolean batchChanges, String previousVersionEvaluated, Dictionary`2& ciData, String& lastVersionEvaluated) in F:\v2.0\A2_work\9\s\Tfs\Service\Build2\Extensions\SourceProviders\Git\GitSourceProvider.cs:line 217 at Microsoft.TeamFoundation.Build2.Server.Extensions.BuildPollingJobExtension.Run(IVssRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime queueTime, String& resultMessage) in F:\v2.0\A2_work\9\s\Tfs\Service\Build2\Extensions\BuildPollingJobExtension.cs:line 100.

最佳答案

可以尝试一些修复:1. 通过转到 VSTS 上的 agentQueues 更新构建代理。2. 我使用远程源而不是 bitbucket/Github 源来触发构建。使用 oauth 对 Bitbucket 进行身份验证解决了我的问题。

关于azure-pipelines - 基于 vsts 失败(轮询异常),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43445265/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com