Commit 8a77556f authored by QA—索 文涛's avatar QA—索 文涛

modified: qa_shell_script/app/XyqbAndroidBuild.sh

parent 00875aeb
...@@ -13,8 +13,11 @@ build_time=$3 ...@@ -13,8 +13,11 @@ build_time=$3
cd ${project_path} cd ${project_path}
function get_code() function get_code()
{ {
git checkout ./
git fetch -p
if [ -z ${branch_name} ]; then if [ -z ${branch_name} ]; then
echo "分支为空,已切换默认分支master" echo "分支为空,已切换默认分支master"
git pull git pull
else else
echo "checkout specified branch ${branch_name}" echo "checkout specified branch ${branch_name}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment