From 7a90c90b9b6e24aedd04f88c9f8440a61ece0866 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Thu, 13 Jun 2019 23:11:45 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_Prod_Expert_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_Prod_Expert_ipa/config.xml | 121 +++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 jobs/HRB_Mobile_Prod_Expert_ipa/config.xml diff --git a/config.xml b/config.xml index d542aaec..917031d7 100644 --- a/config.xml +++ b/config.xml @@ -192,6 +192,7 @@ HRB_Mobile_DEMO_ipa HRB_Mobile_Other_ipa HRB_Mobile_Prod_DHP_ipa + HRB_Mobile_Prod_Expert_ipa HRB_Mobile_Prod_ipa HRB_Mobile_Prod_ipa_CodePush HRB_Mobile_Prod_JV_ipa diff --git a/jobs/HRB_Mobile_Prod_Expert_ipa/config.xml b/jobs/HRB_Mobile_Prod_Expert_ipa/config.xml new file mode 100644 index 00000000..3918adfd --- /dev/null +++ b/jobs/HRB_Mobile_Prod_Expert_ipa/config.xml @@ -0,0 +1,121 @@ + + + + 只打包 ipa,不做 code push + false + + + ylhealth + + + + + HRB_Mobile_Prod_Branch + UAT 使用的版本,如: +release/1.15GA +hotfix/1.14.1GA + master + false + + + CODE_PUSH + 哪一個 Job 執行 code-push + hrb + false + + + + + + -1 + 5 + -1 + -1 + + + + + 2 + + + https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git + 3485e854-8389-40e8-8c86-b94e94e91904 + + + + + */${HRB_Mobile_Prod_Branch} + + + false + + + + IPA_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=$(grep appVersion appConfig.json|cut -d'"' -f4)_$(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:\/\/hrb.foxconn.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 '' 's/piwikSiteId_ios =.*/piwikSiteId_ios = 10;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 11;/' 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 + + +## node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./ios --entry-file index.thread.js --platform ios --bundle-output ./ios/index.thread.jsbundle --sourcemap-output ./ios/index.thread.map +#npm run build-thread-ios + +#bundle exec fastlane ios release + +sh jenkins_ios_prod.sh ${CODE_PUSH} + + + + + + + + HRB_Mobile_Prod_ipa_CodePush + ALWAYS + false + false + false + + + + + + + $RD_Group $QA_Group + false + false + + + + + false + + + false + + + xterm + + + + \ No newline at end of file -- 2.26.2