build: mvn打包前先安装前端依赖

This commit is contained in:
BugKing 2021-03-30 11:48:44 +08:00
parent 11bb0cf5a4
commit 569e86b0ce
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -13,6 +13,9 @@ pipeline {
stage('Build/Test') {
steps {
configFileProvider([configFile(fileId: 'metersphere-maven', targetLocation: 'settings.xml')]) {
sh "cd frontend"
sh "yarn install"
sh "cd .."
sh "mvn clean package --settings ./settings.xml"
}
}