config.xml 3.13 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<?xml version='1.1' encoding='UTF-8'?>
<project>
  <actions/>
  <description>1. Clear the workspace&#xd;
2. Copy all of the files to local workspace&#xd;
3. Stop service &#xd;
4. Copy Survy.war file to TomCat folder&#xd;
5. Start service</description>
  <keepDependencies>false</keepDependencies>
  <properties>
11
    <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.10">
12 13 14 15
      <gitLabConnection>ylhealth</gitLabConnection>
    </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
16
        <daysToKeep>1</daysToKeep>
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
        <numToKeep>3</numToKeep>
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>-1</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
  </properties>
  <scm class="hudson.scm.NullSCM"/>
  <assignedNode>&quot;Deploy Server&quot;</assignedNode>
  <canRoam>false</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  <triggers/>
  <concurrentBuild>false</concurrentBuild>
  <builders>
    <hudson.plugins.copyartifact.CopyArtifact plugin="copyartifact@1.41">
      <project>Survey_Daily_Build</project>
      <filter></filter>
      <target></target>
      <excludes></excludes>
      <selector class="hudson.plugins.copyartifact.WorkspaceSelector"/>
      <doNotFingerprintArtifacts>false</doNotFingerprintArtifacts>
    </hudson.plugins.copyartifact.CopyArtifact>
    <hudson.tasks.BatchFile>
      <command>net stop LogServices &#xd;
COPY /Y &quot;C:\Jenkins\workspace\Deploy_Survey\target\designer.war&quot; &quot;C:\apache-tomcat-8.5.5\webapps\&quot;&#xd;
XCOPY /E /I /Y C:\Jenkins\workspace\Deploy_Survey\target\designer\* C:\apache-tomcat-8.5.5\webapps\designer&#xd;
COPY /Y &quot;C:\SurveyDBConnection\applicationContext.xml&quot; &quot;C:\apache-tomcat-8.5.5\webapps\survey\WEB-INF\&quot;&#xd;
net start LogServices</command>
    </hudson.tasks.BatchFile>
  </builders>
  <publishers>
49
    <hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.36">
50 51 52 53 54 55 56 57 58 59 60
      <patterns class="empty-list"/>
      <deleteDirs>false</deleteDirs>
      <skipWhenFailed>false</skipWhenFailed>
      <cleanWhenSuccess>true</cleanWhenSuccess>
      <cleanWhenUnstable>true</cleanWhenUnstable>
      <cleanWhenFailure>false</cleanWhenFailure>
      <cleanWhenNotBuilt>true</cleanWhenNotBuilt>
      <cleanWhenAborted>false</cleanWhenAborted>
      <notFailBuild>false</notFailBuild>
      <cleanupMatrixParent>false</cleanupMatrixParent>
      <externalDelete></externalDelete>
61
      <disableDeferredWipeout>false</disableDeferredWipeout>
62 63 64 65 66 67 68 69 70 71 72
    </hudson.plugins.ws__cleanup.WsCleanup>
  </publishers>
  <buildWrappers>
    <hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.19">
      <strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
        <timeoutMinutes>30</timeoutMinutes>
      </strategy>
      <operationList/>
    </hudson.plugins.build__timeout.BuildTimeoutWrapper>
  </buildWrappers>
</project>