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

20140144: Job [Deploy_CHM_DEMO_10] configuration updated

Change performed by ·¨¼y°ó
parent 2654217b
......@@ -4,7 +4,7 @@
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.9">
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.10">
<gitLabConnection>ylhealth</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<hudson.model.ParametersDefinitionProperty>
......@@ -119,21 +119,21 @@ sed -i &quot;s/&lt;title.*/&lt;title ng-bind=&apos;page_title&apos;&gt;CRM v${ve
</prebuilders>
<postbuilders>
<hudson.tasks.Shell>
<command>sudo systemctl stop CRM
<command>systemctl stop CRM
chm=/opt/CRM/
tempdir=$(mktemp -d)
sudo rm -f ${chm}/lib/*
sudo rm -rf ${chm}/templates/*
rm -f ${chm}/lib/*
rm -rf ${chm}/templates/*
7za x target/CRM-pack.zip -o&quot;${tempdir}&quot;
sudo mv -f ${tempdir}/CRM/lib/* &quot;${chm}/lib&quot;
sudo mv -f ${tempdir}/CRM/templates/* &quot;${chm}/templates&quot;
mv -f ${tempdir}/CRM/lib/* &quot;${chm}/lib&quot;
mv -f ${tempdir}/CRM/templates/* &quot;${chm}/templates&quot;
rm -rf &quot;${tempdir}&quot;
sudo systemctl start CRM</command>
systemctl start CRM</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