vps交流

jenkins git管理出错,怎么回事


新建的项目后,
源码管理
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/’
看不懂英文就别用了