Commit 5b8228bd authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20180082: Job [Hi365_Android] configuration updated

Change performed by ³¯¾_¶§
parent 60248cf2
...@@ -49,7 +49,10 @@ ...@@ -49,7 +49,10 @@
<builders> <builders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>project_path=$(pwd) <command>project_path=$(pwd)
app_version=$(grep &apos;version:&apos; ${project_path}/pubspec.yaml | cut -d &apos; &apos; -f2)
cd ${project_path}/android
app_version=$(grep &apos;version:&apos; pubspec.yaml | cut -d &apos; &apos; -f2)
# determine build type by git branch # determine build type by git branch
if [ $BUILD_BRANCH == &quot;master&quot; ] if [ $BUILD_BRANCH == &quot;master&quot; ]
...@@ -60,7 +63,7 @@ else ...@@ -60,7 +63,7 @@ else
fi fi
output_path=&quot;${project_path}/build/app/outputs/apk/${build_type}&quot; output_path=&quot;${project_path}/build/app/outputs/apk/${build_type}&quot;
app_name=&quot;hi365-${build_type}-${app_version}.apk&quot; app_name=&quot;hi365_SIT_${build_type}-${app_version}.apk&quot;
flutter build apk --${build_type} flutter build apk --${build_type}
......
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