修改Jenkins打包部署

This commit is contained in:
program-walker 2020-09-28 17:57:53 +08:00
parent 2f051be6e9
commit c89fb915f5

View File

@ -11,6 +11,7 @@ pipeline {
nodejs 'nodejs-10' nodejs 'nodejs-10'
} }
steps { steps {
sh 'npm update'
sh 'npm install' sh 'npm install'
sh 'npm run test' sh 'npm run test'
} }