diff --git a/Jenkinsfile.pjt b/Jenkinsfile.pjt index a391414..28b655a 100644 --- a/Jenkinsfile.pjt +++ b/Jenkinsfile.pjt @@ -209,15 +209,14 @@ pipeline { sshagent(['ssh-pjt']) { sh ''' set -e - ssh -p ${SSH_PORT} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \ - ${SSH_USER}@${SSH_HOST} \ - 'set -e + ssh -p ${SSH_PORT} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ${SSH_USER}@${SSH_HOST} ' + set -e - REPO="${REGISTRY_HOST}/${IMAGE_REPO}" + REPO='"${REGISTRY_HOST}/${IMAGE_REPO}"' - echo "[0] Repo: $REPO" + echo "[0] Repo: $REPO" - ' + ' ''' } }