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

20140144: Job [Deploy_CHM_UAT_136] configuration updated

Change performed by ·¨¼y°ó
parent b7cb4845
......@@ -117,9 +117,18 @@ sed -i "s/<title.*/<title ng-bind='page_title'>CRM v${ve
<postbuilders>
<hudson.tasks.Shell>
<command>sudo systemctl stop CRM
sudo rm -f /opt/chm/chm/lib/*
sudo 7za e target/CRM-pack.zip -o/opt/chm/chm/lib/ CRM/lib/*.* -r -y
sudo 7za e target/CRM-pack.zip -o/opt/chm/chm/templates/ CRM/templates/*.* -r -y
chm=/opt/chm/chm
tempdir=$(mktemp -d)
sudo rm -f ${chm}/lib/*
sudo rm -f ${chm}/templates/*
7za x target/CRM-pack.zip -o&quot;${tempdir}&quot;
sudo mv -f ${tempdir}/CRM/lib/* &quot;${chmb}/lib/&quot;
sudo mv -f ${tempdir}/CRM/templates/* &quot;${chmb}/templates/&quot;
rm -rf &quot;${tempdir}&quot;
sudo systemctl start CRM</command>
</hudson.tasks.Shell>
</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