From 9647181d38c5ea694a336f985983faaaa97279be Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 12 Jun 2019 09:57:50 +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 | 56 ++++++++++++---------------- 1 file changed, 23 insertions(+), 33 deletions(-) diff --git a/jobs/HRB_Mobile_Other_ipa/config.xml b/jobs/HRB_Mobile_Other_ipa/config.xml index cc868638..a0e19ece 100644 --- a/jobs/HRB_Mobile_Other_ipa/config.xml +++ b/jobs/HRB_Mobile_Other_ipa/config.xml @@ -23,7 +23,7 @@ echo "gem 'fastlane', '2.113.0'" >> Gemfile& - HRB_Mobile_Other_Branch + GIT_BRANCH feature branch使用的版本,如: feature/HA-818 其他Branch請自行設定 @@ -51,6 +51,12 @@ commitId http false + + CODE_PUSH + 哪一個 Job 執行 code-push + other + false + @@ -72,7 +78,7 @@ commitId - */${HRB_Mobile_Other_Branch} + */${GIT_BRANCH} false @@ -88,38 +94,22 @@ commitId false - sh jenkins_ios.sh SIT_${DownloadName} - -sed -i '' "/url/s/http.*\//${HTT_PROTOCOL}:\/\/${API_SERVER}\//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__.*\';/\'${HTT_PROTOCOL}:\/\/${API_SERVER}\/\';/" src/configs/index.js -sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json - -# 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 - -# security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distribution: YONGLIN YONGLIN BIOTECH CORP." -t private -##npm run bundle-worker-ios - -npm run build-thread-ios - -##echo "source 'https://rubygems.org'" > Gemfile -##echo "gem 'cocoapods', '1.4.0'" >> Gemfile -##echo "gem 'fastlane', '2.107.0'" >> Gemfile -#bundle update -#bundle install -bundle exec fastlane ios beta - - - - VERSION=SIT_${DownloadName}_$(date +%Y%m%d) -MODIFIED_DATE=$(git log -1 --format="%ci" --) -NAME=HRB_Mobile - -mv ~/jenkins/workspace/HRB_Mobile_Other_ipa/$NAME.ipa ~/Sites/${NAME}_${VERSION}.ipa -scp -i ~/jenkins/jenkins ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/ + sh jenkins_ios_sit.sh ${CODE_PUSH} + + + + + + + HRB_Mobile_SIT_ipa_CodePush + ALWAYS + false + false + false + + + -- 2.26.2