我一直试图配置一个jenkins作业,该作业应该用子模块克隆git repo。一切顺利,直到遇到“混帐子模块更新”它返回以下错误:无法在jenkins中签出git子模块
12:03:17 Submodule '<name>' (https://<url>.git) registered for path '<name>' 12:03:17 + git submodule update 12:03:17 Cloning into '<name>'... 12:03:18 fatal: could not read Username for 'https://github.com': No such device or address 12:03:18 fatal: clone of 'https://<name2>' into submodule path 'data_gateway' failed 12:03:18 Build step 'Execute shell' marked build as failure 12:03:18 Finished: FAILURE
我可以用我的用户名(不詹金斯) 我试图创造詹金斯键克隆使用ssh主回购用户并将它们添加到github,并尝试使用用户和密码,但没有人摆脱此问题。
一直在读取负载,但找不到任何解决方案。任何指针将高度赞赏,
由于
https://stackoverflow.com/questions/36471981/jenkins-and-updating-git-submodules这可以帮助你吗?检查你的git版本 – pic0