From 046473309971ff09954d0fa91986c83fc61e7c77 Mon Sep 17 00:00:00 2001 From: ehlxr Date: Wed, 15 Aug 2018 11:40:27 +0800 Subject: [PATCH] delelte ignore file --- did-server/_build.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100755 did-server/_build.sh diff --git a/did-server/_build.sh b/did-server/_build.sh deleted file mode 100755 index 5606bfd..0000000 --- a/did-server/_build.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -echo "############## start ##############" -BUILD_DATE=`date +%Y-%m-%d:%H:%M:%S` - -#cd ../ -SERVER_NAME=`awk '/[^<]+<\/name>/{gsub(/|<\/name>/,"",$1);print $1;exit;}' pom.xml` -#SERVER_NAME=$(basename `pwd`) -mvn clean install -DskipTests -cp target/${SERVER_NAME}*.jar ./docker -cd docker - -err=$? -echo "############## $err ##############" -if [ "$err" -ne "0" ]; then - echo "############## build error ! ##############" - exit 1 -fi - -base_url=10.19.248.200:30100 -docker_url=${base_url}/ceres/${SERVER_NAME}:latest - -docker build --build-arg SERVER_NAME=${SERVER_NAME} -f ./Dockerfile -t ${docker_url} . - -#echo "docker login -u ggov ${base_url}" -docker login -u ggov -p !qaz2wsX ${base_url} - -docker push ${docker_url} - -rm ${SERVER_NAME}*.jar - -echo "build & push finish ..." -echo "############## ${BUILD_DATE} ##############" \ No newline at end of file