add Jenkinsfile

This commit is contained in:
2025-07-16 09:58:27 +08:00
parent 84d56fd05b
commit 15d3b164ce

12
Jenkinsfile vendored
View File

@ -18,12 +18,12 @@ pipeline {
stage('Install & Build') { stage('Install & Build') {
steps { steps {
sh ''' sh '''
echo "当前目录: $(pwd)" echo "当前目录: $(pwd)"
rm -rf dist rm -rf dist
npm install --legacy-peer-deps npm install --legacy-peer-deps
./node_modules/.bin/vue-cli-service build npx vue-cli-service build
''' '''
} }
} }