From fc5e0726979acb1000281fbdf62763d4bce3d882 Mon Sep 17 00:00:00 2001 From: "Seonkyu.kim" Date: Wed, 21 May 2025 17:14:01 +0900 Subject: [PATCH] =?UTF-8?q?[=E2=99=BB=EF=B8=8F]=20=EC=A0=A0=ED=82=A8?= =?UTF-8?q?=EC=8A=A4=20=EB=8F=99=EC=9E=91=20=EB=A1=9C=EC=A7=81=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 5be0d3a..95cc461 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,6 +7,20 @@ pipeline { } stages { + stage('Clear Repository') { + steps { + script { + sh """ + echo 'Clearing Front directory' + find /volume1/AcaMate/PROJECT/Application/Front -mindepth 1 -maxdepth 1 \\ + ! -name 'privacy' \\ + ! -name 'publish' \\ + -exec rm -rf {} + + echo 'Clean complete' + """ + } + } + } stage('Clone Repository') { steps { git url: 'https://git.ipstein.myds.me/AcaMate/AcaMate_Web.git', branch: env.GIT_BRANCH -- 2.45.1