SSH: Connecting from host [baichuan] SSH: Connecting with configuration [TET-ENV] ... SSH: EXEC: completed after 201 ms SSH: Disconnecting configuration [TET-ENV] ... SSH: Caught exception [Exec exit status not zero. Status [1]] Sleeping for [10,000]ms before trying again SSH: Connecting with configuration [TET-ENV] ... SSH: EXEC: completed after 203 ms SSH: Disconnecting configuration [TET-ENV] ... SSH: Caught exception [Exec exit status not zero. Status [1]] Sleeping for [10,000]ms before trying again SSH: Connecting with configuration [TET-ENV] ...
……
使用jenkins通过SSH上传文件时,报错,经过排查是Remote director 配置的路径不存在导致。把文件路径写正确就可以了。