From abfae44b764d0ce2b921f0230871f7c0518e5d48 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 5 Dec 2018 12:18:37 +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 --- config.xml | 1 + jobs/HRB_Mobile_UAT_DHP_ipa/config.xml | 117 +++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 jobs/HRB_Mobile_UAT_DHP_ipa/config.xml diff --git a/config.xml b/config.xml index dbe511a4..c3a4763d 100644 --- a/config.xml +++ b/config.xml @@ -578,6 +578,7 @@ CRM_Mobile_UAT_ipa_CodePush HRB_Mobile_Other_apk HRB_Mobile_Other_ipa + HRB_Mobile_UAT_DHP_ipa diff --git a/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml b/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml new file mode 100644 index 00000000..d3ae363a --- /dev/null +++ b/jobs/HRB_Mobile_UAT_DHP_ipa/config.xml @@ -0,0 +1,117 @@ + + + + release/1.34 + false + + + ylhealth + + + + + HRB_Mobile_UAT_Branch + UAT 使用的版本,如: +release/1.15GA +hotfix/1.14.1GA + release/1.43 + false + + + + + + 2 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */${HRB_Mobile_UAT_Branch} + + + false + + + + MAC_BUILD_Machine + false + false + false + false + + 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_$(date +%Y%m%d)_$(git rev-parse --short HEAD) +MODIFIED_DATE=$(git log -1 --format="%ci" --) + +npm install + +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 +sed -i '' "/allergyUrl/s/\__DEV__.*\';/\'http:\/\/10.32.86.132\/\';/" src/configs/index.js + +node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./ios --entry-file index.worker.js --platform ios --bundle-output ./ios/worker.jsbundle --sourcemap-output ./ios/ios.worker.map + +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 ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/ + + + + + + + + + NotifyMessage=Deploy HRB Mobile ipa on UAT done. + false + + + Notify_Group + SUCCESS + false + false + + + + + $RD_Group $QA_Group + false + true + + + + + false + + + false + + + xterm + + + + \ No newline at end of file -- 2.26.2