Commit 786bdde5 by tingweiwang

修改branch变量未生效问题

1 parent e1061776
Showing with 4 additions and 4 deletions
...@@ -32,7 +32,7 @@ rm -rf $seetaas_workspace ...@@ -32,7 +32,7 @@ rm -rf $seetaas_workspace
echo "为后端创建src目录" echo "为后端创建src目录"
test -d $seetaas_workspace/src || mkdir $seetaas_workspace/src/ -pv test -d $seetaas_workspace/src || mkdir $seetaas_workspace/src/ -pv
echo "拉取 autodl-core代码,并且编译" echo "拉取 autodl-core代码,并且编译"
git clone -b master git@gitlab.seetatech.com:autodl.com/autodl-core.git $seetaas_workspace/src/autodl-core && cd $seetaas_workspace/src/autodl-core/ && export GOPATH=$seetaas_workspace && sed_proxy && make build mode=dev ||echo "重新尝试" && make build mode=dev git clone -b $autodl_core_branch git@gitlab.seetatech.com:autodl.com/autodl-core.git $seetaas_workspace/src/autodl-core && cd $seetaas_workspace/src/autodl-core/ && export GOPATH=$seetaas_workspace && sed_proxy && make build mode=dev ||echo "重新尝试" && make build mode=dev
} }
kpl_frontend(){ kpl_frontend(){
...@@ -43,7 +43,7 @@ rm -rf node_modules ...@@ -43,7 +43,7 @@ rm -rf node_modules
kpl_backend(){ kpl_backend(){
echo "拉取master 分支 seetaas-backend代码,并且编译" echo "拉取master 分支 seetaas-backend代码,并且编译"
git clone -b master git@gitlab.seetatech.com:seetaas.com/seetaas-backend.git $seetaas_workspace/src/seetaas-backend && cd $seetaas_workspace/src/seetaas-backend/ && export GOPATH=$seetaas_workspace && sed_proxy && make build -j 7 || echo "重新尝试" && rm -rf $seetaas_workspace/pkg && make build mode=dev git clone -b $kpl_backend_branch git@gitlab.seetatech.com:seetaas.com/seetaas-backend.git $seetaas_workspace/src/seetaas-backend && cd $seetaas_workspace/src/seetaas-backend/ && export GOPATH=$seetaas_workspace && sed_proxy && make build -j 7 || echo "重新尝试" && rm -rf $seetaas_workspace/pkg && make build mode=dev
echo "删除pkg包" && rm -rf $seetaas_workspace/pkg echo "删除pkg包" && rm -rf $seetaas_workspace/pkg
} }
...@@ -51,12 +51,12 @@ echo "删除pkg包" && rm -rf $seetaas_workspace/pkg ...@@ -51,12 +51,12 @@ echo "删除pkg包" && rm -rf $seetaas_workspace/pkg
kpl_stream(){ kpl_stream(){
echo "拉取master 分支 kpl-stream代码,并且编译" echo "拉取master 分支 kpl-stream代码,并且编译"
git clone -b master git@gitlab.seetatech.com:seetaas.com/kpl-stream.git $seetaas_workspace/src/kpl-stream && cd $seetaas_workspace/src/kpl-stream/ && export GOPATH=$seetaas_workspace && sed_proxy && make build mode=dev || echo "重新尝试" && rm -rf $seetaas_workspace/pkg && make build mode=dev git clone -b $kpl_stream_branch git@gitlab.seetatech.com:seetaas.com/kpl-stream.git $seetaas_workspace/src/kpl-stream && cd $seetaas_workspace/src/kpl-stream/ && export GOPATH=$seetaas_workspace && sed_proxy && make build mode=dev || echo "重新尝试" && rm -rf $seetaas_workspace/pkg && make build mode=dev
} }
kpl_launcher(){ kpl_launcher(){
echo "拉取master 分支 kpl-launcher代码,并且编译" echo "拉取master 分支 kpl-launcher代码,并且编译"
git clone -b master git@gitlab.seetatech.com:tingweiwang/kpl-launcher.git $seetaas_workspace/src/kpl-launcher git clone -b $kpl_launcher_branch git@gitlab.seetatech.com:tingweiwang/kpl-launcher.git $seetaas_workspace/src/kpl-launcher
} }
private_img(){ private_img(){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!