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

20180082: Job [Hi365_Android] configuration updated

Change performed by ³¯¾_¶§
parent 9e43f5f1
...@@ -66,11 +66,11 @@ else ...@@ -66,11 +66,11 @@ else
build_type="debug" build_type="debug"
fi fi
output_path="" output_path="${project_path}/build/app/outputs/apk/${build_type}"
apk_name="hi365_SIT_${current_date}-${git_short_hash}.apk" apk_name="Hi365_SIT_${current_date}-${git_short_hash}.apk"
apk_path="${project_path}/build/app/outputs/apk/${build_type}/${apk_name}" apk_path="${output_path}/${apk_name}"
flutter build apk --${build_type} flutter build apk --${build_type}
...@@ -80,7 +80,8 @@ mv ${output_path}/app-${build_type}.apk ${apk_path} ...@@ -80,7 +80,8 @@ mv ${output_path}/app-${build_type}.apk ${apk_path}
# deploy # deploy
echo "Deploy to APK repository" echo "Deploy to APK repository"
scp -i ~/jenkins/jenkins ${apk_path} appuploader@10.57.117.135:~/app/Hi365/${apk_name}</command> scp -i ~/jenkins/jenkins ${apk_path} appuploader@10.57.117.135:~/app/Hi365/${apk_name}
</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
<publishers/> <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