From 93787af7f23d8d2c7876448a1f7e4de81a714886 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 30 Jul 2019 14:46:42 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_UAT_DHP_apk] 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_apk/config.xml | 66 +++++++++++--------------- 1 file changed, 29 insertions(+), 37 deletions(-) diff --git a/jobs/HRB_Mobile_UAT_DHP_apk/config.xml b/jobs/HRB_Mobile_UAT_DHP_apk/config.xml index 97025c9d..1b27a94f 100644 --- a/jobs/HRB_Mobile_UAT_DHP_apk/config.xml +++ b/jobs/HRB_Mobile_UAT_DHP_apk/config.xml @@ -5,6 +5,14 @@ false + + + -1 + 5 + -1 + -1 + + ylhealth @@ -18,18 +26,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 @@ -55,33 +73,7 @@ hotfix/1.14.1GA false - PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" -VERSION=UAT_DHP_$(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.*\//https:\/\/dihtest.uhealthbank.com\//g' src/configs/index.js -sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" 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 '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" src/configs/index.js -sed -i '' "/allergyUrl/s/__DEV__.*url;/\'http:\/\/10.32.86.124\/\';/" src/configs/index.js - - -export ANDROID_HOME=/Users/jenkins/Library/Android/sdk - -npm run build-thread-android -bundle exec fastlane android uat - - - VERSION=UAT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) -NAME=HRB_Mobile - -mv android/app/build/outputs/apk/releaseUAT/app-releaseUAT.apk ~/Sites/${NAME}_${VERSION}.apk -scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/dhp/ + sh jenkins_android_uat.sh ${CODE_PUSH} @@ -114,9 +106,9 @@ scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.13 false + xterm - \ No newline at end of file -- 2.26.2