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

20180082: Job [Hi365_Android] configuration updated

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