在测试Jenkins来build来自Github的项目的时候,总是报错如下:

在cmd命令行里执行git命令显示如下:

说明git在系统已经安装,而且环境变量PATH也设置了。

研究了好久才找到解决方案如下:通过URL:http://localhost:8888/manage【Jenkins的访问URL的后面直接加上manage】

访问【Global tool Configuration】

找到Git的配置部分,如下图:

可以看到这里根本就找不到git.exe。

我的解决方案是:找到git的安装路径下的git.exe,把全路径补上,问题就解决了。

Failed to connect to repository : Error performing git command: git.exe相关推荐

  1. Jenkins踩坑:Failed to connect to repository : Error performing git command: git ls-remote -h http://17

    1.问题描述 Jenkins搭建好之后,使用Jenkins新建构建任务,在填写git地址时,一直报错 Failed to connect to repository : Error performin ...

  2. Jenkins连接git时出现“Failed to connect to repository : Command ... HEAD“ returned status code 128:”的问题解决

    Jenkins连接git时出现"Failed to connect to repository : Command ... HEAD" returned status code 1 ...

  3. Jenkins 部署项目出现 Failed to connect to repository : Command git ls-remote -h http://gitlab. 128

    Jenkins 部署项目出现 : Failed to connect to repository : Command "git ls-remote -h https://gitlab.com ...

  4. jenkins打包报错Failed to connect to repository : Command “/usr/bin/git ls-remote -h -- http://git.c5game

    Failed to connect to repository : Command "/usr/bin/git ls-remote -h -- http://git.c5game.com/c ...

  5. Jenkins中连接Git仓库时提示:无法连接仓库:Error performing git command: git ls-remote -h

    场景 在Jenkins中新建任务后,在源码管理中选择Git,并且通过用户名和密码的 凭证方式连接到Git仓库时提示: 无法连接仓库:Error performing git command: git ...

  6. ERROR: Cannot find command ‘git‘ - do you have ‘git‘ installed and in your PATH

    虚拟环境中,在配置coco数据集的API时出现以下错误 (py37) C:\Users\HASEE>pip install git+https://github.com/philferriere ...

  7. ERROR: Cannot find command ‘git‘ - do you have ‘git‘ installed and in your PATH?

    问题描述: 使用git命令时: ERROR: Error [WinError 2] 系统找不到指定的文件. while executing command git clone -q https://g ...

  8. 已解决ERROR: Cannot find command ‘git’- do you have ‘git’ installed and in your PATH?

    已解决ERROR: Cannot find command 'git'- do you have 'git' installed and in your PATH?异常的正确解决方法,亲测有效!!! ...

  9. npm ERR! code 128npm ERR! An unknown git error occurrednpm ERR! command git --no-replace-objects l

    背景: 在安装vue-element-admin 项目所需依赖时,出现了如下报错信息 npm ERR! code 128 npm ERR! An unknown git error occurred ...

最新文章

  1. 【学术研究基础】聚类分析学习
  2. 《Adobe After Effects CS6中文版经典教程》——1.3 创建合成图像与组织图层
  3. centos7设置密码策略_Linux系统设置复杂密码策略方法总结
  4. 计算机应用技术国外现状,浅析计算机应用技术的现状及发展趋势
  5. java mvc 菜鸟_Spring MVC 简单入门
  6. 跟我一起学.NetCore之选项(Options)核心类型简介
  7. P4564 [CTSC2018]假面(期望)
  8. JMeter插件模拟发送UDP请求:UDP sampler
  9. vue.3.0 dom赋值_Vue 3.0 快速入门
  10. linux下获取程序所在目录绝对路径
  11. 能给别人吗_《奇葩说》观点引热议:一种能看透别人心思的能力,你敢要吗?...
  12. 信息系统开发平台OpenExpressApp - 从compositewpf到MEF
  13. 容器Docker详解
  14. [转]深入Linux网络核心堆栈
  15. 船说CMS小说采集-船说小说免费采集-船说CMS自动采集发布方法详解
  16. [Python从零到壹] 三十四.OpenCV入门详解——显示读取修改及保存图像
  17. 数据结构试卷及答案(九)
  18. 临湘东经子午线经度_经纬度与中央子午线查询表(精确到县级)
  19. 计算机电源管理设置,如何修改计算机中设置的显卡电源管理模式
  20. spring和jump区别_JUMP与 SKIP 的区别

热门文章

  1. C语言(11),用程序写简单图形。
  2. 计算机毕业设计JAVA软考在线题库系统mybatis+源码+调试部署+系统+数据库+lw
  3. 【Tableau 图表大全31】仪表板(又名仪表盘) #高阶
  4. maximo数据库配置
  5. github android涂鸦,Android 涂鸦最佳实践
  6. 践行社会责任的路上,中概股们看到了怎样的风景?
  7. Opencv入门第一课打开窗口
  8. NVMe Protect Information
  9. 氨氮吹脱法脱与php有关系吗,吹脱法处理氨氮废水
  10. html 标签英文全称,html标签英文全称