diff --git a/jobs/HRB_Mobile_SIT_DHP_apk/config.xml b/jobs/HRB_Mobile_SIT_DHP_apk/config.xml index 43558bad4ba2ff7128c9d8b1a93fde019f4d8949..80d052e8ee143e316dc713ad3a8677b13fd99a7e 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