modify the Jenkinsfile

This commit is contained in:
2025-07-16 09:50:08 +08:00
parent 286fc38c4c
commit 13acf409a2

16
Jenkinsfile vendored
View File

@ -17,13 +17,15 @@ pipeline {
}
stage('Install & Build') {
steps {
sh '''
rm -rf dist
npm install --legacy-peer-deps
./node_modules/.bin/vue-cli-service build
'''
}
steps {
dir('alex-ui') {
sh '''
rm -rf dist
npm install --legacy-peer-deps
./node_modules/.bin/vue-cli-service build
'''
}
}
}
stage('Deploy') {