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

20180083: Job [Hi365_SIT_Deploy_iOS] configuration updated

Change performed by §õº~?
parent 986eb9c6
......@@ -58,9 +58,18 @@
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>project_path=$(pwd)
<command># Choose build dart by environment
if [ $BUILD_BRANCH == &quot;master&quot; ]
then
default_doc=&quot;main_uat.dart&quot;
else
default_doc=&quot;main_dev.dart&quot;
fi
# Set the variable
project_path=$(pwd)
flutter build ios -t lib/main_dev.dart
flutter build ios -t lib/${default_doc}
cd $project_path/ios
......
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