我试图运行一个Jenkins作业,它从Git存储库中签出代码。我正在使用Git插件和凭证插件来配置它。但是,当我运行作业时,它会失败,并出现以下错误。
Started by user anonymous
Building in workspace C:\Apps\Jenkins\jobs\Test\workspace
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository http://mygitrepo/project/myproject.git
> C:\Apps\Git\bin\git.exe init C:\Apps\Jenkins\jobs\Test\workspace\test # timeout=10
Fetching upstream changes from http://mygitrepo/project/myproject.git
> C:\Apps\Git\bin\git.exe --version # timeout=10
using .gitcredentials to set credentials
> C:\Apps\Git\bin\git.exe config --local credential.helper store --file=\"E:\TEMP\git2078292677000877754.credentials\" # timeout=10
> C:\Apps\Git\bin\git.exe -c core.askpass=true fetch --tags --progress http://mygitrepo/project/myproject.git +refs/heads/*:refs/remotes/configurator/*
> C:\Apps\Git\bin\git.exe config --local --remove-section credential # timeout=10
ERROR: Error cloning remote repo 'configurator'
ERROR: Error cloning remote repo 'configurator'
Finished: FAILURE我该如何解决这个问题?
!Git配置1
更新这个问题是藏起来的。詹金斯克隆的时候,藏匿犯了一些错误。
发布于 2015-01-14 07:05:19
我想您的Guess配置在您的项目中是错误的。

拥有性解决方案;-尝试创建本地git存储库,并将路径向上提供给.git文件。
或者,如果您存储在远程位置,如在github,存储等。使用url,pswd-从存储库管理软件获得
https://stackoverflow.com/questions/27919307
复制相似问题