build: 测试 mvnw

This commit is contained in:
CaptainB 2021-10-29 13:15:29 +08:00 committed by 刘瑞斌
parent 5dfe6085f0
commit fad3114c78
1 changed files with 4 additions and 4 deletions

8
Jenkinsfile vendored
View File

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