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

This commit is contained in:
CaptainB 2023-11-09 17:47:05 +08:00
parent edb7176c0a
commit 0864055277
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -103,7 +103,7 @@ pipeline {
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
libraries=('metersphere-ui-test-impl' 'metersphere-load-test-impl' 'general-xpack-impl') libraries=('metersphere-api-test-impl' 'metersphere-ui-test-impl' 'metersphere-load-test-impl' 'general-xpack-impl')
for library in "${libraries[@]}"; for library in "${libraries[@]}";
do do
cp -rf $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/$library-${REVISION}.jar backend/app/target/dependency/BOOT-INF/lib/ cp -rf $LOCAL_REPOSITORY/io/metersphere/$library/${REVISION}/$library-${REVISION}.jar backend/app/target/dependency/BOOT-INF/lib/