123456789101112131415161718 |
- #!/bin/bash
- pwd
- rm -rf ~/project/examcloud/examcloud-bridge-distribution.zip
- rm -rf ~/project/examcloud/examcloud-bridge/lib/
- cp target/examcloud-bridge-distribution.zip ~/project/examcloud/
- cd ~/project/examcloud/
- unzip -o examcloud-bridge-distribution.zip
- cd examcloud-bridge
- echo "--spring.profiles.active=test --examcloud.startup.configCenterHost=localhost" > start.args
- echo "-server -Xms128m -Xmx128m -XX:-UseGCOverheadLimit" > start.vmoptions
- bash stop.sh
- BUILD_ID=DONTKILLME
- bash start.sh jenkins
|