From 3261c000dc68d7cb277a9cc19b019cbb44ef0ab6 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Fri, 8 Mar 2019 15:26:18 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_SIT_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_SIT_ipa/config.xml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/jobs/HRB_Mobile_SIT_ipa/config.xml b/jobs/HRB_Mobile_SIT_ipa/config.xml index 329f179a..6f0abd09 100644 --- a/jobs/HRB_Mobile_SIT_ipa/config.xml +++ b/jobs/HRB_Mobile_SIT_ipa/config.xml @@ -4,14 +4,6 @@ 只打包 ipa, 不做Code Push false - - - -1 - 5 - -1 - -1 - - ylhealth @@ -34,8 +26,16 @@ hotfix/1.47.1 + + + -1 + 5 + -1 + -1 + + - + 2 @@ -68,8 +68,7 @@ PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) MODIFIED_DATE=$(git log -1 --format="%ci" --) -npm install --update-binary - +npm i sed -i '' "/url/s/http.*\//http:\/\/${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 @@ -109,9 +108,9 @@ scp ~/Sites/${NAME}_${VERSION}.ipa appuploader@10.57.117.135:~/app/hrb/ false - - + xterm + \ No newline at end of file -- 2.26.2