全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 465|回复: 3

jenkins git管理出错,怎么回事

[复制链接]
发表于 2022-10-9 00:41:14 | 显示全部楼层 |阅读模式
新建的项目后,
源码管理
git输了项目网址,是私有的。认证里面,没有能选择的账号和密码,添加也不会显示。
我在系统配置里面,设置github 的token,测试都没问题。但是项目上,输的项目网址,为啥不行呢。机器安装了git命令。
错误如下
无法连接仓库:Command "git ls-remote -h -- https://github.com/****/****.git HEAD" returned status code 128:
stdout:
stderr: remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/****/****.git/'
发表于 2022-10-9 00:43:03 | 显示全部楼层
看不懂英文就别用了
发表于 2022-10-9 09:41:13 | 显示全部楼层
密码使用token,你这报错是提示用纯密码。而且需要注意账户权限问题,记住密码是分账户的
 楼主| 发表于 2022-10-9 10:27:13 | 显示全部楼层
920 发表于 2022-10-9 09:41
密码使用token,你这报错是提示用纯密码。而且需要注意账户权限问题,记住密码是分账户的 ...

多谢,用了下,感觉和github action没什么太大区别呢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-5-13 20:44 , Processed in 0.064000 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表