add Jenkinsfile

This commit is contained in:
2025-07-16 09:55:32 +08:00
parent 3be5f06a1b
commit 84d56fd05b

2
Jenkinsfile vendored
View File

@ -18,14 +18,12 @@ pipeline {
stage('Install & Build') { stage('Install & Build') {
steps { steps {
# dir('alex-ui') {
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 ./node_modules/.bin/vue-cli-service build
''' '''
# }
} }
} }