ci: 仅后端打包
This commit is contained in:
parent
df3229b5cd
commit
601bff64b2
|
@ -59,7 +59,8 @@ 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 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)
|
LOCAL_REPOSITORY=$(mvn help:evaluate -Dexpression=settings.localRepository --settings ./settings.xml -q -DforceStdout)
|
||||||
# echo $LOCAL_REPOSITORY
|
# echo $LOCAL_REPOSITORY
|
||||||
|
|
Loading…
Reference in New Issue