diff --git a/jobs/Hi365_Android/config.xml b/jobs/Hi365_Android/config.xml index 92cef0738281c815bb954d89802b1e94a7543a15..d8ced14c9a2014deab83875cc7a42408db3d557e 100644 --- a/jobs/Hi365_Android/config.xml +++ b/jobs/Hi365_Android/config.xml @@ -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} +scp -i ~/jenkins/jenkins ${apk_path} appuploader@10.57.117.135:~/app/Hi365/${apk_name} +