build: 恢复使用 mvnd package

This commit is contained in:
CaptainB 2022-04-21 10:33:41 +08:00 committed by 刘瑞斌
parent 2e08de630e
commit 55f15cd997
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 PATH=$JAVA_HOME/bin:/opt/mvnd/bin:$PATH
java -version
mvnd clean install --settings ./settings.xml
mvnd clean package --settings ./settings.xml
mkdir -p backend/target/dependency && (cd backend/target/dependency; jar -xf ../*.jar)
'''
}