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
build_type="debug"
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}
......@@ -80,7 +80,8 @@ mv ${output_path}/app-${build_type}.apk ${apk_path}
# deploy
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>
</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