From a10797f4dae59bb99d53ef2042b4b49769c45910 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 30 Jul 2019 14:46:19 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_UAT_DHP_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_DHP_ipa/config.xml | 68 +++++++++++--------------- 1 file changed, 29 insertions(+), 39 deletions(-) diff --git a/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml b/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml index d46efb96..d0a43294 100644 --- a/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml +++ b/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml @@ -4,6 +4,14 @@ DHP 打包 ipa,不做 code push false + + + -1 + 5 + -1 + -1 + + ylhealth @@ -17,18 +25,28 @@ hotfix/1.14.1GA DHP/develop false + + HTT_PROTOCOL + http / https + https + false + + + API_SERVER + 連線位置 + dihuat.uhealthbank.com + false + + + CODE_PUSH + + dhp + false + - - - -1 - 5 - -1 - -1 - - - + 2 @@ -54,35 +72,7 @@ hotfix/1.14.1GA false - PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" -security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private -VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) - -npm install - -sed -i "" '/url/s/http.*\//https:\/\/dihtest.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 '' "/defaultLanguageCode/s/\'.*\';/\'en_US\';/" src/configs/index.js -sed -i '' "/unitStandard/s/\'.*\';/\'USCU\';/" src/configs/index.js -sed -i '' "/allergyUrl/s/__DEV__.*url;/\'http:\/\/10.32.86.124\/\';/" 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_DHP_$(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/dhp/ + sh jenkins_ios_uat.sh ${CODE_PUSH} @@ -115,9 +105,9 @@ scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.13 false + xterm - \ No newline at end of file -- 2.26.2