Jenkins 新建任务时“源码管理”Repository URL 使用git报错:
之前部署了gitlab + jenkins 持续集成环境,但在Jenkins 新建任务时“源码管理Repository URL 添加git 地址环节报错:

原因分析:

1.可能是用户凭据不对或该用户没有该项目的访问权限

在项目中添加build用户权限即可!(权限为Developer)

2.可能是由于git客户端版本过低造成的
如果是第2种情况,可以进行git版本升级。
Jenkins本机默认使用“yum -y install git” 安装的 git 版本比较低,可以自行安装更高版本的git。
从IUS yum库安装git的方法:

IUS 是一个社区项目,为Enterprise Linux发行版的新版精选软件提供RPM包,该项目的目的是为红帽企业Linux(RHEL)和CentOS创建高质量的RPM包。

curl https://setup.ius.io -k | sh
yum list git2u
# 如果是第一次安装则执行
yum -y install git
# 如果已经安装过了旧版本,则先移除后安装yum remove -y git | yum -y install git2u
git --version

Don’t care what others think of you, do what you decide to do!

stderr: fatal: repository ‘https://*.git/‘ not found相关推荐

  1. remote: Repository not found. fatal: repository 'https://github.com/***/***.git/' not found

    通过命令添加新repository到git hub在执行最后一步命令(如下所示)的时候报错 git push -u origin master error: remote: Repository no ...

  2. remote: Repository not found. fatal: repository 'https://github.com/AlbertYang666/AlbertYang666.gith

    克隆项目到本地,发现在clone的时候一直报错,git命令提示 remote: Repository not found. fatal: repository 'https://github.com/ ...

  3. 成功解决git clone提示fatal: repository ‘xxx.git/‘ not found

    目录 问题背景 正确姿势 问题背景 安装好gitlab后clone项目一直报错: Cloning into 'demo'... fatal: repository 'http://ip/xxx/dem ...

  4. remote: Repository not found. fatal: repository 'https://github.com/pete/first_app.git/' not found

    clone私有库到本地,出现了这个问题,但是公共库,没有这问题 原文:remote: repository not found fatal: not found 名字不能是email地址,需要重写设置 ...

  5. git push -u origin master提示 fatal: repository 'https://gitlab.com/xx.git/' not found

    正解 1. git remote set-url origin https://[gitlab用户名]@gitlab.com/xx/demo.git 2.$ git push -u origin ma ...

  6. 解决 remote: Repository not found. fatal: repository 'https://github.com/xxxx/xxxx.git/

    登陆github 进入 Your Repositories 点击new 创建repositories owner和repositories name需要和url中一致

  7. Repository not found,fatal: repository https://github.com/xxx/xxxxxxx/ not found

    最近有个项目用到了github,可是在git clone git@github.com:xxx/xxxxxx.git的时候,却出现了一个问题,如下图所示,百度很多,也尝试了很多办法,结果还是一样,很是 ...

  8. fatal: repository not found

    git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch ** remote: The pr ...

  9. Git clone命令出现fatal repository not found错误

    有时候使用Git命令"git clone [url]"将远程仓库中的代码爬取下来的时候系统会报错"fatal repository not found". 出现 ...

最新文章

  1. 分页存储过程(使用row_number()) Sql Server
  2. opengl 大作业_大学新生作业10米长!网友:确认过眼神,是我画不出的十米长卷……...
  3. 在JavaScript中生成随机字符串/字符
  4. python中文件读写位置的作用-python配置文件的读写
  5. B. Balanced Lineup
  6. linux系列(一):ls命令
  7. 使用 jsfl 发布flash IDE 插件
  8. 已锁定 java.lang.Object@25ff46f5
  9. 写给自己,关于对纯技术的追求,以及为了金钱与前途的技术追求
  10. 【python量化】用python搭建一个股票舆情分析系统
  11. android iphone滑动解锁,苹果iOS10锁屏详解:“滑动来解锁”已成为过去
  12. QQ互联本地测试【QQ互联第一步】
  13. 以太坊区块链浏览器搭建
  14. java实现读取163邮箱,qq邮箱的邮件内容
  15. android 自动调节音量,Android 音量调节
  16. whith ~ as 用法
  17. vb ajax提交post,使用jQuery AJAX将JS数组传递给VB.Net post
  18. Bootstrap 下拉菜单和按钮
  19. 中兴服务器 raid,超微X9DRH-7F 组装存储服务器RAID5实测
  20. 蓝牙麦克风 android,带蓝牙麦克风的Android语音识别器

热门文章

  1. 和你生活最近的淘宝天猫背后,阿里还有一个你不知道的神秘组织
  2. ETL工具--安装kettle
  3. ubuntu远程桌面链接后灰屏
  4. python表示后面部分是注释_Python 注释(Python Comments)用法详解
  5. Ubuntu 16.04下安装Caffe(GPU版本 GTX970)
  6. 初探JavaScript的截屏实现
  7. CentOS 7 安装 Letsencrypt 客户端 Certbot
  8. AR开发 - 入门笔记
  9. beoplay耳机序列号查询_BO PLAY推出全新无线蓝牙耳机BEOPLAY E8
  10. Winning Design!: LEGO MINDSTORMS NXT 免积分下载