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') { stage('Install & Build') {
steps { steps {
sh ''' dir('alex-ui') {
rm -rf dist sh '''
npm install --legacy-peer-deps rm -rf dist
./node_modules/.bin/vue-cli-service build npm install --legacy-peer-deps
''' ./node_modules/.bin/vue-cli-service build
} '''
}
}
} }
stage('Deploy') { stage('Deploy') {