WANG 6 年 前
コミット
f2fcaebc43
1 ファイル変更14 行追加0 行削除
  1. 14 0
      examcloud-core-examwork-starter/shell/jenkins.sh

+ 14 - 0
examcloud-core-examwork-starter/shell/jenkins.sh

@@ -0,0 +1,14 @@
+#!/bin/bash
+pwd
+
+rm -rf ~/project/examcloud/examcloud-core-examwork-distribution.zip
+rm -rf ~/project/examcloud/examcloud-core-examwork/lib/
+
+cp examcloud-core-examwork-starter/target/examcloud-core-examwork-distribution.zip ~/project/examcloud/
+
+cd  ~/project/examcloud/
+unzip -o examcloud-core-examwork-distribution.zip
+
+cd examcloud-core-examwork
+bash stop.sh
+bash start.sh