From 4bab5c2faa1eb969d1ac3955027220b020b323e2 Mon Sep 17 00:00:00 2001 From: rimeir Date: Wed, 23 Oct 2024 16:23:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Jenkinsfile=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cceb557..b751334 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,28 +13,24 @@ pipeline { stages { stage('Install Dependencies') { steps { - dir('frontend') { - script { - sh 'npm ci' - } + script { + sh 'npm install' } } } + stage('Set Environment Variable') { steps { - dir('frontend') { - script { - sh 'echo "APP_ENDPOINT=${APP_ENDPOINT_MAIN}" >> .env' - } + script { + sh 'echo "APP_ENDPOINT=${APP_ENDPOINT_MAIN}" >> .env' } } } + stage('Build Frontend') { steps { - dir('frontend') { - script { - sh 'CI=false npm run build' - } + script { + sh 'npm run build' } } }