add Jenkinsfile

This commit is contained in:
2025-07-16 10:25:24 +08:00
parent d60d975ffb
commit 87c0011706

5
Jenkinsfile vendored
View File

@ -20,10 +20,9 @@ pipeline {
steps { steps {
sh ''' sh '''
echo "当前目录: $(pwd)" echo "当前目录: $(pwd)"
rm -rf node_modules package-lock.json dist rm -rf dist
npm cache clean --force
npm install --legacy-peer-deps npm install --legacy-peer-deps
npx vue-cli-service build ./node_modules/.bin/vue-cli-service build
''' '''
} }
} }