意外安装了两个版本的Git(在C&D驱动器中)导致致命:身份验证失败

问题描述 投票:0回答:1

之前的Git被某人安装在D盘,就在最近,我们的一位大团队成员尝试将功能添加到一个代理中。一开始没看到这个Git已经在agent里列出来了,在控制面板里也查了,还是没看到,是在D盘。

因此一次偶然,C盘又安装了一个旧版本的Git,后来我看到它安装在D盘,所以卸载了C盘的Git。然而,正因为如此,我们的 Bamboo 计划总是抱怨以下错误,并且没有代理可运行,Bamboo 构建无法启动...

是否是因为本地代理被误删所致,如下:

2024 年 4 月 4 日 18:17 system.builder.command.local 代理

这是执行的更改:

This was the changes performed

我们如何解决这个问题?

它看起来像是与 git credential-store 有关。我们不断收到身份验证失败错误

(com.atlassian.bamboo.plugins.git.GitCommandException : command [D:\BuildUtilities\GIT\bin\git.exe -c    credential.helper= -c 'credential.helper=store --file=D:/Program Files/BAMBOO~3/temp/GITCRE~1.TMP' ls- remote http://xxxxx@xxxxxx2:7990/stash/scm/narta/pnponline-library.git failed with code 128. Working directory was [D:\Program Files\Bamboo-8-1-3\temp]., stderr: usage: git credential-store [<options>] <action> --file <path> fetch and store credentials in <path> usage: git credential-store [<options>] <action> --file <path> fetch and store credentials in <path> fatal: Authentication failed for  'http://xxxxxx2:7990/stash/scm/narta/pnponline-library.git')

每当在 Bamboo plan 上测试连接时,总是显示此错误,如下所示:

usage: git credential-store [<options>] <action>
--[no-]file <path>    fetch and store credentials in <path>
usage: git credential-store [<options>] <action>
--[no-]file <path> fetch and store credentials in <path>
fatal: Authentication failed for 'http://xxxxxx2:7990/stash/scm/narta/pnponline-library.git/'

我们现在无法运行任何 Bamboo 计划。

git bamboo
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.