ci: 做包同时install到本地仓库

This commit is contained in:
CaptainB 2024-01-29 14:15:32 +08:00
parent 4ddedcfff8
commit fdb74fc805

2
Jenkinsfile vendored
View File

@ -61,7 +61,7 @@ pipeline {
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:/opt/apache-maven-3.8.3/bin:$PATH export PATH=$JAVA_HOME/bin:/opt/apache-maven-3.8.3/bin:$PATH
java -version java -version
mvn clean package -Drevision=${REVISION} -DskipTests --settings ./settings.xml mvn clean install -Drevision=${REVISION} -DskipTests --settings ./settings.xml
mkdir -p backend/app/target/dependency && (cd backend/app/target/dependency && jar -xf ../*.jar); mkdir -p backend/app/target/dependency && (cd backend/app/target/dependency && jar -xf ../*.jar);
''' '''
} }