Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
09a8ed88
Commit
09a8ed88
authored
Nov 21, 2017
by
QA—索 文涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: qa_shell_script/app/XyqbAndroidBuild.sh
parent
6de43b85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
XyqbAndroidBuild.sh
qa_shell_script/app/XyqbAndroidBuild.sh
+14
-14
No files found.
qa_shell_script/app/XyqbAndroidBuild.sh
View file @
09a8ed88
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment