From 65c9696495fbb6e6217f6bb9d143920dbbc8f5d6 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 20 Mar 2019 19:12:35 +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 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/jobs/HRB_Mobile_Other_apk/config.xml b/jobs/HRB_Mobile_Other_apk/config.xml index 3c850021..91208042 100644 --- a/jobs/HRB_Mobile_Other_apk/config.xml +++ b/jobs/HRB_Mobile_Other_apk/config.xml @@ -44,7 +44,7 @@ commitId - + 2 @@ -76,18 +76,17 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --) yarn install -sed -i '' "/url/s/http.*\//http:\/\/${API_SERVER}\//g" src/configs/index.js +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 '' "/allergyUrl/s/\__DEV__.*\';/\'http:\/\/${API_SERVER}\/\';/" src/configs/index.js -sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json +sed -i '' 's/piwikSiteId_ios =.*/piwikSiteId_ios = 10;/ ;s/piwikSiteId_android =.*/piwikSiteId_android = 11;/' src/configs/index.js export ANDROID_HOME=/Users/jenkins/Library/Android/sdk ##npm run bundle-worker-android npm run build-thread-android -bundle exec fastlane android beta +bundle exec fastlane android uat VERSION=SIT_${DownloadName}_$(date +%Y%m%d) -- 2.26.2