ci: 仅后端打包

This commit is contained in:
CaptainB 2023-06-07 19:02:16 +08:00
parent 601bff64b2
commit 46ee89c929
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -60,7 +60,7 @@ pipeline {
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 package -Drevision=${REVISION} -DskipTests --settings ./settings.xml
mvn clean package -Drevision=${REVISION} -DskipTests --file backend/pom.xml --settings ./settings.xml mvn clean package -Drevision=${REVISION} -DskipTests -DskipAntRunForJenkins --file backend/pom.xml --settings ./settings.xml
LOCAL_REPOSITORY=$(mvn help:evaluate -Dexpression=settings.localRepository --settings ./settings.xml -q -DforceStdout) LOCAL_REPOSITORY=$(mvn help:evaluate -Dexpression=settings.localRepository --settings ./settings.xml -q -DforceStdout)
# echo $LOCAL_REPOSITORY # echo $LOCAL_REPOSITORY