add Jenkinsfile

This commit is contained in:
2025-07-16 10:51:31 +08:00
parent 3b9ddaed06
commit 11f6ab464b

2
Jenkinsfile vendored
View File

@ -19,6 +19,8 @@ pipeline {
stage('Install & Build') { stage('Install & Build') {
steps { steps {
sh ''' sh '''
sudo -u jenkins -i
cd /var/lib/jenkins/workspace/alex-ui-mp_master
rm -rf dist rm -rf dist
npm install --legacy-peer-deps npm install --legacy-peer-deps
npx vue-cli-service build npx vue-cli-service build