From 1fc788a313209670f44824434c36443650eae960 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Mon, 10 Jun 2019 10:43:11 +0800 Subject: [PATCH] 20170121: 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 §N¨ήS --- jobs/CRM_Mobile_UAT_apk_CodePush/config.xml | 36 +++++++++------------ 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/jobs/CRM_Mobile_UAT_apk_CodePush/config.xml b/jobs/CRM_Mobile_UAT_apk_CodePush/config.xml index 20dc75c1..5decd899 100644 --- a/jobs/CRM_Mobile_UAT_apk_CodePush/config.xml +++ b/jobs/CRM_Mobile_UAT_apk_CodePush/config.xml @@ -4,14 +4,6 @@ false - - - 3 - -1 - -1 - -1 - - ylhealth @@ -25,8 +17,22 @@ release/1.15GA release/1.55 false + + CODE_PUSH + + chm + false + + + + 3 + -1 + -1 + -1 + + 2 @@ -58,19 +64,7 @@ release/1.15GA false - npm install -RNFB_ANDROID_PERMISSIONS=true -#react-native link - -export VERSION=UAT_$(grep appVersion appConfig.json|cut -d'"' -f4)_$(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 -m -d UAT + sh jenkins_android_uat.sh ${CODE_PUSH} -- 2.26.2