diff --git a/jobs/CRM_Mobile_HotFix_UAT_ipa_CodePush/config.xml b/jobs/CRM_Mobile_HotFix_UAT_ipa_CodePush/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..ec5d5ebbb2cab573c8eb90d6e4ebc38034f31c58 --- /dev/null +++ b/jobs/CRM_Mobile_HotFix_UAT_ipa_CodePush/config.xml @@ -0,0 +1,78 @@ + + + + + false + + + + 3 + -1 + -1 + -1 + + + + ylhealth + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/CRM_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */hotfix/1.16.2GA + + + false + + + + Mac_Node + false + false + false + false + + false + + + PATH="$PATH:/usr/local/bin:/Users/scott/.fastlane/bin/" +security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private +npm install +RNFB_ANDROID_PERMISSIONS=true react-native link + +VERSION=UAT_$(date +%Y%m%d%H)_$(git rev-parse --short HEAD) +MODIFIED_DATE=$(git log -1 --format="%ci" --) + +GIT_BRANCH=`git rev-parse HEAD | git branch -a --contains | grep remotes | sed 's/.*remotes.origin.//'` + + +sed -i '' "/url/s/\'.*\';/\'http:\/\/10.32.86.136\/CRM\/\';/" app/configs/constant/urls.js +sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" app/configs/constant/urls.js +sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" app/configs/constant/urls.js + +appcenter codepush release-react -a h2uclub/CRM_Mobile_ios -d UAT + + + + + $RD_Group $QA_Group + false + false + + + + + false + + + false + + + \ No newline at end of file