From 97ad76feb6460d3392b63f11ac354568c89b8968 Mon Sep 17 00:00:00 2001 From: Ali Najafizadeh Date: Sat, 23 Nov 2019 23:07:07 -0500 Subject: [PATCH] Add more logs --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index aae6a44..eaee4bd 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -58,6 +58,7 @@ executeSCP() { # scp will fail if COMMAND is empty, this condition protects scp if [[ $COMMAND = *[!\ ]* ]]; then + echo "scp -r -o StrictHostKeyChecking=no $COMMAND" scp -r -o StrictHostKeyChecking=no $COMMAND fi done <<< $LINES @@ -67,7 +68,9 @@ setupSSH echo "+++++++++++++++++++RUNNING BEFORE SSH+++++++++++++++++++" executeSSH "$INPUT_SSH_BEFORE" echo "+++++++++++++++++++RUNNING BEFORE SSH+++++++++++++++++++" +echo "+++++++++++++++++++RUNNING SCP+++++++++++++++++++" executeSCP "$INPUT_SCP" +echo "+++++++++++++++++++RUNNING SCP+++++++++++++++++++" echo "+++++++++++++++++++RUNNING AFTER SSH+++++++++++++++++++" executeSSH "$INPUT_SSH_AFTER" echo "+++++++++++++++++++RUNNING AFTER SSH+++++++++++++++++++" \ No newline at end of file