update scripts
This commit is contained in:
parent
0c3d8874d4
commit
2985c6a0bc
|
|
@ -1,21 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
suffix="-material"
|
||||||
|
jar_version="24.9.0"
|
||||||
|
|
||||||
export deploy_path=/opt/webapps/bonus-material
|
export deploy_path=/opt/webapps/bonus-material
|
||||||
|
export app_workspace=/opt/builds/releases/Bonus-Cloud/${jar_version}
|
||||||
export app_workspace=/opt/builds/releases/Bonus-Cloud/24.9.0
|
|
||||||
export biz_workspace=/opt/install/jenkins_home/workspace/Bonus-Cloud-Material
|
export biz_workspace=/opt/install/jenkins_home/workspace/Bonus-Cloud-Material
|
||||||
|
|
||||||
suffix="-material"
|
|
||||||
|
|
||||||
|
|
||||||
app_source_jars=(
|
app_source_jars=(
|
||||||
"bonus-auth-24.9.0.jar"
|
"bonus-auth-${jar_version}.jar"
|
||||||
"bonus-gateway-24.9.0.jar"
|
"bonus-gateway-${jar_version}.jar"
|
||||||
#"bonus-file-24.9.0.jar"
|
"bonus-system-${jar_version}.jar"
|
||||||
#"bonus-gen-24.9.0.jar"
|
"bonus-job-${jar_version}.jar"
|
||||||
#"bonus-job-24.9.0.jar"
|
#"bonus-file-${jar_version}.jar"
|
||||||
"bonus-system-24.9.0.jar"
|
#"bonus-visual-monitor-${jar_version}.jar"
|
||||||
"bonus-visual-monitor-24.9.0.jar"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
#for source_jar in "${app_source_jars[@]}"; do
|
#for source_jar in "${app_source_jars[@]}"; do
|
||||||
|
|
@ -41,13 +38,12 @@ cp -f ${biz_workspace}/"bonus-modules/bonus-material/target/bonus-material.jar"
|
||||||
echo "copied ${app_workspace}/${source_jar} to $deploy_path"
|
echo "copied ${app_workspace}/${source_jar} to $deploy_path"
|
||||||
|
|
||||||
# Define an array of JAR files to run
|
# Define an array of JAR files to run
|
||||||
jars=("bonus-auth-24.9.0-material.jar --spring.config.location=file:auth_bootstrap.yml"
|
jars=("bonus-auth-${jar_version}-material.jar --spring.config.location=file:auth_bootstrap.yml"
|
||||||
"bonus-gateway-24.9.0-material.jar --spring.config.location=file:gateway_bootstrap.yml"
|
"bonus-gateway-${jar_version}-material.jar --spring.config.location=file:gateway_bootstrap.yml"
|
||||||
"bonus-system-24.9.0-material.jar --spring.config.location=file:system_bootstrap.yml"
|
"bonus-system-${jar_version}-material.jar --spring.config.location=file:system_bootstrap.yml"
|
||||||
#"bonus-gen-24.9.0-material.jar --spring.config.location=file:gen_bootstrap.yml"
|
"bonus-job-${jar_version}-material.jar --spring.config.location=file:job_bootstrap.yml"
|
||||||
#"bonus-job-24.9.0-material.jar --spring.config.location=file:job_bootstrap.yml"
|
#"bonus-file-${jar_version}-material.jar --spring.config.location=file:file_bootstrap.yml"
|
||||||
#"bonus-file-24.9.0-material.jar --spring.config.location=file:file_bootstrap.yml"
|
#"bonus-visual-${jar_version}-monitor-material.jar --spring.config.location=file:visual_bootstrap.yml"
|
||||||
#"bonus-visual-24.9.0-monitor-material.jar --spring.config.location=file:visual_bootstrap.yml"
|
|
||||||
"bonus-material.jar --spring.config.location=file:material_bootstrap.yml")
|
"bonus-material.jar --spring.config.location=file:material_bootstrap.yml")
|
||||||
|
|
||||||
# 遍历数组并检查每个JAR文件的进程
|
# 遍历数组并检查每个JAR文件的进程
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue