From 943f870ad979fa28a8d3cd7689bb64cf97f36a8e Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 8 Aug 2018 16:17:47 +0800 Subject: [PATCH] 20170121: Job [CRM_Mobile_SIT_ipa_CodePush] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §N¨ήS --- jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml | 78 +++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml diff --git a/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml b/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml new file mode 100644 index 00000000..c8fa85fa --- /dev/null +++ b/jobs/CRM_Mobile_SIT_ipa_CodePush/config.xml @@ -0,0 +1,78 @@ + + + + + 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/\'.*\';/\'https:\/\/chm.foxconn.com\/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 + + + + + \ No newline at end of file -- 2.26.2