jenkins-dev.sh 487 B

123456789101112131415161718
  1. #!/bin/bash
  2. pwd
  3. rm -rf ~/project/examcloud/examcloud-ws-distribution.zip
  4. rm -rf ~/project/examcloud/examcloud-ws/lib/
  5. cp target/examcloud-ws-distribution.zip ~/project/examcloud/
  6. cd ~/project/examcloud/
  7. unzip -o examcloud-ws-distribution.zip
  8. cd examcloud-ws
  9. echo "--spring.profiles.active=dev --examcloud.startup.configCenterHost=localhost" > start.args
  10. echo "-server -Xms512m -Xmx512m -XX:-UseGCOverheadLimit" > start.vmoptions
  11. bash stop.sh
  12. BUILD_ID=DONTKILLME
  13. bash start.sh 400