jenkins Error performing command: git ls-remote -h
来源:互联网 发布:根域名 编辑:程序博客网 时间:2024/06/05 02:17
Jenkins新建项目中源码管理使用Git时遇到如下问题:
Failed to connect to repository : Error performing command: git ls-remote -h http://192.168.0.22/finance/AMS-Server.git HEAD
解决:
1.Jenkins服务器上查看git是否已安装及安装位置
git version
whereis git
(yum install git 安装的Git版本过低,应该用jenkins安装插件或自行安装更高版本)
2. 打开Jenkins的 主页面 > 系统管理 > Global Tool Configuration
可以看到错误提示:There's no such executable git in PATH: /sbin, /usr/sbin, /bin, /usr/bin.
在出错的地方填入: "whereis git"的地址 + "/bin/git" (如上面"whereis git"的地址为"/usr/local/git",则应该填入 "/usr/local/git/bin/git") 并保存
3. 多刷新几次,在源码管理中添加Git 地址,可以发现已经好了
阅读全文
0 0
- jenkins Error performing command: git ls-remote -h
- jenkins Error performing command: git ls-remote -h
- jenkins Error performing command: git ls-remote -h
- jenkins 使用git仓库部署 报错:jenkins Error performing command: git ls-remote -h
- 后台报Error performing load command
- jenkins git can't work ERROR: Timeout after 10 minutes ERROR: Error fetching remote repo 'origin'
- Exception caught during execution of ls-remote command
- git push remote error解决办法
- An error occurred while performing 'git pull' on repo 'master'
- Git学习笔记-远程仓库-ls-remote命令
- Jenkins remote build trigger (eg: from git push) tokens
- remote-ext.h(417) : error C2143:syntax error错误解决方法
- Stash Git error “fatal: remote error: CAPTCHA required”
- ls command not found
- ls command not found
- git remote
- git remote
- git remote
- Numpy自定义dtype的一个使用误区
- [shell]获取系统时间
- android观看直播编辑消息EditText失去焦点的问题解决方案
- Python -- 三元表达式(三目运算符)
- Yii2.0 面包屑部件配置
- jenkins Error performing command: git ls-remote -h
- 使用spring的jdbcTemplate
- Crontab使用日志
- minetest源码解析六:Client与Server数据传递(Client端)
- HBase的基础与搭建
- vue.js在windows本地下搭建环境和创建项目
- 线程的状态图
- 面试书籍
- python开始之路—基础中的基础