centralbase_jenkins.sh 432 B

1234567891011
  1. #!/bin/bash
  2. # 停止服务
  3. sh /home/geo/geo-test/microarch_bg/centralbase.sh stop
  4. # 删除原来文件
  5. rm -rf /home/geo/geo-test/microarch_bg/microarch_bg_centralbase-0.0.1-SNAPSHOT.jar
  6. # 移出来
  7. mv /home/geo/geo-test/microarch_bg/target/microarch_bg_centralbase-0.0.1-SNAPSHOT.jar /home/geo/geo-test/microarch_bg/microarch_bg_centralbase-0.0.1-SNAPSHOT.jar
  8. # 启动服务
  9. sh /home/geo/geo-test/microarch_bg/centralbase.sh start