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

scott: Job [CHMB_Batch_UAT] configuration updated

Change performed by ·¨¼y°ó
parent ab1ae9c7
...@@ -46,7 +46,7 @@ hotfix/1.15.1GA</description> ...@@ -46,7 +46,7 @@ hotfix/1.15.1GA</description>
<submoduleCfg class="list"/> <submoduleCfg class="list"/>
<extensions/> <extensions/>
</scm> </scm>
<assignedNode>UAT_136</assignedNode> <assignedNode>HCC_Proxy</assignedNode>
<canRoam>false</canRoam> <canRoam>false</canRoam>
<disabled>false</disabled> <disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
...@@ -82,45 +82,7 @@ hotfix/1.15.1GA</description> ...@@ -82,45 +82,7 @@ hotfix/1.15.1GA</description>
<perModuleEmail>true</perModuleEmail> <perModuleEmail>true</perModuleEmail>
</hudson.maven.reporters.MavenMailer> </hudson.maven.reporters.MavenMailer>
</reporters> </reporters>
<publishers> <publishers/>
<hudson.plugins.parameterizedtrigger.BuildTrigger plugin="parameterized-trigger@2.35.2">
<configs>
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
<configs>
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
<properties>NotifyMessage=Deploy CHMB on UAT(136) done.</properties>
<textParamValueOnNewLine>false</textParamValueOnNewLine>
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
</configs>
<projects>Notify_Group</projects>
<condition>SUCCESS</condition>
<triggerWithNoParameters>false</triggerWithNoParameters>
<triggerFromChildProjects>false</triggerFromChildProjects>
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
</configs>
</hudson.plugins.parameterizedtrigger.BuildTrigger>
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.6">
<baseUrl></baseUrl>
<teamDomain></teamDomain>
<tokenCredentialId></tokenCredentialId>
<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>true</includeCustomMessage>
<customMessage></customMessage>
</jenkins.plugins.slack.SlackNotifier>
</publishers>
<buildWrappers> <buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.36"> <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.36">
<deleteDirs>false</deleteDirs> <deleteDirs>false</deleteDirs>
...@@ -137,24 +99,12 @@ version=${GIT_BRANCH##*/} ...@@ -137,24 +99,12 @@ version=${GIT_BRANCH##*/}
sed -i &quot;s/&lt;title.*/&lt;title&gt;CHM Booking Manage v${version}_${VAR}&lt;\/title\/&gt;/&quot; src/main/resources/static/index.html sed -i &quot;s/&lt;title.*/&lt;title&gt;CHM Booking Manage v${version}_${VAR}&lt;\/title\/&gt;/&quot; src/main/resources/static/index.html
sed -i &quot;s/&lt;title.*/&lt;title&gt;CHM Booking Manage v${version}_${VAR}&lt;\/title\/&gt;/&quot; src/main/resources/static/assets/index.html</command> sed -i &quot;s/&lt;title.*/&lt;title&gt;CHM Booking Manage v${version}_${VAR}&lt;\/title\/&gt;/&quot; src/main/resources/static/assets/index.html</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
<hudson.plugins.copyartifact.CopyArtifact plugin="copyartifact@1.41">
<project>Deploy_ReportUploader_UAT_136</project>
<filter>target/</filter>
<target>src/main/resources/static/ReportUploader/lib/</target>
<excludes></excludes>
<selector class="hudson.plugins.copyartifact.StatusBuildSelector">
<stable>true</stable>
</selector>
<flatten>true</flatten>
<doNotFingerprintArtifacts>false</doNotFingerprintArtifacts>
</hudson.plugins.copyartifact.CopyArtifact>
</prebuilders> </prebuilders>
<postbuilders> <postbuilders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>sudo systemctl stop CHMB <command>sudo systemctl stop CHMB_Batch
sudo systemctl stop CHMB_Batch
chmb=/opt/chm/chmb chmb=/opt/chm/chmb_batch_uat
tempdir=$(mktemp -d) tempdir=$(mktemp -d)
7za x target/CHMB-pack.zip -o&quot;${tempdir}&quot; 7za x target/CHMB-pack.zip -o&quot;${tempdir}&quot;
rm -rf ${chmb}/lib/* rm -rf ${chmb}/lib/*
...@@ -165,7 +115,6 @@ mv -f ${tempdir}/CHMB/sample/* &quot;${chmb}/sample&quot; ...@@ -165,7 +115,6 @@ mv -f ${tempdir}/CHMB/sample/* &quot;${chmb}/sample&quot;
mv -f ${tempdir}/CHMB/template/* &quot;${chmb}/template&quot; mv -f ${tempdir}/CHMB/template/* &quot;${chmb}/template&quot;
rm -rf &quot;${tempdir}&quot; rm -rf &quot;${tempdir}&quot;
sudo systemctl start CHMB
sudo systemctl start CHMB_Batch</command> sudo systemctl start CHMB_Batch</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</postbuilders> </postbuilders>
......
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