在Jenkins中执行Build Now后开始获取此错误:
由用户匿名在工作区的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。
你知道可能出了什么问题吗?
发布于 2016-02-12 00:18:14
默认情况下,Jenkins使用'jenkins‘用户执行作业。您需要为这个jenkins用户创建/生成SSH密钥并添加它。
正如您所说的,您是在匿名用户的帮助下开始此作业的。你昨天是用同一个用户运行的吗?从同一个地方?
https://stackoverflow.com/questions/35343623
复制相似问题