edge-portal-jenkins.sh 401 B

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