ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection

JEKINS构建报以下错误:

ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [xx.xx.xx.xxx]. Message [Auth fail]]]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
Finished: UNSTABLE

不能链接上对应的服务器xx.xx.xx.xxx:认证失败,一般是用户名和密码设置错误

ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection_第1张图片

ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection_第2张图片

找到对应的服务器:

点击高级设置:

ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection_第3张图片

修改密码

完成后点击Test Configuration 返回success就重新构建对应的项目Ok了(最好添加构建服务器时就应该做这个测试) 

你可能感兴趣的:(ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection)