首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Jenkins不克隆git存储库

问Jenkins不克隆git存储库
EN

Stack Overflow用户
提问于 2015-01-13 09:54:23
回答 1查看 4.8K关注 0票数 0

我试图运行一个Jenkins作业,它从Git存储库中签出代码。我正在使用Git插件和凭证插件来配置它。但是,当我运行作业时,它会失败,并出现以下错误。

代码语言:javascript
复制
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

更新这个问题是藏起来的。詹金斯克隆的时候,藏匿犯了一些错误。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-01-14 07:05:19

我想您的Guess配置在您的项目中是错误的。

​

​

拥有性解决方案;-尝试创建本地git存储库,并将路径向上提供给.git文件。

或者,如果您存储在远程位置,如在github,存储等。使用url,pswd-从存储库管理软件获得

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27919307

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档