修改Jenkins打包部署

This commit is contained in:
program-walker 2020-09-28 17:18:25 +08:00
parent 99987510ad
commit 61b6666bdc

View File

@ -12,7 +12,7 @@ pipeline {
} }
steps { steps {
sh 'npm install' sh 'npm install'
sh 'npm run test' sh 'npm run build'
} }
} }
stage('Publish') { stage('Publish') {