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

20170121: Job [HRB_Mobile_SIT_DHP_apk] configuration updated

Change performed by §N¨ήS
parent ef06575b
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>打包 APK,不做 code push</description>
<description>DHP 打包 APK,不做 code push</description>
<keepDependencies>false</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.11">
......@@ -26,7 +26,7 @@
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/develop</name>
<name>*/DHP</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
......@@ -43,15 +43,15 @@
<builders>
<hudson.tasks.Shell>
<command>PATH=&quot;$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/&quot;
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=&quot;%ci&quot; --)
npm install --update-binary
sed -i &quot;&quot; &apos;/url/s/http.*\//http:\/\/10.32.86.132\//g&apos; src/configs/index.js
sed -i &quot;&quot; &apos;/url/s/http.*\//http:\/\/10.32.86.124\//g&apos; 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
sed -i &apos;&apos; &quot;/allergyUrl/s/\__DEV__.*\&apos;;/\&apos;http:\/\/10.32.86.124\/\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &apos;s/appVersion.*/appVersion&quot;: &quot;1.27&quot;/&apos; appConfig.json
export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
......@@ -60,7 +60,7 @@ npm run build-thread-android
fastlane android beta</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
<command>VERSION=SIT_DHP_$(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