From 55341df9d1d4da327636d4088806e3786023c70c Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Mon, 18 Feb 2019 16:03:20 +0800 Subject: [PATCH] scott: Job [CRM_Mobile_UAT_apk_CodePush] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ·¨¼y°ó --- jobs/CRM_Mobile_UAT_apk_CodePush/config.xml | 90 +++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 jobs/CRM_Mobile_UAT_apk_CodePush/config.xml diff --git a/jobs/CRM_Mobile_UAT_apk_CodePush/config.xml b/jobs/CRM_Mobile_UAT_apk_CodePush/config.xml new file mode 100644 index 00000000..46cad888 --- /dev/null +++ b/jobs/CRM_Mobile_UAT_apk_CodePush/config.xml @@ -0,0 +1,90 @@ + + + + + false + + + + 3 + -1 + -1 + -1 + + + + ylhealth + + + + + CRM_Mobile_UAT_Branch + UAT 使用的版本,如: +release/1.15GA +hotfix/1.14.1GA + release/1.15GA + false + + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/CRM_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */${CRM_Mobile_UAT_Branch} + + + false + + + + Mac_Node + false + false + false + false + + + + + + false + + + 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" --) + +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_Android -d UAT + + + + + + $RD_Group $QA_Group + false + false + + + + + false + + + false + + + \ No newline at end of file -- 2.26.2