From 50953662c9b086f26bfb7a5d122e5c0dfe600e1d Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Tue, 19 Feb 2019 19:19:23 +0800 Subject: [PATCH] 20170121: Job [CRM_Mobile_SIT_I18N_apk] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by §N¨ήS --- jobs/CRM_Mobile_SIT_I18N_apk/config.xml | 34 ++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/jobs/CRM_Mobile_SIT_I18N_apk/config.xml b/jobs/CRM_Mobile_SIT_I18N_apk/config.xml index 84559859..1e732e3f 100644 --- a/jobs/CRM_Mobile_SIT_I18N_apk/config.xml +++ b/jobs/CRM_Mobile_SIT_I18N_apk/config.xml @@ -15,6 +15,32 @@ ylhealth + + + + branch + feature branch使用的版本,如: +feature/CRM-6338 +其他Branch請自行設定 +develop +4c1966d510b71fdf3ec67807321a385c5378cf86(commitId) + feature/CRM-6338 + false + + + DownloadName + 下載清單上要顯示的名稱 + test + false + + + API_SERVER + 連線位置 + 10.32.86.124 + false + + + 2 @@ -26,7 +52,7 @@ - */feature/I18N + ${branch} false @@ -47,10 +73,10 @@ security set-key-partition-list -S apple: -k Yonglinit123 -D "iPhone Distri npm install RNFB_ANDROID_PERMISSIONS=true react-native link -VERSION=SIT_I18N_$(date +%Y%m%d%H)_$(git rev-parse --short HEAD) +VERSION=SIT_${DownloadName}_$(date +%Y%m%d%H)_$(git rev-parse --short HEAD) MODIFIED_DATE=$(git log -1 --format="%ci" --) -sed -i '' "/url/s/\'.*\';/\'http:\/\/10.32.86.124\/CRM\/\';/" app/configs/constant/urls.js +sed -i '' "/url/s/\'.*\';/\'http:\/\/${API_SERVER}\/CRM\/\';/" app/configs/constant/urls.js sed -i '' "/version/s/\'.*\';/\'${VERSION}\';/" app/configs/constant/urls.js sed -i '' "/modifiedTime/s/\'.*\';/\'${MODIFIED_DATE}\';/" app/configs/constant/urls.js @@ -59,7 +85,7 @@ fastlane android beta - VERSION=SIT_I18N_$(date +%Y%m%d)_$(git rev-parse --short HEAD) + VERSION=SIT_${DownloadName}_$(date +%Y%m%d)_$(git rev-parse --short HEAD) MODIFIED_DATE=$(git log -1 --format="%ci" --) NAME=CRM_Mobile -- 2.26.2