jenkins创建maven项目:
解决方案:(先添加jenkins用户,具体方法参考文档上面 linux管理-》添加用户)
| The problem was that somehow I created the ssh files with the root user. So the files owner was root. The solution was just change the ownership to the jenkins user. chown jenkins id_rsa.pub chown jenkins id_rsa |
若以上无用,改为:ssh传输协议
git@github.com:835139092/V7.git