build: 测试 mvnw
This commit is contained in:
parent
5dfe6085f0
commit
fad3114c78
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue