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

20170121: Job [HRB_Mobile_Other_apk] configuration updated

Change performed by §N¨ήS
parent 2cea1f05
<?xml version='1.1' encoding='UTF-8'?> <?xml version='1.1' encoding='UTF-8'?>
<project> <project>
<actions/> <actions/>
<description>打包 APK,不做 code push</description> <description>用來建置feature branch使用&#xd;
只打包 APK, 不做Code Push</description>
<keepDependencies>false</keepDependencies> <keepDependencies>false</keepDependencies>
<properties> <properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.10"> <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.10">
...@@ -9,7 +10,7 @@ ...@@ -9,7 +10,7 @@
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty> </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>-1</daysToKeep>
<numToKeep>5</numToKeep> <numToKeep>5</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep> <artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep> <artifactNumToKeep>-1</artifactNumToKeep>
...@@ -26,7 +27,7 @@ ...@@ -26,7 +27,7 @@
</userRemoteConfigs> </userRemoteConfigs>
<branches> <branches>
<hudson.plugins.git.BranchSpec> <hudson.plugins.git.BranchSpec>
<name>*/develop</name> <name>*/feature/HA-818</name>
</hudson.plugins.git.BranchSpec> </hudson.plugins.git.BranchSpec>
</branches> </branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
...@@ -43,7 +44,7 @@ ...@@ -43,7 +44,7 @@
<builders> <builders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>PATH=&quot;$PATH:/usr/local/bin:/Users/jenkins/.fastlane/bin/&quot; <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_Upgrade_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --) MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
npm install --update-binary npm install --update-binary
...@@ -59,7 +60,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ...@@ -59,7 +60,7 @@ node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest
fastlane android beta</command> fastlane android beta</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>VERSION=SIT_$(date +%Y%m%d)_$(git rev-parse --short HEAD) <command>VERSION=SIT_Upgrade_$(date +%Y%m%d)_$(git rev-parse --short HEAD)
MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --) MODIFIED_DATE=$(git log -1 --format=&quot;%ci&quot; --)
NAME=HRB_Mobile NAME=HRB_Mobile
...@@ -69,7 +70,7 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/</command ...@@ -69,7 +70,7 @@ scp ~/Sites/${NAME}_${VERSION}.apk appuploader@10.57.117.135:~/app/hrb/</command
</builders> </builders>
<publishers> <publishers>
<hudson.tasks.Mailer plugin="mailer@1.21"> <hudson.tasks.Mailer plugin="mailer@1.21">
<recipients>$RD_Group $QA_Group</recipients> <recipients>$RD_Group</recipients>
<dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild> <dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals> <sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer> </hudson.tasks.Mailer>
......
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