build: 打包命令修改,去掉重复的步骤

This commit is contained in:
CaptainB 2022-10-11 11:15:44 +08:00 committed by 刘瑞斌
parent e4fede9b8e
commit 53a050c6f0

2
Jenkinsfile vendored
View File

@ -79,7 +79,7 @@ pipeline {
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$PATH export PATH=$JAVA_HOME/bin:$PATH
java -version java -version
./mvnw clean package package -Drevision=${REVISION} --settings ./settings.xml ./mvnw clean package -Drevision=${REVISION} --settings ./settings.xml
frameworks=('framework/eureka' 'framework/gateway') frameworks=('framework/eureka' 'framework/gateway')
for library in "${frameworks[@]}"; for library in "${frameworks[@]}";