Commit c10249b7 by tingweiwang

fix

1 parent 1ae107c5
Showing with 2 additions and 4 deletions
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
dev_host=192.168.1.42 dev_host=192.168.1.42
fu_host=192.168.1.36 fu_host=192.168.1.36
test_host=192.168.51 test_host=192.168.51
project_workspace=/tmp
IMAGE=hub.kce.ksyun.com/kpl_k8s/nginx:latest IMAGE=hub.kce.ksyun.com/kpl_k8s/nginx:latest
DOCKER_REGISTRY=hub.kce.ksyun.com DOCKER_REGISTRY=hub.kce.ksyun.com
######################################### #########################################
...@@ -33,9 +33,7 @@ kubectl apply -f k8s_yaml ...@@ -33,9 +33,7 @@ kubectl apply -f k8s_yaml
########################################## ##########################################
deploy_test () deploy_test ()
{ {
pwd scp -r $WORKSPACE $JOB_NAME $test_host:$project_workspace
} }
:<<! :<<!
if[[ $DEPLOY_ENV = "dev" ]] if[[ $DEPLOY_ENV = "dev" ]]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!