-
Choerodon平台版本: 0.25.0
-
遇到问题的执行步骤:
在开发流程中,创建了应用服务,跳转到gitlab可以看到项目
客户端克隆该项目,失败
[yhen1@devops test]$ git clone http://gitlab.mytest.com/operation001-dev/denali-session.git
Cloning into ‘denali-session’…
Username for ‘http://gitlab.mytest.com’: 54556602
Password for ‘http://54556602@gitlab.mytest.com’:
remote: HTTP Basic: Access denied
fatal: Authentication failed for ‘http://gitlab.mytest.com/operation001-dev/denali-session.git/’
[yhen1@devops test]$ git clone http://gitlab.mytest.com/operation001-dev/denali-session.git
Cloning into ‘denali-session’…
Username for ‘http://gitlab.mytest.com’: hsheng
Password for ‘http://hsheng@gitlab.mytest.com’:
remote: HTTP Basic: Access denied
fatal: Authentication failed for ‘http://gitlab.mytest.com/operation001-dev/denali-session.git/’
-
报错日志:
-
原因分析:
gitlab登录用例oauth,是不是就不能用账号密码的方式访问
gitlab的拉取账户不能使用oauth2的账户,可以在个人信息页面重置gitlab账户密码