From ef8f035153538dc78083e1f678f558cd60168571 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Thu, 12 Sep 2019 12:19:05 +0800 Subject: [PATCH] 20180083: Job [Hi365_SIT_Deploy_iOS] hierarchy renamed from [Hi365_iOS] to [Hi365_SIT_Deploy_iOS] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ยงรตยบ~? --- config.xml | 2 +- jobs/Hi365_iOS/config.xml | 135 -------------------------------------- 2 files changed, 1 insertion(+), 136 deletions(-) delete mode 100644 jobs/Hi365_iOS/config.xml diff --git a/config.xml b/config.xml index a3b657af..1abe030a 100644 --- a/config.xml +++ b/config.xml @@ -899,8 +899,8 @@ Deploy_Hi365_OAuth_Authorization_Develop Deploy_Hi365_OAuth_Client_Develop Deploy_Hi365_OAuth_Resource_Develop - Hi365_iOS Hi365_SIT_Deploy_Android + Hi365_SIT_Deploy_iOS diff --git a/jobs/Hi365_iOS/config.xml b/jobs/Hi365_iOS/config.xml deleted file mode 100644 index e797d486..00000000 --- a/jobs/Hi365_iOS/config.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - Hi365 iOS IPA Packager - false - - - ylhealth - - - - - BUILD_TYPE - - - - Debug - Release - - - - - BUILD_BRANCH - - - - develop - master - - - - - - - - 2 - - - https://cm.ylhealth.org/gitlab/YongYue/hi365-app.git/ - 3485e854-8389-40e8-8c86-b94e94e91904 - - - - - */${BUILD_BRANCH} - - - false - - - - Mac_Node1 - false - false - false - false - - false - - - project_path=$(pwd) - -flutter build ios - -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) - -scheme="Runner" - -# package configuration for fastlane -configuration=${BUILD_TYPE} - -# export methods supports app-store, package, ad-hoc, enterprise, development and developer-id. -if [ $BUILD_TYPE == "Release" ] -then - export_method="app-store" -elif [ $BUILD_TYPE == "AdHoc" ] -then - export_method="ad-hoc" -else - export_method="development" -fi - -# iOS project path -workspace_path="${project_path}/ios/Runner.xcodeproj" - -# ipa export folder -rm -rf "${project_path}/ipa" -mkdir -p "${project_path}/ipa" -output_path="${project_path}/ipa" - -# project archive path -archive_path="$output_path/hi365_${export_method}_${now}.xcarchive" - -# ipa name -ipa_name="Hi365_SIT_${current_date}_${git_short_hash}.ipa" - -# ipa export path -ipa_path="$output_path/${ipa_name}" - -commit_msg="$1" - -# show env settings -echo "===workspace path: ${workspace_path}===" -echo "===archive path: ${archive_path}===" -echo "===ipa path: ${ipa_path}===" -echo "===export method: ${export_method}===" -echo "===commit msg: $1===" - -# Clean build and deploy -fastlane gym --scheme ${scheme} --clean --configuration ${configuration} --archive_path ${archive_path} --export_method ${export_method} --output_directory ${output_path} --output_name ${ipa_name} -if [ ${export_method} != "app-store" ] -then -echo "Deploy to IPA repository" -scp -i ~/jenkins/jenkins ${ipa_path} appuploader@10.57.117.135:~/app/Hi365/${ipa_name} -fi - - - - - - false - - - false - - - \ No newline at end of file -- 2.26.2