diff --git a/jobs/HRB_Mobile_SIT_ipa/config.xml b/jobs/HRB_Mobile_SIT_ipa/config.xml index 329f179a5f97c2a9617c2858bf7c369ff6fdc417..6f0abd0965953d90da27f075b7314aaade88749e 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