This commit is contained in:
fit2-zhao 2021-03-30 11:50:49 +08:00
commit cc07843e12
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -13,6 +13,9 @@ 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 "yarn install"
sh "cd .."
sh "mvn clean package --settings ./settings.xml" sh "mvn clean package --settings ./settings.xml"
} }
} }