config.xml 2.6 KB
Newer Older
1 2
<?xml version='1.1' encoding='UTF-8'?>
<project>
3
  <actions/>
4
  <description>永悅健康知識庫發&#xd;
5
目前知識庫的PHP 版本為5.6.39&#xd;
6 7
工作原理是把Git folder的內容複製到PHP指定的資料夾下&#xd;
&#xd;
8 9 10 11
Command Line說明&#xd;
/S 複製每個目錄及其包含的子目錄,不複製空目錄。&#xd;
/Y 不要提示您確認是否要覆蓋一個已經存在的檔案。&#xd;
/C 如果錯誤發生時也繼續複製。&#xd;
12
&#xd;
13
</description>
14
  <keepDependencies>false</keepDependencies>
15
  <properties>
16
    <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.13">
17 18 19 20 21 22 23 24 25 26 27
      <gitLabConnection>ylhealth</gitLabConnection>
    </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
        <daysToKeep>1</daysToKeep>
        <numToKeep>3</numToKeep>
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>-1</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
  </properties>
28
  <scm class="hudson.plugins.git.GitSCM" plugin="git@4.0.0">
29 30 31
    <configVersion>2</configVersion>
    <userRemoteConfigs>
      <hudson.plugins.git.UserRemoteConfig>
32
        <url>https://cm.ylhealth.org/gitlab/YongYue/health_knowledge_db</url>
33 34 35 36 37 38 39 40 41 42 43 44
        <credentialsId>3485e854-8389-40e8-8c86-b94e94e91904</credentialsId>
      </hudson.plugins.git.UserRemoteConfig>
    </userRemoteConfigs>
    <branches>
      <hudson.plugins.git.BranchSpec>
        <name>*/develop</name>
      </hudson.plugins.git.BranchSpec>
    </branches>
    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
    <submoduleCfg class="list"/>
    <extensions/>
  </scm>
45
  <assignedNode>&quot;Build Node 134&quot;</assignedNode>
46
  <canRoam>false</canRoam>
47 48 49 50 51
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  <triggers/>
  <concurrentBuild>false</concurrentBuild>
52 53
  <builders>
    <hudson.tasks.BatchFile>
54
      <command>xcopy C:\Jenkins\workspace\Health_Knowledge_Database_Develop_Deply C:\xampp\htdocs\web /S /Y /C</command>
55 56
    </hudson.tasks.BatchFile>
  </builders>
57
  <publishers/>
58 59 60 61 62 63 64 65
  <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>
66
</project>