diff --git a/jobs/HRB_Mobile_Other_apk/config.xml b/jobs/HRB_Mobile_Other_apk/config.xml index 83559f8f1a82bbe1a88270aa282d3196ab0123f7..a6d0041dc3eb0786ce699824e4a684447be44949 100644 --- a/jobs/HRB_Mobile_Other_apk/config.xml +++ b/jobs/HRB_Mobile_Other_apk/config.xml @@ -82,10 +82,10 @@ MODIFIED_DATE=$(git log -1 --format="%ci" --) yarn install -sed -i '' "/url/s/http.*\//http:\/\/${API_SERVER}\//g" src/configs/index.js +sed -i '' "/url/s/http.*\//${HTT_PROTOCOL}:\/\/${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 -sed -i '' "/allergyUrl/s/\__DEV__.*\';/\'http:\/\/${API_SERVER}\/\';/" src/configs/index.js +sed -i '' "/allergyUrl/s/\__DEV__.*\';/\'${HTT_PROTOCOL}:\/\/${API_SERVER}\/\';/" src/configs/index.js sed -i '' 's/appVersion.*/appVersion": "1.27"/' appConfig.json export ANDROID_HOME=/Users/jenkins/Library/Android/sdk