config.xml 4.32 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version='1.1' encoding='UTF-8'?>
<project>
  <actions/>
  <description>只做 codepush, 不打包 ipa&#xd;
&#xd;
*/release/1.14GA</description>
  <keepDependencies>false</keepDependencies>
  <properties>
9 10 11 12 13 14 15 16
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
        <daysToKeep>-1</daysToKeep>
        <numToKeep>5</numToKeep>
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>-1</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
17
    <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.12">
18 19 20 21 22 23 24 25 26
      <gitLabConnection>ylhealth</gitLabConnection>
    </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
    <hudson.model.ParametersDefinitionProperty>
      <parameterDefinitions>
        <hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
          <name>HRB_Mobile_UAT_Branch</name>
          <description>UAT 使用的版本,如:
release/1.15GA
hotfix/1.14.1GA</description>
27
          <defaultValue>release/1.58</defaultValue>
28 29
          <trim>false</trim>
        </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
30 31
        <hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
          <name>CODE_PUSH</name>
32
          <description>哪一個 Job 執行 code-push</description>
33 34 35
          <defaultValue>hrb</defaultValue>
          <trim>false</trim>
        </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
36 37 38 39 40 41 42 43 44 45 46 47
        <hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition plugin="global-variable-string-parameter@1.2">
          <name>HTT_PROTOCOL</name>
          <description>http / https</description>
          <defaultValue>https</defaultValue>
          <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>
          <description></description>
          <defaultValue>uat.my.uhealthbank.com</defaultValue>
          <trim>false</trim>
        </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
48 49 50
      </parameterDefinitions>
    </hudson.model.ParametersDefinitionProperty>
  </properties>
51
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.11.0">
52 53 54 55 56 57 58 59 60
    <configVersion>2</configVersion>
    <userRemoteConfigs>
      <hudson.plugins.git.UserRemoteConfig>
        <url>https://cm.ylhealth.org/gitlab/ym/HRB_Mobile.git</url>
        <credentialsId>3485e854-8389-40e8-8c86-b94e94e91904</credentialsId>
      </hudson.plugins.git.UserRemoteConfig>
    </userRemoteConfigs>
    <branches>
      <hudson.plugins.git.BranchSpec>
61
        <name>*/${HRB_Mobile_UAT_Branch}</name>
62 63 64 65 66 67
      </hudson.plugins.git.BranchSpec>
    </branches>
    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
    <submoduleCfg class="list"/>
    <extensions/>
  </scm>
68
  <assignedNode>IPA_BUILD_Machine</assignedNode>
69 70 71 72
  <canRoam>false</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
73
  <triggers/>
74 75 76
  <concurrentBuild>false</concurrentBuild>
  <builders>
    <hudson.tasks.Shell>
77
      <command>sh jenkins_ios_uat.sh ${CODE_PUSH} &apos;code-push&apos; </command>
78 79 80 81
    </hudson.tasks.Shell>
  </builders>
  <publishers/>
  <buildWrappers>
82
    <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.37">
83 84 85
      <deleteDirs>false</deleteDirs>
      <cleanupParameter></cleanupParameter>
      <externalDelete></externalDelete>
86
      <disableDeferredWipeout>false</disableDeferredWipeout>
87
    </hudson.plugins.ws__cleanup.PreBuildCleanup>
88
    <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.10"/>
89
    <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.6.2">
90 91
      <colorMapName>xterm</colorMapName>
    </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
92 93
  </buildWrappers>
</project>