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

scott: Job [CHMB_Batch_Prod] configuration updated

Change performed by ·¨¼y°ó
parent 41530175
......@@ -122,9 +122,9 @@ sed -i "s/<title.*/<title>CHM Booking Manage v${version}_${VAR}&lt
</prebuilders>
<postbuilders>
<hudson.tasks.Shell>
<command>systemctl stop CHMB_Batch_UAT
<command>systemctl stop CHMB_Batch
chmb=/opt/chm/chmb_batch_uat
chmb=/home/jenkins/CHMB_Batch
tempdir=$(mktemp -d)
7za x target/CHMB-pack.zip -o&quot;${tempdir}&quot;
rm -rf ${chmb}/lib/*
......@@ -135,7 +135,7 @@ mv -f ${tempdir}/CHMB/sample/* &quot;${chmb}/sample&quot;
mv -f ${tempdir}/CHMB/template/* &quot;${chmb}/template&quot;
rm -rf &quot;${tempdir}&quot;
systemctl start CHMB_Batch_UAT</command>
systemctl start CHMB_Batch</command>
</hudson.tasks.Shell>
</postbuilders>
<runPostStepsIfResult>
......
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