From 0a2e1f9dd3a80fa2690fa48c8edd9d3f21e0de69 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Thu, 6 Jun 2019 17:44:21 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_UAT_ipa] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §N¨ήS --- jobs/HRB_Mobile_UAT_ipa/config.xml | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/jobs/HRB_Mobile_UAT_ipa/config.xml b/jobs/HRB_Mobile_UAT_ipa/config.xml index 9b8cdacc..a0ecd4ae 100644 --- a/jobs/HRB_Mobile_UAT_ipa/config.xml +++ b/jobs/HRB_Mobile_UAT_ipa/config.xml @@ -17,6 +17,12 @@ hotfix/1.14.1GA release/1.55 false + + CODE_PUSH + 哪一個 Job 執行 code-push + hrb + false + @@ -54,29 +60,7 @@ hotfix/1.14.1GA false - #security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private -sh jenkins_ios.sh UAT - -sed -i "" '/url/s/http.*\//https:\/\/uat.my.uhealthbank.com\//g' src/configs/index.js -sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" src/configs/index.js -sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" src/configs/index.js -sed -i '' "/allergyUrl/s/__DEV__.*url;/\'https:\/\/uat.my.uhealthbank.com\/\';/" src/configs/index.js - -# RN0.57.8 modify(HA-1058), after RN0.58 will remove this command -#sed -i "" 's/NSUInteger loopCount = 0;/CGFloat loopCount = 0;/' node_modules/react-native/Libraries/Image/RCTGIFImageDecoder.m - - - -npm run build-thread-ios -bundle exec fastlane ios uat - - - VERSION=UAT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) -NAME=HRB_Mobile - -mv $NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa -scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/ + sh jenkins_ios_uat.sh ${CODE_PUSH} -- 2.26.2