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

20180082: Job [Hi365_Android] configuration updated

Change performed by ³¯¾_¶§
parent 0474ec64
......@@ -68,9 +68,9 @@ fi
output_path="${project_path}/build/app/outputs/apk/${build_type}"
apk_name="Hi365_SIT_${current_date}-${git_short_hash}.apk"
new_apk_name="Hi365_SIT_${current_date}-${git_short_hash}.apk"
apk_path="${output_path}/${apk_name}"
apk_path="${output_path}/${new_apk_name}"
flutter build apk --${build_type}
......@@ -80,7 +80,7 @@ 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}
scp -i ~/jenkins/jenkins ${apk_path} appuploader@10.57.117.135:~/app/Hi365/${new_apk_name}
</command>
</hudson.tasks.Shell>
</builders>
......
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