Commit 09a8ed88 authored by QA—索 文涛's avatar QA—索 文涛

modified: qa_shell_script/app/XyqbAndroidBuild.sh

parent 6de43b85
......@@ -26,18 +26,17 @@ cd ${project_path}
function info(){
echo ">>>>>>>>>>>>>>>>> [ info ] <<<<<<<<<<<<<<<"
echo "PROJECT_PATH : $project_path"
echo ":ADNROID_HOME : $ANDROID_HOME"
echo ":PATH : $PATH"
echo ":USER : $USER"
echo "|PROJECT_PATH : $project_path"
echo "|PATH : $PATH"
echo "|USER : $USER"
echo "------------------------------------------"
echo ":apk_version : $apk_version"
echo ":git_branch : $git_branch"
echo ":product_flavors : $product_flavors"
echo ":build_time : $build_time"
echo ":test_server : $test_server"
echo ":apk_type : $apk_type"
echo ":need_upload : $need_upload"
echo "|apk_version : $apk_version"
echo "|git_branch : $git_branch"
echo "|product_flavors : $product_flavors"
echo "|build_time : $build_time"
echo "|test_server : $test_server"
echo "|apk_type : $apk_type"
echo "|need_upload : $need_upload"
echo "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
}
......@@ -65,10 +64,11 @@ function get_code()
function replace_config()
{
echo ">>>>>>>>>>>>>>>>> [ replace_config ] <<<<<<<<<<<<<<<"
if [ -f ${BuildGradle_file} ];then
echo "正在替换配置文件,请稍后......"
sed -i "s/apply plugin\: 'newlens'/\/\/apply plugin\: 'newlens'/g" ${BuildGradle_file}
sed -i "s/artifact = 'com.tencent.mm:SevenZip:1.1.13'/\/\/artifact = 'com.tencent.mm:SevenZip:1.1.13'/g" ${BuildGradle_file}
echo "|正在替换配置文件,请稍后......"
#sed -i "s/apply plugin\: 'newlens'/\/\/apply plugin\: 'newlens'/g" ${BuildGradle_file}
#sed -i "s/artifact = 'com.tencent.mm:SevenZip:1.1.13'/\/\/artifact = 'com.tencent.mm:SevenZip:1.1.13'/g" ${BuildGradle_file}
#sed -i "s/\/\/path = \"\/usr\/local\/bin\/7za\"/path = \"\/usr\/local\/p7zip_9.20.1\/bin\/7za\"/g" ${BuildGradle_file}
sed -i "s#https://sappbackend.xyqb.com/#http://${test_server}/#g" ${Constant_file}
......
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