|
@@ -0,0 +1,20 @@
|
|
|
+#!/bin/bash
|
|
|
+pwd
|
|
|
+
|
|
|
+rm -rf ~/project/examcloud/examcloud-core-oe-face-distribution.zip
|
|
|
+rm -rf ~/project/examcloud/examcloud-core-oe-face/lib/
|
|
|
+
|
|
|
+cp examcloud-core-oe-face-starter/target/examcloud-core-oe-face-distribution.zip ~/project/examcloud/
|
|
|
+
|
|
|
+cd ~/project/examcloud/
|
|
|
+unzip -o examcloud-core-oe-face-distribution.zip
|
|
|
+
|
|
|
+cd examcloud-core-oe-face
|
|
|
+echo "--spring.profiles.active=test --examcloud.startup.configCenterHost=localhost" > start.args
|
|
|
+echo "-server -Xms512m -Xmx512m -XX:-UseGCOverheadLimit -Dfacepp.compare.url=https://api-cn.faceplusplus.com/facepp/v3/compare" > start.vmoptions
|
|
|
+
|
|
|
+bash stop.sh
|
|
|
+BUILD_ID=DONTKILLME
|
|
|
+
|
|
|
+sleep 30s
|
|
|
+bash start.sh 100
|