From ecb65022b13b47ac9d195c615d4491e92f84c709 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 24 Oct 2018 16:40:52 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_Other_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_Other_apk/config.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/jobs/HRB_Mobile_Other_apk/config.xml b/jobs/HRB_Mobile_Other_apk/config.xml index bc74426f..7b5d1177 100644 --- a/jobs/HRB_Mobile_Other_apk/config.xml +++ b/jobs/HRB_Mobile_Other_apk/config.xml @@ -1,7 +1,7 @@ - 用來建置feature branch使用 + 用來建置feature branch或是其他Branch使用 只打包 APK, 不做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 @@ -55,12 +56,12 @@ feature/HA-818 PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" -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" --) 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 @@ -71,7 +72,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest fastlane android 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 @@ -80,14 +81,14 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/ - + $RD_Group true false - + false -- 2.26.2