From 3883079832f41dcb20190f145958e3effae6375e Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Fri, 24 Aug 2018 13:47:54 +0800 Subject: [PATCH] 20180083: Job [HRB_Mobile_UAT_ipa_CodePush] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §õº~? --- jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml | 93 +++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml diff --git a/jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml b/jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml new file mode 100644 index 00000000..8491508a --- /dev/null +++ b/jobs/HRB_Mobile_UAT_ipa_CodePush/config.xml @@ -0,0 +1,93 @@ + + + + 只做 codepush, 不打包 ipa + +*/release/1.14GA + false + + + ylhealth + + + + + HRB_Mobile_UAT_Branch + UAT 使用的版本,如: +release/1.15GA +hotfix/1.14.1GA + release/1.15GA + false + + + + + + 2 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */develop + + + false + + + + MAC_BUILD_Machine + false + false + false + false + + + + HRB_Mobile_UAT_ipa + + SUCCESS + 0 + BLUE + true + + + + 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 +VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) +MODIFIED_DATE=$(git log -1 --format="%ci" --) + +npm install +RNFB_ANDROID_PERMISSIONS=true react-native link + +sed -i "" '/url/s/http.*\//http:\/\/10.32.86.139\//g' src/configs/index.js +sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js +sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" src/configs/index.js + +code-push release-react HRB_Mobile_ios ios -m -d UAT + + + + + + false + + + + + \ No newline at end of file -- 2.26.2