Hi365 iOS IPA 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 V0.0.0 false 1 5 -1 -1 2 https://cm.ylhealth.org/gitlab/YongYue/hi365-app.git/ 3485e854-8389-40e8-8c86-b94e94e91904 develop false Mac_Node1 false false false false false export FLUTTER_ROOT="/Users/jenkins/flutter" project_path=$(pwd) cd $project_path/ios now=$(date +"%Y_%m_%d_%H:%M") current_date=$(date +"%Y%m%d") app_version=$(grep 'version:' ${project_path}/pubspec.yaml | cut -d ' ' -f2) git_short_hash=$(git rev-parse --short HEAD) ipa_name="Hi365_SIT_${current_date}_${version_number}_${git_short_hash}.ipa" ipa_full_path="${$project_path}/ios/Hi365_SIT_${current_date}_${Version_Number}_${git_short_hash}.ipa" # Temporarily change xcode versino for fastlane fastlane run xcversion version:"11" # build ips fastlane sit # rename ipa to a identified one mv Runner.ipa ${ipa_name} # deploy echo "Deploy to IPA repository" scp -i ~/jenkins/jenkins ${ipa_full_path} appuploader@10.57.117.135:~/app/Hi365/${ipa_name} NotifyMessage=Deploy Hi365 IOS done in SIT. false Notify_Group SUCCESS false false NotifyMessage=Deploy Hi365 IOS Failure in SIT fail. Please check it. false Notify_Group UNSTABLE_OR_WORSE false false false false