Explorar o código

启动脚本修复

lideyin %!s(int64=5) %!d(string=hai) anos
pai
achega
e4c42fc4f6
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      jenkins-prod.sh
  2. 2 2
      jenkins-test.sh

+ 1 - 1
jenkins-prod.sh

@@ -1,4 +1,4 @@
 #!/bin/bash
 pwd
 
-cp examcloud-ws-starter/target/examcloud-ws-distribution.zip ~/packages
+cp target/examcloud-ws-distribution.zip ~/packages

+ 2 - 2
jenkins-test.sh

@@ -4,7 +4,7 @@ pwd
 rm -rf ~/project/examcloud/examcloud-ws-distribution.zip
 rm -rf ~/project/examcloud/examcloud-ws/lib/
 
-cp examcloud-ws-starter/target/examcloud-ws-distribution.zip ~/project/examcloud/
+cp target/examcloud-ws-distribution.zip ~/project/examcloud/
 
 cd  ~/project/examcloud/
 unzip -o examcloud-ws-distribution.zip
@@ -15,4 +15,4 @@ echo "-server -Xms512m -Xmx512m  -XX:-UseGCOverheadLimit" > start.vmoptions
 
 bash stop.sh
 BUILD_ID=DONTKILLME
-bash start.sh jenkins
+bash start.sh 400