当前位置:   article > 正文

Jenkins - 札记 - 无法连接仓库:Command “git ls-remote -h -- http://git.govmade.cn/shanghai/demo.git HEAD“..._jenkins terminal prompts disabled

jenkins terminal prompts disabled

VMware - 目录


Jenkins - 札记 - 无法连接仓库:Command "git ls-remote -h -- http://git.govmade.cn/shanghai/demo.git HEAD"...


一、问题描述


1. 现象

Jenkins 安装方式:docker 安装
在这里插入图片描述

无法连接仓库:Command "git ls-remote -h -- http://git.govmade.cn/shanghai/demo.git HEAD" returned status code 128:
stdout:
stderr: /tmp/jenkins-gitclient-pass9982827603092898123.sh: line 3: cat: not found
error: unable to read askpass response from '/tmp/jenkins-gitclient-pass9982827603092898123.sh'
fatal: could not read Username for 'http://git.govmade.cn': terminal prompts disabled
  • 1
  • 2
  • 3
  • 4
  • 5

2. 原因

我这里的原因是:宿主机系统权限紊乱


二、解决方案


  • 重置系统,然后重装 Jenkins

其他方式: 后续实践 …

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/867719
推荐阅读
相关标签
  

闽ICP备14008679号