JschNodeExecutor.ExtractFailure failure = JschNodeExecutor.extractFailure(e,
node,
nodeAuthentication.getSSHTimeout(),
framework);
errormsg = failure.getErrormsg();
FailureReason failureReason = failure.getReason();
context.getExecutionListener().log(0, errormsg);
context.getExecutionListener().log(0, errormsg);
throw new FileCopierException("[jsch-scp] Failed copying the file: " + errormsg, failureReason, e);
}
if (!localTempfile.delete()) {