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

20170121: Job [Deploy_CHM_SIT_130] configuration updated

Change performed by §N¨ήS
parent b7b68d84
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset plugin="maven-plugin@3.2">
<maven2-moduleset plugin="maven-plugin@3.3">
<actions/>
<description>Angular 6&#xd;
feature/CRM-5290</description>
<description>feature/CRM-7015&#xd;
-- Angular 6&#xd;
-- feature/CRM-5290</description>
<keepDependencies>false</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.12">
......@@ -17,7 +18,7 @@ feature/CRM-5290</description>
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3">
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.10.0">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
......@@ -27,7 +28,7 @@ feature/CRM-5290</description>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>feature/CRM-5290</name>
<name>feature/CRM-7015</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
......@@ -68,20 +69,23 @@ feature/CRM-5290</description>
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
<reporters>
<hudson.maven.reporters.MavenMailer>
<recipients>bosh1208@gmail.com scott.yang@ylhealth.org</recipients>
<recipients>$RD_Group</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals>
<perModuleEmail>true</perModuleEmail>
</hudson.maven.reporters.MavenMailer>
</reporters>
<publishers>
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.22">
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.27">
<baseUrl></baseUrl>
<teamDomain></teamDomain>
<authToken></authToken>
<tokenCredentialId></tokenCredentialId>
<botUser>false</botUser>
<room></room>
<sendAsText>false</sendAsText>
<iconEmoji></iconEmoji>
<username></username>
<startNotification>false</startNotification>
<notifySuccess>false</notifySuccess>
<notifyAborted>true</notifyAborted>
......@@ -89,6 +93,7 @@ feature/CRM-5290</description>
<notifyUnstable>true</notifyUnstable>
<notifyRegression>false</notifyRegression>
<notifyFailure>true</notifyFailure>
<notifyEveryFailure>false</notifyEveryFailure>
<notifyBackToNormal>true</notifyBackToNormal>
<notifyRepeatedFailure>false</notifyRepeatedFailure>
<includeTestSummary>false</includeTestSummary>
......@@ -125,10 +130,26 @@ 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>#sudo systemctl stop CRM
chm=/opt/CRM/
#chm=/opt/CRM/
#tempdir=$(mktemp -d)
#sudo rm -f ${chm}/lib/*
#sudo 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;
#rm -rf &quot;${tempdir}&quot;
#sudo systemctl start CRM
sudo systemctl stop CRM
chm=/opt/chm/chm
tempdir=$(mktemp -d)
sudo rm -f ${chm}/lib/*
......
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