ci: mvn deploy exclude app module

This commit is contained in:
CaptainB 2023-06-25 17:54:34 +08:00
parent abcafc2a34
commit e935e79266
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -45,7 +45,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 deploy -N -Drevision=${REVISION} --settings ./settings.xml mvn deploy -N -Drevision=${REVISION} --settings ./settings.xml
mvn clean deploy -Drevision=${REVISION} -DskipTests -DskipAntRunForJenkins --file backend/pom.xml --settings ./settings.xml mvn clean deploy -Drevision=${REVISION} -DskipTests -DskipAntRunForJenkins -pl !app --file backend/pom.xml --settings ./settings.xml
''' '''
} }
} }