Commit d5615d64 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20180083: Job [Deploy_HRB_Manage] configuration updated

Change performed by §õº~?
parent 5fea306a
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>Deploy 後台&#xd;
1. Clear the workspace &#xd;
2. Copy all of the files to local workspace &#xd;
3. Stop service then delete library from original folder &#xd;
4. Use 7z program to decompress pack.zip to original folder &#xd;
5. Start Service </description>
<keepDependencies>false</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.9">
<gitLabConnection>ylhealth</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>2</daysToKeep>
<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>HRB_Manage_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 hrb_manage&#xd;
del C:\hrb_manage-pack\hrb_manage\lib\*.* /q&#xd;
del C:\hrb_manage-pack\hrb_manage\sample\*.* /q&#xd;
</command>
</hudson.tasks.BatchFile>
<hudson.tasks.BatchFile>
<command>&quot;C:\Program Files\7-Zip\7z.exe&quot; e &quot;C:\Jenkins\workspace\Deploy_HRB_Manage\target\CHMB-pack.zip&quot; -oC:\hrb_manage-pack\hrb_manage\lib CHMB\lib\*.* -r&#xd;
&quot;C:\Program Files\7-Zip\7z.exe&quot; e &quot;C:\Jenkins\workspace\Deploy_HRB_Manage\target\CHMB-pack.zip&quot; -oC:\hrb_manage-pack\hrb_manage\sample CHMB\sample\*.* -r</command>
</hudson.tasks.BatchFile>
<hudson.tasks.BatchFile>
<command>net start hrb_manage</command>
</hudson.tasks.BatchFile>
</builders>
<publishers/>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.34">
<deleteDirs>false</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
<hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.19">
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
<timeoutMinutes>60</timeoutMinutes>
</strategy>
<operationList/>
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
</buildWrappers>
</project>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment