Commit 6736a66d authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20140144: Job [HRB_Mobile_SIT_ipa] configuration updated

Change performed by ·¨¼y°ó
parent 27ab6b49
......@@ -18,7 +18,7 @@
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
<name>GIT_Branch</name>
<name>GIT_BRANCH</name>
<description>develop
feature/I18N
release/1.43
......@@ -27,7 +27,7 @@ hotfix/1.43.1</description>
<trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
<hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
<name>API_Server</name>
<name>API_SERVER</name>
<description></description>
<defaultValue>10.32.86.132</defaultValue>
<trim>false</trim>
......@@ -45,7 +45,7 @@ hotfix/1.43.1</description>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/${GIT_Branch}</name>
<name>*/${GIT_BRANCH}</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
......@@ -70,7 +70,7 @@ MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
npm install --update-binary
sed -i &apos;&apos; &quot;/url/s/http.*\//http:\/\/${API_Server}\//g&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/url/s/http.*\//http:\/\/${API_SERVER}\//g&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/version/s/\&apos;.*\&apos;;/\&apos;${VERSION}\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/allergyUrl/s/\__DEV__.*\&apos;;/\&apos;http:\/\/10.32.86.132\/\&apos;;/&quot; src/configs/index.js
......@@ -83,7 +83,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest
bundle exec fastlane ios beta</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>VERSION=SIT_${BRANCH_NAME##*/}_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
<command>VERSION=SIT_${GIT_BRANCH##*/}_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
NAME=HRB_Mobile
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment