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