Commit 832c6bd8 authored by QA—索 文涛's avatar QA—索 文涛

modified: qa_shell_script/app/XyqbAndroidBuild.sh

parent 0a317114
...@@ -99,10 +99,10 @@ function upload_toLocalAppStore() ...@@ -99,10 +99,10 @@ function upload_toLocalAppStore()
echo "apk正在本地appstore,请等待......" echo "apk正在本地appstore,请等待......"
#cd ${StroeApk_path} #cd ${StroeApk_path}
echo "当前上传apk包的路径是 `pwd`" echo "当前上传apk包的路径是 `pwd`"
echo "curl -F \"file=@${git_branch}_${product_flavors}_${build_time}.apk\" -F \"type=${apk_type}\" -F \"version=${apk_version}\" http://192.168.4.241:9000/android/upload" echo "curl -F \"file=@${git_branch}_${product_flavors}_${build_time}.apk\" -F \"type=${apk_type}\" -F \"version=${apk_version}\" http://172.30.199.2:9000/android/upload"
curl -F "file=@${git_branch}_${product_flavors}_${build_time}.apk" -F "type=${apk_type}" -F "version=${apk_version}" http://192.168.4.241:9000/android/upload curl -F "file=@${git_branch}_${product_flavors}_${build_time}.apk" -F "type=${apk_type}" -F "version=${apk_version}" http://172.30.199.2:9000/android/upload
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "上传失败,请联系管理员查看" echo "上传 stpre.q-gp.com 失败,请联系管理员查看"
fi fi
} }
...@@ -117,7 +117,7 @@ function upload_apk() ...@@ -117,7 +117,7 @@ function upload_apk()
#curl -F "file=@${git_branch}_${product_flavors}_${build_time}.apk" -F "uKey=13d17385c02ea9ea994d0c985d87ff32" -F "_api_key=5b09af98d5a8ff43f2f39935fa6bfbc1" https://qiniu-storage.pgyer.com/apiv1/app/upload #curl -F "file=@${git_branch}_${product_flavors}_${build_time}.apk" -F "uKey=13d17385c02ea9ea994d0c985d87ff32" -F "_api_key=5b09af98d5a8ff43f2f39935fa6bfbc1" https://qiniu-storage.pgyer.com/apiv1/app/upload
curl -F "file=@${git_branch}_${product_flavors}_${build_time}.apk" -F "uKey=41968e9da5a634b7b33dc8ff41e31c4e" -F "_api_key=8c303b6f70e8abbda50d1503568f1864" https://qiniu-storage.pgyer.com/apiv1/app/upload curl -F "file=@${git_branch}_${product_flavors}_${build_time}.apk" -F "uKey=41968e9da5a634b7b33dc8ff41e31c4e" -F "_api_key=8c303b6f70e8abbda50d1503568f1864" https://qiniu-storage.pgyer.com/apiv1/app/upload
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "上传失败,请联系管理员查看" echo "上传 蒲公英 失败,请联系管理员查看"
fi fi
fi fi
} }
......
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