Bläddra i källkod

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 år sedan
förälder
incheckning
b7582d7201
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      setup_dev.sh

+ 2
- 2
setup_dev.sh Visa fil

@@ -4,7 +4,7 @@ mvn package -Dmaven.test.skip=true
#image_version=$(date +%Y%m%d%H%M)
image_version=$version

docker cp docker_jenkins:/var/jenkins_home/workspace/dipperpos_service/target/dipperposition.jar /home/data/dipperposition/dipperposition.jar
docker cp docker_jenkins:/var/jenkins_home/workspace/dipperpos_service/target/dipperposition.jar /usr/local/dipperposition/dipperposition.jar
#docker stop dipperposition_service || true
#docker rm dipperposition_service || true

@@ -60,5 +60,5 @@ docker cp docker_jenkins:/var/jenkins_home/workspace/dipperpos_service/target/di

echo '=================启动NettyAPP======================='
ps -ef |grep dipperposition |awk '{print $2}'|xargs kill -9
java -jar -Xms256m -Xmx256m -Xss256k -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m /home/data/dipperposition/dipperposition.jar
java -jar -Xms256m -Xmx256m -Xss256k -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m /usr/local/dipperposition/dipperposition.jar
echo '=================完成NettyAPP启动======================='

Laddar…
Avbryt
Spara