Git 错误:克隆远程回购时出错';原点';-另一个
在Jenkins中执行“立即生成”后开始出现此错误: 由用户在工作区中的Ranorex上远程匿名构建启动Git 错误:克隆远程回购时出错';原点';-另一个,git,jenkins,Git,Jenkins,在Jenkins中执行“立即生成”后开始出现此错误: 由用户在工作区中的Ranorex上远程匿名构建启动 d:\Workspaces\Ranorex Deleting project workspace... done Cloning the remote Git repository Cloning repository https://365agile.visualstudio.com/DefaultCollection/365Agile/_git/365Agile.Ranorex &
d:\Workspaces\Ranorex
Deleting project workspace... done
Cloning the remote Git repository Cloning repository https://365agile.visualstudio.com/DefaultCollection/365Agile/_git/365Agile.Ranorex
> c:\git\bin\git.exe init d:\Workspaces\Ranorex # timeout=10 Fetching upstream changes from https://365agile.visualstudio.com/DefaultCollection/365Agile/_git/365Agile.Ranorex
> c:\git\bin\git.exe --version # timeout=10 using .gitcredentials to set credentials
> c:\git\bin\git.exe config --local credential.helper store --file=\"C:\Users\JENKIN~1.SER\AppData\Local\Temp\git199499054612009523.credentials\"
# timeout=10
> c:\git\bin\git.exe -c core.askpass=true fetch --tags --progress https://365agile.visualstudio.com/DefaultCollection/365Agile/_git/365Agile.Ranorex
+refs/heads/*:refs/remotes/origin/* # timeout=15
> c:\git\bin\git.exe config --local --remove-section credential # timeout=10 ERROR: Error cloning remote repo 'origin' ERROR: Error cloning remote repo 'origin' Finished: FAILURE
我昨天确实成功地完成了构建:
> d:\Workspaces\Ranorex>exit 0 Finished: SUCCESS
正在测试的应用程序有一些小的更改,但配置没有更改
我正在使用MS Visual Studio GIT
有什么问题吗?詹金斯默认使用“詹金斯”用户执行作业。您需要为这个jenkins用户创建/生成SSH密钥并添加它
正如你所说,你是从匿名用户开始这项工作的。你昨天用同一个用户运行了吗?来自同一个地方?是的。昨天的作业已由匿名用户启动并成功完成。它是从同一个地方运来的。我所做的只是单击“立即构建”。我已登录到Jenkins从属服务器并在命令提示符窗口中逐行尝试上面的命令。输入以下行后:c:\git\bin\git.exe-c core.askpass=true fetch--tags--progress+refs/heads/*:refs/remotes/origin/*-我得到一个错误:致命:不是git repository经过一点修改后,我现在正在运行同一个命令(c:\git\bin\git.exe-c core.askpass=true fetch--tags--progress+refs/heads/*:refs/remotes/origin/*)的身份验证失败