config.xml 4.86 KB
Newer Older
1 2
<?xml version='1.1' encoding='UTF-8'?>
<project>
3
  <actions/>
4
  <description></description>
5
  <keepDependencies>false</keepDependencies>
6 7 8 9 10 11 12 13 14
  <properties>
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
        <daysToKeep>1</daysToKeep>
        <numToKeep>3</numToKeep>
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>-1</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
15 16 17
    <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.11">
      <gitLabConnection>ylhealth</gitLabConnection>
    </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
18
  </properties>
19
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.2">
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
    <configVersion>2</configVersion>
    <userRemoteConfigs>
      <hudson.plugins.git.UserRemoteConfig>
        <url>https://cm.ylhealth.org/gitlab/ym/Automation.git</url>
        <credentialsId>3485e854-8389-40e8-8c86-b94e94e91904</credentialsId>
      </hudson.plugins.git.UserRemoteConfig>
    </userRemoteConfigs>
    <branches>
      <hudson.plugins.git.BranchSpec>
        <name>*/master</name>
      </hudson.plugins.git.BranchSpec>
    </branches>
    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
    <submoduleCfg class="list"/>
    <extensions/>
  </scm>
  <assignedNode>&quot;Automation Server&quot;</assignedNode>
  <canRoam>false</canRoam>
38 39 40
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
41
  <triggers/>
42
  <concurrentBuild>false</concurrentBuild>
43 44
  <builders>
    <hudson.tasks.BatchFile>
45
      <command>robot %WORKSPACE%\CHMB\</command>
46 47 48
    </hudson.tasks.BatchFile>
  </builders>
  <publishers>
49 50
    <hudson.plugins.robot.RobotPublisher plugin="robot@1.6.5">
      <outputPath>${WORKSPACE}</outputPath>
51 52 53
      <reportFileName>report.html</reportFileName>
      <logFileName>log.html</logFileName>
      <outputFileName>output.xml</outputFileName>
54 55 56 57 58 59 60 61 62
      <disableArchiveOutput>false</disableArchiveOutput>
      <passThreshold>1.0</passThreshold>
      <unstableThreshold>1.0</unstableThreshold>
      <otherFiles>
        <string></string>
      </otherFiles>
      <enableCache>true</enableCache>
      <onlyCritical>true</onlyCritical>
    </hudson.plugins.robot.RobotPublisher>
63
    <hudson.tasks.Mailer plugin="mailer@1.23">
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
      <recipients>$SonarQube_Administrator</recipients>
      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
      <sendToIndividuals>false</sendToIndividuals>
    </hudson.tasks.Mailer>
    <hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.63">
      <recipientList>$QA_Group</recipientList>
      <configuredTriggers>
        <hudson.plugins.emailext.plugins.trigger.AlwaysTrigger>
          <email>
            <subject>$PROJECT_DEFAULT_SUBJECT</subject>
            <body>$PROJECT_DEFAULT_CONTENT</body>
            <recipientProviders>
              <hudson.plugins.emailext.plugins.recipients.DevelopersRecipientProvider/>
              <hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
            </recipientProviders>
            <attachmentsPattern></attachmentsPattern>
            <attachBuildLog>false</attachBuildLog>
            <compressBuildLog>false</compressBuildLog>
            <replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
            <contentType>project</contentType>
          </email>
        </hudson.plugins.emailext.plugins.trigger.AlwaysTrigger>
      </configuredTriggers>
      <contentType>text/html</contentType>
      <defaultSubject>CHMB - SIT 環境自動化測試報告結果</defaultSubject>
89 90 91 92 93 94 95
      <defaultContent>&lt;p&gt;目前自動化部份如下,詳細請看附檔&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;[基本檔維護 -醫療機構維護] 新增醫療機構&lt;/li&gt;
  &lt;li&gt;[基本檔維護 -健檢項目] 1.先建立器官系統 2. 建立健撿大項 3.建立健撿細項&lt;/li&gt;
  &lt;li&gt;登入/登出&lt;/li&gt;
&lt;/ol&gt;
</defaultContent>
96 97 98 99 100 101 102 103 104 105
      <attachmentsPattern>log.html</attachmentsPattern>
      <presendScript>$DEFAULT_PRESEND_SCRIPT</presendScript>
      <postsendScript>$DEFAULT_POSTSEND_SCRIPT</postsendScript>
      <attachBuildLog>false</attachBuildLog>
      <compressBuildLog>false</compressBuildLog>
      <replyTo>$SonarQube_Administrator</replyTo>
      <from></from>
      <saveOutput>false</saveOutput>
      <disabled>false</disabled>
    </hudson.plugins.emailext.ExtendedEmailPublisher>
106
  </publishers>
107 108 109 110 111 112 113 114
  <buildWrappers>
    <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.37">
      <deleteDirs>false</deleteDirs>
      <cleanupParameter></cleanupParameter>
      <externalDelete></externalDelete>
      <disableDeferredWipeout>false</disableDeferredWipeout>
    </hudson.plugins.ws__cleanup.PreBuildCleanup>
  </buildWrappers>
115
</project>