update scritps
This commit is contained in:
parent
c6aa29b09f
commit
07e05db253
|
|
@ -1,12 +1,6 @@
|
|||
#!/bin/bash
|
||||
#jar_version="24.10.0-SNAPSHOT"
|
||||
|
||||
export deploy_path=/opt/webapps/bonus-material
|
||||
#export app_workspace=/opt/builds/releases/Bonus-Cloud/${jar_version}
|
||||
#export biz_workspace=/opt/install/jenkins_home/workspace/Bonus-Cloud-Material
|
||||
|
||||
#cp -f ${biz_workspace}/"bonus-modules/bonus-material/target/bonus-material.jar" $deploy_path
|
||||
#echo "copied ${app_workspace}/${source_jar} to $deploy_path"
|
||||
|
||||
# Define an array of JAR files to run
|
||||
jars=("bonus-material.jar --spring.config.location=file:material_bootstrap.yml")
|
||||
|
|
@ -43,5 +37,4 @@ for jar in "${jars[@]}"; do
|
|||
nohup /usr/local/jdk1.8.0/bin/java -jar $jar >/dev/null 2>&1 &
|
||||
done
|
||||
|
||||
echo "All JARs have been run successfully."
|
||||
|
||||
echo "All JARs have been run successfully."
|
||||
Loading…
Reference in New Issue