config.xml 7.28 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 8 9
    <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.12">
      <gitLabConnection>ylhealth</gitLabConnection>
    </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
10 11 12 13
    <hudson.model.ParametersDefinitionProperty>
      <parameterDefinitions>
        <hudson.model.StringParameterDefinition>
          <name>Branch_Variable</name>
14 15 16
          <description>There are two branches, descript as below
1. master  
2. develop</description>
17
          <defaultValue>master</defaultValue>
18 19 20 21
          <trim>false</trim>
        </hudson.model.StringParameterDefinition>
      </parameterDefinitions>
    </hudson.model.ParametersDefinitionProperty>
22 23 24 25 26 27 28 29
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
        <daysToKeep>1</daysToKeep>
        <numToKeep>3</numToKeep>
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>-1</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
30
  </properties>
31
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.11.0">
32 33 34 35 36 37 38 39 40
    <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>
41
        <name>$Branch_Variable</name>
42 43 44 45 46 47
      </hudson.plugins.git.BranchSpec>
    </branches>
    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
    <submoduleCfg class="list"/>
    <extensions/>
  </scm>
48
  <assignedNode>&quot;Run Automation Server&quot;</assignedNode>
49 50 51 52
  <canRoam>false</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
53
  <triggers/>
54 55 56
  <concurrentBuild>false</concurrentBuild>
  <builders>
    <hudson.tasks.BatchFile>
57
      <command>robot -v OpenFileDialogTitle:開啟舊檔 -v SetEnvironment:UAT %WORKSPACE%\CHM\</command>
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
    </hudson.tasks.BatchFile>
  </builders>
  <publishers>
    <hudson.plugins.robot.RobotPublisher plugin="robot@1.6.5">
      <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>
75
    <hudson.tasks.Mailer plugin="mailer@1.24">
76 77 78 79
      <recipients>$SonarQube_Administrator</recipients>
      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
      <sendToIndividuals>false</sendToIndividuals>
    </hudson.tasks.Mailer>
80
    <hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.66">
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
      <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>
100
      <defaultSubject>CHM - UAT 環境自動化測試報告結果</defaultSubject>
101 102 103
      <defaultContent>&lt;p&gt;目前自動化部份如下,詳細請看附檔&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;[活動公告管理 - 活動維護] 新增活動&lt;/li&gt;
104
  &lt;li&gt;[活動公告管理 - 活動維護] 新增活動並前往HRB做預約功能&lt;/li&gt;
105 106 107 108 109
  &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;
110
  &lt;li&gt;[管理作業 - 意見回覆] 使用HRB的連絡我們問問題,CHM回覆客戶問題&lt;/li&gt;
111 112 113 114 115
  &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;
116 117 118 119
 &lt;li&gt;[系統管理 - 藥品管理] 建立藥品&lt;/li&gt;
 &lt;li&gt;[系統管理 - 藥品管理] 藥品查詢&lt;/li&gt;
 &lt;li&gt;[系統管理 - 藥品管理] 藥品上傳&lt;/li&gt;
 &lt;li&gt;[系統管理 - 藥品管理] 刪除藥品&lt;/li&gt;
120 121
  &lt;li&gt;[媽媽福袋 - 法人維護] 驗證UI含自動新增查詢並檢查法人下拉選單&lt;/li&gt;
  &lt;li&gt;[媽媽福袋 - 法人維護] 編輯法人包含驗證UI和資料庫&lt;/li&gt;
122
&lt;li&gt;[媽媽福袋 - 廠商維護] 新增廠商並驗證UI和DB&lt;/li&gt;
123 124 125
&lt;li&gt;[媽媽福袋 - 廠商維護] 修改廠商並驗證UI&lt;/li&gt;
&lt;li&gt;[媽媽福袋 - 品項維護] 包含新增品項、搜尋UI並驗證且資料庫檢查&lt;/li&gt;
&lt;li&gt;[媽媽福袋 - 品項維護] Excel Upload 並檢查是否正確上傳8筆&lt;/li&gt;
126
&lt;li&gt;[媽媽福袋 - 庫存維護] Excel Upload並更新庫存,檢查是否正確被修改&lt;/li&gt;
127 128
&lt;/ol&gt;
</defaultContent>
129 130 131 132 133 134 135 136 137 138 139
      <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>
140 141 142 143 144 145 146 147
  <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>
148
</project>