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

20180082: Job [Hi365_Android] configuration updated

Change performed by ³¯¾_¶§
parent af91ebad
......@@ -48,9 +48,18 @@
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>flutter clean &amp;&amp; flutter build apk --release
<command>project_path=$(pwd)
if </command>
# determine build type by git branch
if [ $BUILD_BRANCH == &quot;master&quot; ]
then
build_type=&quot;release&quot;
else
build_type=&quot;debug&quot;
fi
# clean build
flutter clean &amp;&amp; flutter build apk --${build_type}</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