jenkins-test.sh 512 B

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