build: 使用mvnd加速构建过程

(cherry picked from commit 5dac719b2b)
This commit is contained in:
CaptainB 2022-04-20 19:19:04 +08:00 committed by 刘瑞斌
parent ef3f2618dd
commit 5af3371b75
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -18,7 +18,7 @@ pipeline {
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:/opt/mvnd/bin:$PATH export PATH=$JAVA_HOME/bin:/opt/mvnd/bin:$PATH
java -version java -version
mvnd clean package --settings ./settings.xml mvnd clean install --settings ./settings.xml
mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar) mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar)
''' '''
} }