config.xml 7.41 KB
Newer Older
1 2 3 4 5 6
<?xml version='1.1' encoding='UTF-8'?>
<project>
  <actions/>
  <description></description>
  <keepDependencies>false</keepDependencies>
  <properties>
7
    <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.13">
8 9
      <gitLabConnection>ylhealth</gitLabConnection>
    </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
10 11
    <hudson.model.ParametersDefinitionProperty>
      <parameterDefinitions>
12
        <hudson.model.ChoiceParameterDefinition>
13
          <name>Branch_Variable</name>
14
          <description>There are two branches, descript as below
15 16
1. develop
2. master</description>
17 18 19
          <choices class="java.util.Arrays$ArrayList">
            <a class="string-array">
              <string>develop</string>
20
              <string>master</string>
21 22 23
            </a>
          </choices>
        </hudson.model.ChoiceParameterDefinition>
24 25
      </parameterDefinitions>
    </hudson.model.ParametersDefinitionProperty>
26 27 28 29 30 31 32 33
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
        <daysToKeep>1</daysToKeep>
        <numToKeep>3</numToKeep>
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>-1</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
34
  </properties>
35
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.12.1">
36 37 38 39 40 41 42 43 44
    <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>
45
        <name>$Branch_Variable</name>
46 47 48 49 50 51
      </hudson.plugins.git.BranchSpec>
    </branches>
    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
    <submoduleCfg class="list"/>
    <extensions/>
  </scm>
52
  <assignedNode>&quot;Run Automation Server&quot;</assignedNode>
53 54 55 56
  <canRoam>false</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
57
  <triggers/>
58 59 60
  <concurrentBuild>false</concurrentBuild>
  <builders>
    <hudson.tasks.BatchFile>
61
      <command>robot -v OpenFileDialogTitle:開啟舊檔 -v SetEnvironment:UAT %WORKSPACE%\CHM\</command>
62 63 64
    </hudson.tasks.BatchFile>
  </builders>
  <publishers>
65
    <hudson.plugins.robot.RobotPublisher plugin="robot@2.0.0">
66 67 68 69 70 71 72 73 74 75 76 77 78
      <outputPath>${WORKSPACE}</outputPath>
      <reportFileName>report.html</reportFileName>
      <logFileName>log.html</logFileName>
      <outputFileName>output.xml</outputFileName>
      <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>
79
    <hudson.tasks.Mailer plugin="mailer@1.29">
80 81 82 83
      <recipients>$SonarQube_Administrator</recipients>
      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
      <sendToIndividuals>false</sendToIndividuals>
    </hudson.tasks.Mailer>
84
    <hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.68">
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
      <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>
104
      <defaultSubject>CHM - UAT 環境自動化測試報告結果</defaultSubject>
105 106 107
      <defaultContent>&lt;p&gt;目前自動化部份如下,詳細請看附檔&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;[活動公告管理 - 活動維護] 新增活動&lt;/li&gt;
108
  &lt;li&gt;[活動公告管理 - 活動維護] 新增活動並前往HRB做預約功能&lt;/li&gt;
109 110 111 112 113
  &lt;li&gt;[活動公告管理 - 公告維護] 新增維護並透過HRB檢查前台是否顯示&lt;/li&gt;
  &lt;li&gt;[廠區健康服務 - 醫務室科別設定] 醫務室科別搜尋&lt;/li&gt;
  &lt;li&gt;登入/登出&lt;/li&gt;
  &lt;li&gt;[職業衛生管理 - 職場不法侵害 - 事件通報與處理] 新增事件通報與處理 &lt;/li&gt;
  &lt;li&gt;[管理作業 - 意見回饋] Hotfix: HRB-2998 [意見回饋]點選結案狀態沒改變&lt;/li&gt;
114
  &lt;li&gt;[管理作業 - 意見回覆] 使用HRB的連絡我們問問題,CHM回覆客戶問題&lt;/li&gt;
115 116 117 118 119
  &lt;li&gt;[個人健康檔案 - 批次同步客戶資料] 上傳Excel&lt;/li&gt;
  &lt;li&gt;[個人健康檔案 - 個人資料查詢] Create Account&lt;/li&gt;
  &lt;li&gt;[個人健康檔案 - 個人資料查詢] 需求變更-6417 [個人資料查詢]修改速查功能的查詢條件&lt;/li&gt;
  &lt;li&gt;[系統資訊監控 -監控首頁 - 血壓量測數值異常紀錄] 找出最近10筆Blood Pressure 量測紀錄&lt;/li&gt;
  &lt;li&gt;[系統管理 - 使用者管理] 新增帳號&lt;/li&gt;
120 121 122 123
 &lt;li&gt;[系統管理 - 藥品管理] 建立藥品&lt;/li&gt;
 &lt;li&gt;[系統管理 - 藥品管理] 藥品查詢&lt;/li&gt;
 &lt;li&gt;[系統管理 - 藥品管理] 藥品上傳&lt;/li&gt;
 &lt;li&gt;[系統管理 - 藥品管理] 刪除藥品&lt;/li&gt;
124 125
  &lt;li&gt;[媽媽福袋 - 法人維護] 驗證UI含自動新增查詢並檢查法人下拉選單&lt;/li&gt;
  &lt;li&gt;[媽媽福袋 - 法人維護] 編輯法人包含驗證UI和資料庫&lt;/li&gt;
126
&lt;li&gt;[媽媽福袋 - 廠商維護] 新增廠商並驗證UI和DB&lt;/li&gt;
127 128 129
&lt;li&gt;[媽媽福袋 - 廠商維護] 修改廠商並驗證UI&lt;/li&gt;
&lt;li&gt;[媽媽福袋 - 品項維護] 包含新增品項、搜尋UI並驗證且資料庫檢查&lt;/li&gt;
&lt;li&gt;[媽媽福袋 - 品項維護] Excel Upload 並檢查是否正確上傳8筆&lt;/li&gt;
130
&lt;li&gt;[媽媽福袋 - 庫存維護] Excel Upload並更新庫存,檢查是否正確被修改&lt;/li&gt;
131 132
&lt;/ol&gt;
</defaultContent>
133 134 135 136 137 138 139 140 141 142 143
      <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>
  </publishers>
144 145 146 147 148 149 150 151
  <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>
152
</project>