jenkins创建maven项目Faile to repository:Command

jenkins创建maven项目:

 jenkins创建maven项目Faile to repository:Command_第1张图片

 

解决方案:(先添加jenkins用户,具体方法参考文档上面 linux管理-》添加用户)


accepted

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传输协议

[email protected]:835139092/V7.git

jenkins创建maven项目Faile to repository:Command_第2张图片

你可能感兴趣的:(linux学习笔记)