From 78b37e46ba4d06da730b6fbd4ad3b518102f1380 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Fri, 2 Nov 2018 16:45:14 +0800 Subject: [PATCH] 20170121: Job [CRM_Mobile_SIT_I18N_ipa_CodePush] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §N¨ήS --- config.xml | 1 + .../config.xml | 79 +++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 jobs/CRM_Mobile_SIT_I18N_ipa_CodePush/config.xml diff --git a/config.xml b/config.xml index 2968d525..07a4ef18 100644 --- a/config.xml +++ b/config.xml @@ -771,6 +771,7 @@ CRM_Mobile_SIT_apk_CodePush CRM_Mobile_SIT_I18N_apk CRM_Mobile_SIT_I18N_ipa + CRM_Mobile_SIT_I18N_ipa_CodePush CRM_Mobile_SIT_ipa CRM_Mobile_SIT_ipa_CodePush CRM_Mobile_UAT_apk diff --git a/jobs/CRM_Mobile_SIT_I18N_ipa_CodePush/config.xml b/jobs/CRM_Mobile_SIT_I18N_ipa_CodePush/config.xml new file mode 100644 index 00000000..db9c60cb --- /dev/null +++ b/jobs/CRM_Mobile_SIT_I18N_ipa_CodePush/config.xml @@ -0,0 +1,79 @@ + + + + + false + + + ylhealth + + + + 3 + -1 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/CRM_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */develop + + + false + + + + Mac_Node + false + false + false + false + + + 0 8,13,17 * * * + + + 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=SIT_$(date +%Y%m%d%H)_$(git rev-parse --short HEAD) +MODIFIED_DATE=$(git log -1 --format="%ci" --) + +sed -i '' "/url/s/\'.*\';/\'http:\/\/10.32.86.132\/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 + +code-push release-react CRM_Mobile_ios ios -m -d Staging + + + + + $RD_Group $QA_Group + false + false + + + + + false + + + false + + + \ No newline at end of file -- 2.26.2