diff --git a/order-service/deploy/run_java.sh b/order-service/deploy/run_java.sh index c38d7a6..ed4ec8b 100644 --- a/order-service/deploy/run_java.sh +++ b/order-service/deploy/run_java.sh @@ -3,8 +3,6 @@ cd /opt/cdtest version=$(echo *.jar | grep -oP '\d+\.\d+\.\d+') service=$(echo *.jar | cut -d'-' -f1,2) -sudo docker build -t $service:$version . -echo "build" sudo docker run -d --name "$service-1" $service:$version echo "successfully run!" sudo docker stop "$service-2" diff --git a/robot-service/deploy/run_java.sh b/robot-service/deploy/run_java.sh index c38d7a6..ed4ec8b 100644 --- a/robot-service/deploy/run_java.sh +++ b/robot-service/deploy/run_java.sh @@ -3,8 +3,6 @@ cd /opt/cdtest version=$(echo *.jar | grep -oP '\d+\.\d+\.\d+') service=$(echo *.jar | cut -d'-' -f1,2) -sudo docker build -t $service:$version . -echo "build" sudo docker run -d --name "$service-1" $service:$version echo "successfully run!" sudo docker stop "$service-2" diff --git a/worker-service/deploy/run_java.sh b/worker-service/deploy/run_java.sh index c38d7a6..ed4ec8b 100644 --- a/worker-service/deploy/run_java.sh +++ b/worker-service/deploy/run_java.sh @@ -3,8 +3,6 @@ cd /opt/cdtest version=$(echo *.jar | grep -oP '\d+\.\d+\.\d+') service=$(echo *.jar | cut -d'-' -f1,2) -sudo docker build -t $service:$version . -echo "build" sudo docker run -d --name "$service-1" $service:$version echo "successfully run!" sudo docker stop "$service-2"