|
@@ -0,0 +1,19 @@
|
|
|
+#!/bin/bash
|
|
|
+pwd
|
|
|
+
|
|
|
+rm -rf ~/project/examcloud/examcloud-core-reports-distribution.zip
|
|
|
+rm -rf ~/project/examcloud/examcloud-core-reports/lib/
|
|
|
+rm -rf ~/project/examcloud/examcloud-core-reports/config/
|
|
|
+
|
|
|
+cp examcloud-core-reports-starter/target/examcloud-core-reports-distribution.zip ~/project/examcloud/
|
|
|
+
|
|
|
+cd ~/project/examcloud/
|
|
|
+unzip -o examcloud-core-reports-distribution.zip
|
|
|
+
|
|
|
+cd examcloud-core-reports
|
|
|
+echo "--spring.profiles.active=dev --examcloud.startup.configCenterHost=localhost" > start.args
|
|
|
+echo "-server -Xms512m -Xmx512m -XX:-UseGCOverheadLimit" > start.vmoptions
|
|
|
+
|
|
|
+bash stop.sh
|
|
|
+BUILD_ID=DONTKILLME
|
|
|
+bash start.sh jenkins
|