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

20180083: Job [Deploy_HRB_SIT_132_Test] configuration updated

Change performed by §õº~?
parent 687159cf
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<jenkins.model.BuildDiscarderProperty> <jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator"> <strategy class="hudson.tasks.LogRotator">
<daysToKeep>1</daysToKeep> <daysToKeep>1</daysToKeep>
<numToKeep>2</numToKeep> <numToKeep>1</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep> <artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep> <artifactNumToKeep>-1</artifactNumToKeep>
</strategy> </strategy>
...@@ -38,11 +38,7 @@ ...@@ -38,11 +38,7 @@
<disabled>false</disabled> <disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers> <triggers/>
<hudson.triggers.TimerTrigger>
<spec>0 7,13,17 * * *</spec>
</hudson.triggers.TimerTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild> <concurrentBuild>false</concurrentBuild>
<rootModule> <rootModule>
<groupId>org.ylhealth.ym.hrb.backend</groupId> <groupId>org.ylhealth.ym.hrb.backend</groupId>
...@@ -65,38 +61,8 @@ ...@@ -65,38 +61,8 @@
<blockTriggerWhenBuilding>true</blockTriggerWhenBuilding> <blockTriggerWhenBuilding>true</blockTriggerWhenBuilding>
<settings class="jenkins.mvn.DefaultSettingsProvider"/> <settings class="jenkins.mvn.DefaultSettingsProvider"/>
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
<reporters> <reporters/>
<hudson.maven.reporters.MavenMailer> <publishers/>
<recipients>$RD_Group $QA_Group</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals>
<perModuleEmail>true</perModuleEmail>
</hudson.maven.reporters.MavenMailer>
</reporters>
<publishers>
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
<baseUrl></baseUrl>
<teamDomain></teamDomain>
<authToken></authToken>
<authTokenCredentialId></authTokenCredentialId>
<botUser>false</botUser>
<room></room>
<startNotification>false</startNotification>
<notifySuccess>false</notifySuccess>
<notifyAborted>true</notifyAborted>
<notifyNotBuilt>true</notifyNotBuilt>
<notifyUnstable>true</notifyUnstable>
<notifyRegression>false</notifyRegression>
<notifyFailure>true</notifyFailure>
<notifyBackToNormal>true</notifyBackToNormal>
<notifyRepeatedFailure>false</notifyRepeatedFailure>
<includeTestSummary>false</includeTestSummary>
<includeFailedTests>false</includeFailedTests>
<commitInfoChoice>NONE</commitInfoChoice>
<includeCustomMessage>false</includeCustomMessage>
<customMessage></customMessage>
</jenkins.plugins.slack.SlackNotifier>
</publishers>
<buildWrappers> <buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.34"> <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.34">
<deleteDirs>false</deleteDirs> <deleteDirs>false</deleteDirs>
...@@ -120,16 +86,7 @@ for /f &quot;tokens=*&quot; %%i in (&apos;git rev-parse --short HEAD&apos;) do s ...@@ -120,16 +86,7 @@ for /f &quot;tokens=*&quot; %%i in (&apos;git rev-parse --short HEAD&apos;) do s
&quot;C:\Program Files\Git\usr\bin\sed&quot; -i &quot;s/&lt;base.*/&lt;base href=\&quot;\/\&quot; version=\&quot;v%VAR%\&quot;\/&gt;/&quot; src\main\resources\static\login.html</command> &quot;C:\Program Files\Git\usr\bin\sed&quot; -i &quot;s/&lt;base.*/&lt;base href=\&quot;\/\&quot; version=\&quot;v%VAR%\&quot;\/&gt;/&quot; src\main\resources\static\login.html</command>
</hudson.tasks.BatchFile> </hudson.tasks.BatchFile>
</prebuilders> </prebuilders>
<postbuilders> <postbuilders/>
<hudson.tasks.BatchFile>
<command>set target=C:\Deploy\HRB&#xd;
net stop HRB&#xd;
FOR /F &quot;tokens=5 delims= &quot; %%P IN (&apos;netstat -a -n -o ^| findstr :50501 ^| findstr LISTEN&apos;) DO TaskKill.exe /F /PID %%P&#xd;
del %target%\lib\*.* /q&#xd;
&quot;C:\Program Files\7-Zip\7z.exe&quot; e target\HRB-pack.zip -o%target%\lib HRB\lib\*.* -r&#xd;
net start HRB</command>
</hudson.tasks.BatchFile>
</postbuilders>
<runPostStepsIfResult> <runPostStepsIfResult>
<name>SUCCESS</name> <name>SUCCESS</name>
<ordinal>0</ordinal> <ordinal>0</ordinal>
......
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