build: 区分社区版和企业版镜像

This commit is contained in:
CaptainB 2023-11-09 17:54:24 +08:00
parent 0864055277
commit 51aa8771b4
1 changed files with 1 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -108,6 +108,7 @@ pipeline {
do
cp -rf $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/$library-${REVISION}.jar backend/app/target/dependency/BOOT-INF/lib/
#
rm -rf $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/target/lib/*
mvn dependency:copy-dependencies --file $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/$library-${REVISION}.pom --settings ./settings.xml
cp -rf $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/target/lib/* backend/app/target/dependency/BOOT-INF/lib/
done