From 0bee3d51b5d65fc6a260497660f5c6079dcc41b5 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Mon, 10 Jun 2019 09:43:45 +0800 Subject: [PATCH] 20170121: Job [HRB_Mobile_Prod_ipa_CodePush] 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_Prod_ipa_CodePush/config.xml | 41 +++++++------------- 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/jobs/HRB_Mobile_Prod_ipa_CodePush/config.xml b/jobs/HRB_Mobile_Prod_ipa_CodePush/config.xml index d4520ab5..1d249377 100644 --- a/jobs/HRB_Mobile_Prod_ipa_CodePush/config.xml +++ b/jobs/HRB_Mobile_Prod_ipa_CodePush/config.xml @@ -4,7 +4,7 @@ 只做 Code Push,不打包 ipa false - + ylhealth @@ -17,6 +17,12 @@ hotfix/1.14.1GA release/1.27.1GA false + + CODE_PUSH + 哪一個 Job 執行 code-push + hrb + false + @@ -28,7 +34,7 @@ hotfix/1.14.1GA - + 2 @@ -45,37 +51,16 @@ hotfix/1.14.1GA - MAC_BUILD_Machine + Mac_Node2 false false false false - - - - HRB_Mobile_Prod_ipa - - SUCCESS - 0 - BLUE - true - - - + false - PATH="$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/" -VERSION=Prod_$(date +%Y%m%d)_$(git rev-parse --short HEAD) -MODIFIED_DATE=$(git log -1 --format="%ci" --) - -npm install - -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 - -code-push release-react HRB_Mobile_ios ios -m -d Production + sh jenkins_ios_prod.sh ${CODE_PUSH} 'code-push' @@ -86,9 +71,9 @@ code-push release-react HRB_Mobile_ios ios -m -d Production false - + xterm - + \ No newline at end of file -- 2.26.2