ci: 仅后端打包

This commit is contained in:
CaptainB 2023-06-07 18:59:32 +08:00
parent df3229b5cd
commit 601bff64b2
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -59,7 +59,8 @@ pipeline {
export CLASSPATH=$JAVA_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:/opt/apache-maven-3.8.3/bin:$PATH
java -version
mvn clean package -Drevision=${REVISION} -DskipTests --settings ./settings.xml
# mvn clean package -Drevision=${REVISION} -DskipTests --settings ./settings.xml
mvn clean package -Drevision=${REVISION} -DskipTests --file backend/pom.xml --settings ./settings.xml
LOCAL_REPOSITORY=$(mvn help:evaluate -Dexpression=settings.localRepository --settings ./settings.xml -q -DforceStdout)
# echo $LOCAL_REPOSITORY