From 05963284127d87290e54f12341a071b4ba128468 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Wed, 5 Dec 2018 12:03:46 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_SIT_DHP_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_SIT_DHP_apk/config.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/jobs/HRB_Mobile_SIT_DHP_apk/config.xml b/jobs/HRB_Mobile_SIT_DHP_apk/config.xml index 43558bad..80d052e8 100644 --- a/jobs/HRB_Mobile_SIT_DHP_apk/config.xml +++ b/jobs/HRB_Mobile_SIT_DHP_apk/config.xml @@ -1,7 +1,7 @@ - 打包 APK,不做 code push + DHP 打包 APK,不做 code push false @@ -26,7 +26,7 @@ - */develop + */DHP false @@ -43,15 +43,15 @@ PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" -VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) +VERSION=SIT_DHP_$(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.124\//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:\/\/10.32.86.132\/\';/" src/configs/index.js +sed -i '' "/allergyUrl/s/\__DEV__.*\';/\'http:\/\/10.32.86.124\/\';/" src/configs/index.js sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json export ANDROID_HOME=/Users/jenkins/Library/Android/sdk @@ -60,7 +60,7 @@ npm run build-thread-android fastlane android beta - VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) + VERSION=SIT_DHP_$(date +%Y%m%d)_$(git rev-parse --short HEAD) MODIFIED_DATE=$(git log -1 --format="%ci" --) NAME=HRB_Mobile -- 2.26.2