From 73bd2d7111f9cdbe5a2f559f82f50d41e68e7cc8 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Fri, 24 Aug 2018 11:34:39 +0800 Subject: [PATCH] 20180083: Job [CRM_Mobile_SIT_apk_CodePush] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by ยงรตยบ~? --- jobs/CRM_Mobile_SIT_apk_CodePush/config.xml | 77 +++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 jobs/CRM_Mobile_SIT_apk_CodePush/config.xml diff --git a/jobs/CRM_Mobile_SIT_apk_CodePush/config.xml b/jobs/CRM_Mobile_SIT_apk_CodePush/config.xml new file mode 100644 index 00000000..476c91d4 --- /dev/null +++ b/jobs/CRM_Mobile_SIT_apk_CodePush/config.xml @@ -0,0 +1,77 @@ + + + + + false + + + ylhealth + + + + 2 + 5 + -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 + + + 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_android android -m -d Staging + + + + + + $RD_Group $QA_Group + false + false + + + + + false + + + + + \ No newline at end of file -- 2.26.2