|
@@ -0,0 +1,18 @@
|
|
|
|
+#!/bin/bash
|
|
|
|
+pwd
|
|
|
|
+
|
|
|
|
+rm -rf /home/qmth/project/examcloud/examcloud-app-api-distribution.zip
|
|
|
|
+rm -rf /home/qmth/project/examcloud/examcloud-app-api/lib
|
|
|
|
+
|
|
|
|
+cp examcloud-app-api-starter/target/examcloud-app-api-distribution.zip ~/project/examcloud/
|
|
|
|
+
|
|
|
|
+cd ~/project/examcloud/
|
|
|
|
+unzip -o -q examcloud-app-api-distribution.zip
|
|
|
|
+
|
|
|
|
+cd examcloud-app-api
|
|
|
|
+echo "--spring.profiles.active=test --examcloud.startup.configCenterHost=localhost" > start.args
|
|
|
|
+echo "-server -Xms512m -Xmx512m -XX:-UseGCOverheadLimit" > start.vmoptions
|
|
|
|
+
|
|
|
|
+bash stop.sh
|
|
|
|
+BUILD_ID=DONTKILLME
|
|
|
|
+bash start.sh 110
|