From 8096514e93f232f80848069f6646db9b32deb10a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Tue, 24 Feb 2026 17:41:22 +0900 Subject: [PATCH] =?UTF-8?q?ci:Jenkinsfile=202-branch=20=EC=A0=84=EB=9E=B5?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=A0=84=ED=99=98=20(stage=20=EB=B8=8C?= =?UTF-8?q?=EB=9E=9C=EC=B9=98=20=EC=A0=9C=EA=B1=B0,=20main=EC=97=90?= =?UTF-8?q?=EC=84=9C=20Stage=E2=86=92=EC=8A=B9=EC=9D=B8=E2=86=92Production?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- Jenkinsfile | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4022f60..0ff9674 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,16 +18,11 @@ pipeline { sshagent(credentials: ['deploy-ssh-key']) { sh """ ssh ${DEPLOY_USER}@211.117.60.189 'mkdir -p /home/webservice/api-stage/releases/${RELEASE_ID}' - rsync -az --delete \ - --exclude='.git' \ - --exclude='.env' \ - --exclude='storage/app' \ - --exclude='storage/logs' \ - --exclude='storage/framework/sessions' \ - --exclude='storage/framework/cache' \ + --exclude='.git' --exclude='.env' \ + --exclude='storage/app' --exclude='storage/logs' \ + --exclude='storage/framework/sessions' --exclude='storage/framework/cache' \ . ${DEPLOY_USER}@211.117.60.189:/home/webservice/api-stage/releases/${RELEASE_ID}/ - ssh ${DEPLOY_USER}@211.117.60.189 ' cd /home/webservice/api-stage/releases/${RELEASE_ID} && ln -sfn /home/webservice/api-stage/shared/.env .env && @@ -64,16 +59,11 @@ pipeline { sshagent(credentials: ['deploy-ssh-key']) { sh """ ssh ${DEPLOY_USER}@211.117.60.189 'mkdir -p /home/webservice/api/releases/${RELEASE_ID}' - rsync -az --delete \ - --exclude='.git' \ - --exclude='.env' \ - --exclude='storage/app' \ - --exclude='storage/logs' \ - --exclude='storage/framework/sessions' \ - --exclude='storage/framework/cache' \ + --exclude='.git' --exclude='.env' \ + --exclude='storage/app' --exclude='storage/logs' \ + --exclude='storage/framework/sessions' --exclude='storage/framework/cache' \ . ${DEPLOY_USER}@211.117.60.189:/home/webservice/api/releases/${RELEASE_ID}/ - ssh ${DEPLOY_USER}@211.117.60.189 ' cd /home/webservice/api/releases/${RELEASE_ID} && ln -sfn /home/webservice/api/shared/.env .env && @@ -115,4 +105,4 @@ pipeline { } } } -} +} \ No newline at end of file