From 5ab52778327cfebd076ff445f33cbe6d823825e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Fri, 20 Mar 2026 07:57:30 +0900 Subject: [PATCH] =?UTF-8?q?revert:=20[deploy]=20=EB=B9=8C=EB=93=9C=20?= =?UTF-8?q?=EC=BA=90=EC=8B=9C=20=EB=B3=B4=EC=A1=B4=20=EC=A0=9C=EA=B1=B0=20?= =?UTF-8?q?(9GB=20=EC=BA=90=EC=8B=9C=20=EC=9D=B4=EB=8F=99=20=EC=98=A4?= =?UTF-8?q?=EB=B2=84=ED=97=A4=EB=93=9C=20>=20=EB=B9=8C=EB=93=9C=20?= =?UTF-8?q?=EC=A0=88=EA=B0=90)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0984c71b..2755de86 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -71,15 +71,11 @@ pipeline { } } - // ── 일반 배포: Checkout (빌드 캐시 보존) ── + // ── 일반 배포: Checkout ── stage('Checkout') { when { expression { params.ACTION == 'deploy' } } steps { - // .next/cache 백업 (증분 빌드용 — mv로 순간 이동, 복사 오버헤드 없음) - sh 'rm -rf /tmp/.next-cache-backup && [ -d .next/cache ] && mv .next/cache /tmp/.next-cache-backup || true' checkout scm - // .next/cache 복원 - sh 'mkdir -p .next && [ -d /tmp/.next-cache-backup ] && mv /tmp/.next-cache-backup .next/cache || true' script { env.GIT_COMMIT_MSG = sh(script: "git log -1 --pretty=format:'%s'", returnStdout: true).trim() }