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

20170121: Job [HRB_Mobile_SIT_apk] configuration updated

Change performed by §N¨ήS
parent af9767ac
...@@ -4,9 +4,6 @@ ...@@ -4,9 +4,6 @@
<description>打包 APK,不做 code push</description> <description>打包 APK,不做 code push</description>
<keepDependencies>false</keepDependencies> <keepDependencies>false</keepDependencies>
<properties> <properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.10">
<gitLabConnection>ylhealth</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<jenkins.model.BuildDiscarderProperty> <jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator"> <strategy class="hudson.tasks.LogRotator">
<daysToKeep>2</daysToKeep> <daysToKeep>2</daysToKeep>
...@@ -15,6 +12,9 @@ ...@@ -15,6 +12,9 @@
<artifactNumToKeep>-1</artifactNumToKeep> <artifactNumToKeep>-1</artifactNumToKeep>
</strategy> </strategy>
</jenkins.model.BuildDiscarderProperty> </jenkins.model.BuildDiscarderProperty>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.11">
<gitLabConnection>ylhealth</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
</properties> </properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1"> <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1">
<configVersion>2</configVersion> <configVersion>2</configVersion>
...@@ -48,10 +48,10 @@ MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --) ...@@ -48,10 +48,10 @@ 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.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;/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;/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 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
...@@ -69,14 +69,14 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/</command ...@@ -69,14 +69,14 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/</command
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
<publishers> <publishers>
<hudson.tasks.Mailer plugin="mailer@1.22"> <hudson.tasks.Mailer plugin="mailer@1.23">
<recipients>$RD_Group $QA_Group</recipients> <recipients>$RD_Group $QA_Group</recipients>
<dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild> <dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals> <sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer> </hudson.tasks.Mailer>
</publishers> </publishers>
<buildWrappers> <buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.36"> <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.37">
<deleteDirs>false</deleteDirs> <deleteDirs>false</deleteDirs>
<cleanupParameter></cleanupParameter> <cleanupParameter></cleanupParameter>
<externalDelete></externalDelete> <externalDelete></externalDelete>
......
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