This commit is contained in:
sxu 2025-04-14 15:19:36 +08:00
parent 9e8bf10987
commit 2b1249a971
1 changed files with 1 additions and 5 deletions

View File

@ -3,16 +3,14 @@ suffix="-bonus-jyy-canteen"
jar_version="24.10.0-SNAPSHOT" jar_version="24.10.0-SNAPSHOT"
export deploy_path=/opt/webapps/bonus-jyy-canteen export deploy_path=/opt/webapps/bonus-jyy-canteen
export app_workspace=/opt/builds/releases/Bonus-Cloud/${jar_version} export app_workspace=/opt/builds/releases/Bonus-Cloud-JYY-Canteen/${jar_version}
#export biz_workspace=/opt/install/jenkins_home/workspace/Bonus-Cloud-JYY-CANTEEN #export biz_workspace=/opt/install/jenkins_home/workspace/Bonus-Cloud-JYY-CANTEEN
app_source_jars=( app_source_jars=(
"bonus-auth-${jar_version}.jar" "bonus-auth-${jar_version}.jar"
"bonus-gateway-${jar_version}.jar" "bonus-gateway-${jar_version}.jar"
"bonus-system-${jar_version}.jar" "bonus-system-${jar_version}.jar"
"bonus-job-${jar_version}.jar"
"bonus-file-${jar_version}.jar" "bonus-file-${jar_version}.jar"
"bonus-visual-monitor-${jar_version}.jar"
) )
#for source_jar in "${app_source_jars[@]}"; do #for source_jar in "${app_source_jars[@]}"; do
@ -41,9 +39,7 @@ done
jars=("bonus-auth-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:auth_bootstrap.yml" jars=("bonus-auth-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:auth_bootstrap.yml"
"bonus-gateway-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:gateway_bootstrap.yml" "bonus-gateway-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:gateway_bootstrap.yml"
"bonus-system-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:system_bootstrap.yml" "bonus-system-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:system_bootstrap.yml"
"bonus-job-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:job_bootstrap.yml"
"bonus-file-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:file_bootstrap.yml" "bonus-file-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:file_bootstrap.yml"
"bonus-visual-monitor-${jar_version}-bonus-jyy-canteen.jar --spring.config.location=file:visual_bootstrap.yml"
"bonus-smart-canteen-v3.jar --spring.config.location=file:smart_canteen_bootstrap.yml") "bonus-smart-canteen-v3.jar --spring.config.location=file:smart_canteen_bootstrap.yml")
# 遍历数组并检查每个JAR文件的进程 # 遍历数组并检查每个JAR文件的进程