Skip to content

Commit

Permalink
Merge pull request #39 from Kakaotech-10/feature/CI-Setting
Browse files Browse the repository at this point in the history
🐛 Jenkins 파이프라인 에러 수정
  • Loading branch information
rimeir authored Oct 23, 2024
2 parents 7d12119 + 4bab5c2 commit 60ae38c
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
}
Expand Down

0 comments on commit 60ae38c

Please sign in to comment.