From d0a51561f770beb787b9428c361ac90842918aba Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 24 Oct 2018 16:40:28 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_Other_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_Other_ipa/config.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/jobs/HRB_Mobile_Other_ipa/config.xml b/jobs/HRB_Mobile_Other_ipa/config.xml index 98d350ad..bcd40449 100644 --- a/jobs/HRB_Mobile_Other_ipa/config.xml +++ b/jobs/HRB_Mobile_Other_ipa/config.xml @@ -1,7 +1,7 @@ - 用來建置feature branch使用 + 用來建置feature branch或是其他Branch使用 只打包 ipa, 不做Code Push false @@ -13,8 +13,9 @@ HRB_Mobile_Other_Branch feature branch使用的版本,如: -feature/HA-818 - feature/HA-818 +feature/HA-818 +其他Branch請自行設定 + RN0.50 false @@ -54,16 +55,13 @@ feature/HA-818 false - export LC_ALL=en_US.UTF-8 -export LANG=en_US.UTF-8 - -PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" -VERSION=SIT_Upgrade_$(date +%Y%m%d)_$(git rev-parse --short HEAD) + PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" +VERSION=SIT_Other_$(date +%Y%m%d)_$(git rev-parse --short HEAD) MODIFIED_DATE=$(git log -1 --format="%ci" --) npm install --update-binary -sed -i "" '/url/s/http.*\//http:\/\/10.32.86.132\//g' src/configs/index.js +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 '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json @@ -72,10 +70,12 @@ security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distri 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 -fastlane ios beta +pod repo update +bundle exec fastlane ios beta + - VERSION=SIT_Upgrade_$(date +%Y%m%d)_$(git rev-parse --short HEAD) + VERSION=SIT_Other_$(date +%Y%m%d)_$(git rev-parse --short HEAD) MODIFIED_DATE=$(git log -1 --format="%ci" --) NAME=HRB_Mobile @@ -84,14 +84,14 @@ scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/ - + $RD_Group false true - + false -- 2.26.2