**己经将gitlab用户的SSH private key添加到jenkins的credentials里面还是会提示stderr:fatal:authentication failed for..............**
仓库的url有两种:http/ssh
这里既然己经把生成的SSH KEYS添加到gitlab中
那就使用ssh的地址,不要使用http的
如果要使用http的,得需要用户名密码验证