fixxxxx
Some checks failed
main-branch-frovide/pipeline/head There was a failure building this commit

This commit is contained in:
Insub Kim 2025-06-05 06:51:08 +00:00
parent e0efec1fd8
commit f3c9b44945

5
Jenkinsfile vendored
View File

@ -40,9 +40,10 @@ pipeline {
stage('Install Dependencies and Build (SvelteKit)') { stage('Install Dependencies and Build (SvelteKit)') {
steps { steps {
// nvm 활성화를 위해 . (점) 명령을 사용
sh ''' sh '''
source ~/.nvm/nvm.sh # nvm 설치 경로에 따라 달라질 수 있음 . /var/lib/jenkins/.nvm/nvm.sh
nvm use 23 # 사용하려는 Node.js 버전 nvm use 18 # 사용하려는 Node.js 버전
npm install npm install
npm run build npm run build
''' '''