Hi365 Prod APK Packager false com.cloudbees.plugins.credentials.CredentialsProvider.View:longmengua hudson.model.Item.Build:longmengua hudson.model.Item.Cancel:longmengua hudson.model.Item.Configure:longmengua hudson.model.Item.Discover:longmengua hudson.model.Item.Gitflow:longmengua hudson.model.Item.Read:longmengua hudson.model.Item.Workspace:longmengua ylhealth Version_Number 0.0.0 false -1 5 -1 -1 2 https://cm.ylhealth.org/gitlab/YongYue/hi365-app.git 3485e854-8389-40e8-8c86-b94e94e91904 master false Mac_Node1 false false false false false project_path=$(pwd) # app_version=$(grep 'version:' ${project_path}/pubspec.yaml | cut -d ' ' -f2) current_date=$(date +"%Y%m%d") git_short_hash=$(git rev-parse --short HEAD) output_path="${project_path}/build/app/outputs/bundle/release" new_aab_name="Hi365_Release_${current_date}_$Version_Number_${git_short_hash}.aab" aab_path="${output_path}/${new_aab_name}" # build command flutter build appbundle --release -t lib/main_prod.dart --target-platform=android-arm64 # rename aab name mv ${output_path}/app-release.aab ${aab_path} # deploy echo "TODO...Deploy to Google Play Store by fastlane" false false