Commit dd264128 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 24f219ca
...@@ -4,6 +4,14 @@ ...@@ -4,6 +4,14 @@
<description>DHP 打包 APK,不做 code push</description> <description>DHP 打包 APK,不做 code push</description>
<keepDependencies>false</keepDependencies> <keepDependencies>false</keepDependencies>
<properties> <properties>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>-1</daysToKeep>
<numToKeep>5</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.11"> <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.11">
<gitLabConnection>ylhealth</gitLabConnection> <gitLabConnection>ylhealth</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty> </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
...@@ -26,16 +34,8 @@ hotfix/1.43.1</description> ...@@ -26,16 +34,8 @@ hotfix/1.43.1</description>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition> </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions> </parameterDefinitions>
</hudson.model.ParametersDefinitionProperty> </hudson.model.ParametersDefinitionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>-1</daysToKeep>
<numToKeep>5</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties> </properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1"> <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3">
<configVersion>2</configVersion> <configVersion>2</configVersion>
<userRemoteConfigs> <userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig> <hudson.plugins.git.UserRemoteConfig>
...@@ -70,12 +70,12 @@ MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --) ...@@ -70,12 +70,12 @@ MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
npm install --update-binary npm install --update-binary
sed -i &quot;&quot; &apos;/url/s/http.*\//http:\/\/10.32.86.124\//g&apos; 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;/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;/modifiedTime/s/\&apos;.*\&apos;;/\&apos;${MODIFIED_DATE}\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/defaultLanguageCode/s/\&apos;.*\&apos;;/\&apos;en_US\&apos;;/&quot; src/configs/index.js sed -i &apos;&apos; &quot;/defaultLanguageCode/s/\&apos;.*\&apos;;/\&apos;en_US\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &quot;/unitStandard/s/\&apos;.*\&apos;;/\&apos;USCU\&apos;;/&quot; src/configs/index.js sed -i &apos;&apos; &quot;/unitStandard/s/\&apos;.*\&apos;;/\&apos;USCU\&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; &quot;/allergyUrl/s/\__DEV__.*\&apos;;/\&apos;http:\/\/${API_SERVER}\/\&apos;;/&quot; src/configs/index.js
sed -i &apos;&apos; &apos;s/appVersion.*/appVersion&quot;: &quot;1.27&quot;/&apos; appConfig.json sed -i &apos;&apos; &apos;s/appVersion.*/appVersion&quot;: &quot;1.27&quot;/&apos; appConfig.json
export ANDROID_HOME=/Users/jenkins/Library/Android/sdk export ANDROID_HOME=/Users/jenkins/Library/Android/sdk
...@@ -106,9 +106,9 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/dhp/</command ...@@ -106,9 +106,9 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/dhp/</command
<externalDelete></externalDelete> <externalDelete></externalDelete>
<disableDeferredWipeout>false</disableDeferredWipeout> <disableDeferredWipeout>false</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup> </hudson.plugins.ws__cleanup.PreBuildCleanup>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.6.1"> <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.9"/>
<hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.6.2">
<colorMapName>xterm</colorMapName> <colorMapName>xterm</colorMapName>
</hudson.plugins.ansicolor.AnsiColorBuildWrapper> </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.8.10"/>
</buildWrappers> </buildWrappers>
</project> </project>
\ No newline at end of file
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