WANG 6 năm trước cách đây
mục cha
commit
12cf8543c9
1 tập tin đã thay đổi với 14 bổ sung0 xóa
  1. 14 0
      examcloud-task-starter/shell/jenkins.sh

+ 14 - 0
examcloud-task-starter/shell/jenkins.sh

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