解决Jenkins执行git脚本时报错:No such device or address问题

这篇具有很好参考价值的文章主要介绍了解决Jenkins执行git脚本时报错:No such device or address问题。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

问题现象:

Jenkins执行BeanShell脚本时,报错:jenkins fatal: could not read Username for 'http://112.11.120.1': No such device or address 

git no such device or address,jenkins,git

解决方案:

解决服务器拉取git仓库的代码权限,使用高级子模块克隆功能。

git no such device or address,jenkins,git

执行结果:虽然也报错,但整体脚本执行通过

git no such device or address,jenkins,git文章来源地址https://www.toymoban.com/news/detail-790503.html

到了这里,关于解决Jenkins执行git脚本时报错:No such device or address问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 【已解决】could not read Username for ‘https://x.x.x‘: No such device or address

    运行 git 命令时报错: 第一次:Authentication failed for ‘https://x.x.x/x/x.git/’ 第2+次:fatal: could not read Username for ‘https://x.x.x’: No such device or address :authentication、username 可知与 git 用户权限相关,且是 https 方式 只针对当前项目:项目根目录下执行: 更改后查看 更改全局

    2024年02月11日
    浏览(26)
  • 编译 FastDFS 时报错 fatal error: sf/sf_global.h: No such file or directory 解决办法

    编译 FastDFS 时,报错如下 原因: 需要先编译和安装 libserverframe,新引入的网络框架库,下载地址:https://github.com/happyfish100 编译安装完后即可正常编译安装 FastDFS

    2024年02月21日
    浏览(28)
  • git报错 gitconfig: No such file or directory git 解决方案

    一、## 标题报错背景 我想显示一下我做了哪些git配置,使用 git config --global -l 来展示配置信息,但是报错。这个报错的意思是,找不到.gitconfig 这个文件,通常这个文件在C:UsersAdministrator 这个路径下(如果你是默认安装C盘的情况下),这里的Administrator 是你的电脑用户名,

    2024年02月11日
    浏览(42)
  • cat 查看文件时报错No such file or directory

    在平台上生成一个文件,用ls 查看发现文件已经存在了,并且是可执行文件;为什么还是打不开呢? --------- 后面发现是使用的集群不一样,在大集群可以做上述的查看操作,但实际存储文件的是小集群,大集群可能是没有执行小集群文件的相关权限,这时候需要查看文件内

    2024年02月12日
    浏览(34)
  • nginx服务停止或重启时报错:open() “/usr/local/nginx/logs/nginx.pid“ failed (2: No such file or directory)的解决办法

    问题示例: 关闭/重启nginx服务时,报错:[error] open() \\\"/usr/local/nginx/logs/nginx.pid\\\" failed (2: No such file or directory) 解决方法: 1.输入: ps -ef |grep nginx   查看nginx进程号 2.输入: kill -QUIT 进程号   杀掉nginx进程 3.把虚拟机服务器上的nginx安装包和压缩包以及local目录下的nginx都删掉

    2024年02月11日
    浏览(36)
  • docker使用load加载tar镜像时报错no such file or directory

    解决docker在使用load加载tar镜像时报错 open /var/lib/docker/tmp/docker-import-xxxxxxxxx/repositories: no such file or directory 在使用docker进行部署时,使用docker save指令对镜像打包成tar文件,在部署机器上使用docker load部署时报错,显示open /var/lib/docker/tmp/docker-import-xxxxxxxxx/repositories: no such file

    2024年02月12日
    浏览(30)
  • 【解决】cannot spawn .git/hooks/pre-commit: No such file or directory

    问题描述: cannot spawn .git/hooks/pre-commit: No such file or directory 解决办法: 删除项目文件夹下 .git/hooks/pre-commit文件 问题描述: cannot spawn .git/hooks/pre-push: No such file or directory 解决办法: 删除项目文件夹下 .git/hooks/pre-push文件

    2024年02月03日
    浏览(32)
  • 解决Git配置error:could not lock config file....No such file or directory

    新安装git出现无法设置用户名和邮箱的方法。 $ git config --global user.name “用户名” $ git config --global user.email “邮箱” 当在git bash里设置用户名邮箱出现类似以下提示时的解决方法。 GIT error: could not lock config file C:/Users/FZQ/Desktop/%USERPROFILE%/…No such file or directory 这里说在我的电

    2024年02月06日
    浏览(35)
  • 执行hdfs dfs -mkdir input时弹出mkdir: `hdfs://localhost:9000/user/root‘: No such file or directory的解决方法

    本文涉及的操作步骤来源于:https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html#Execution 在执行Pseudo-Distributed Operation的Execution以下步骤时,弹出了 mkdir: hdfs://localhost:9000/user/root\\\': No such file or directory 错误。 好久才反应过来,原来是在上一步没有理解清楚 us

    2024年02月07日
    浏览(30)
  • docker执行报错:no such file or directory: unknown

    在linux下编译的golang程序放到docker的busybox镜像里无法执行,显示报错信息: exec: No such file or directory 在Docker化的今天, 我们经常需要静态编译一个Go程序,以便方便放在Docker容器中。 即使你没有引用其它的第三方包,只是在程序中使用了标准库 net ,你也会发现你编译后的程

    2024年02月07日
    浏览(39)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包