From bbedb7a46d59acfd6638741bd658d025bbce1707 Mon Sep 17 00:00:00 2001 From: shindw Date: Wed, 4 Feb 2026 16:33:54 +0900 Subject: [PATCH] =?UTF-8?q?[api]=20Jenkinsfile.pjt=20-=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C=EC=A0=95=EC=B1=85=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile.pjt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile.pjt b/Jenkinsfile.pjt index 8c47e22..bf0d869 100644 --- a/Jenkinsfile.pjt +++ b/Jenkinsfile.pjt @@ -142,16 +142,13 @@ pipeline { echo "[1/1] docker registry login" - ssh -p ${SSH_PORT} \ - -o StrictHostKeyChecking=no \ - -o UserKnownHostsFile=/dev/null \ - ${SSH_USER}@${SSH_HOST} \ - 'set -e - REGISTRY_HOST='"${REGISTRY_HOST}"' - DOCKER_USER='"${DOCKER_USER}"' - DOCKER_PASS='"${DOCKER_PASS}"' + ssh -p ${SSH_PORT} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null ${SSH_USER}@${SSH_HOST} ' + set -e + REGISTRY_HOST='"${REGISTRY_HOST}"' + DOCKER_USER='"${DOCKER_USER}"' + DOCKER_PASS='"${DOCKER_PASS}"' - echo "$DOCKER_PASS" | docker login "$REGISTRY_HOST" -u "$DOCKER_USER" --password-stdin + echo "$DOCKER_PASS" | docker login "$REGISTRY_HOST" -u "$DOCKER_USER" --password-stdin ' ''' }