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
102cbc1e
Commit
102cbc1e
authored
Sep 14, 2017
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitabc.xyqb.com/QA/qa-deploy-utils
parents
9958d6d5
4cc952f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
XyqbAndroidBuild.sh
qa_shell_script/app/XyqbAndroidBuild.sh
+2
-0
No files found.
qa_shell_script/app/XyqbAndroidBuild.sh
View file @
102cbc1e
...
@@ -6,6 +6,7 @@ StroeApk_path=${project_path}/apk
...
@@ -6,6 +6,7 @@ StroeApk_path=${project_path}/apk
BuildGradle_file
=
${
project_path
}
/app/build.gradle
BuildGradle_file
=
${
project_path
}
/app/build.gradle
Constant_file
=
${
project_path
}
/app/src/main/java/com/financial/quantgroup/constants/Constant.java
Constant_file
=
${
project_path
}
/app/src/main/java/com/financial/quantgroup/constants/Constant.java
BuildApk_path
=
${
project_path
}
/build/archives
BuildApk_path
=
${
project_path
}
/build/archives
downloadApk_path
=
/home/quant_group/jenkins/download_apk
SourceMarkes_flavors
=
/home/qa-deploy-utils/qa_shell_script/app/markets.txt
SourceMarkes_flavors
=
/home/qa-deploy-utils/qa_shell_script/app/markets.txt
branch_name
=
$1
branch_name
=
$1
product_flavors
=
$2
product_flavors
=
$2
...
@@ -80,6 +81,7 @@ function build_android()
...
@@ -80,6 +81,7 @@ function build_android()
echo
"当前路径
`
pwd
`
"
echo
"当前路径
`
pwd
`
"
#mv ${ApkFile} ${StroeApk_path}/${branch_name}_${product_flavors}.apk
#mv ${ApkFile} ${StroeApk_path}/${branch_name}_${product_flavors}.apk
mv
${
ApkFile
}
${
branch_name
}
_
${
product_flavors
}
_
${
build_time
}
.apk
mv
${
ApkFile
}
${
branch_name
}
_
${
product_flavors
}
_
${
build_time
}
.apk
cp
-R
${
branch_name
}
_
${
product_flavors
}
_
${
build_time
}
.apk
${
downloadApk_path
}
/
${
branch_name
}
.apk
else
else
echo
"构建失败,请联系管理员查看"
.
echo
"构建失败,请联系管理员查看"
.
exit
-1
exit
-1
...
...
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