ci: 回退mvnd,使用mvnw
This commit is contained in:
parent
6a118e3b94
commit
6577572b52
|
@ -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
|
./mvnw clean package --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)
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue