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'?> <?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset plugin="maven-plugin@3.2"> <maven2-moduleset plugin="maven-plugin@3.3">
<actions/> <actions/>
<description>Angular 6&#xd; <description>feature/CRM-7015&#xd;
feature/CRM-5290</description> -- Angular 6&#xd;
-- feature/CRM-5290</description>
<keepDependencies>false</keepDependencies> <keepDependencies>false</keepDependencies>
<properties> <properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.12"> <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.12">
...@@ -17,7 +18,7 @@ feature/CRM-5290</description> ...@@ -17,7 +18,7 @@ feature/CRM-5290</description>
</strategy> </strategy>
</jenkins.model.BuildDiscarderProperty> </jenkins.model.BuildDiscarderProperty>
</properties> </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> <configVersion>2</configVersion>
<userRemoteConfigs> <userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig> <hudson.plugins.git.UserRemoteConfig>
...@@ -27,7 +28,7 @@ feature/CRM-5290</description> ...@@ -27,7 +28,7 @@ feature/CRM-5290</description>
</userRemoteConfigs> </userRemoteConfigs>
<branches> <branches>
<hudson.plugins.git.BranchSpec> <hudson.plugins.git.BranchSpec>
<name>feature/CRM-5290</name> <name>feature/CRM-7015</name>
</hudson.plugins.git.BranchSpec> </hudson.plugins.git.BranchSpec>
</branches> </branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
...@@ -68,20 +69,23 @@ feature/CRM-5290</description> ...@@ -68,20 +69,23 @@ feature/CRM-5290</description>
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/> <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
<reporters> <reporters>
<hudson.maven.reporters.MavenMailer> <hudson.maven.reporters.MavenMailer>
<recipients>bosh1208@gmail.com scott.yang@ylhealth.org</recipients> <recipients>$RD_Group</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild> <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals> <sendToIndividuals>false</sendToIndividuals>
<perModuleEmail>true</perModuleEmail> <perModuleEmail>true</perModuleEmail>
</hudson.maven.reporters.MavenMailer> </hudson.maven.reporters.MavenMailer>
</reporters> </reporters>
<publishers> <publishers>
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.22"> <jenkins.plugins.slack.SlackNotifier plugin="slack@2.27">
<baseUrl></baseUrl> <baseUrl></baseUrl>
<teamDomain></teamDomain> <teamDomain></teamDomain>
<authToken></authToken> <authToken></authToken>
<tokenCredentialId></tokenCredentialId> <tokenCredentialId></tokenCredentialId>
<botUser>false</botUser> <botUser>false</botUser>
<room></room> <room></room>
<sendAsText>false</sendAsText>
<iconEmoji></iconEmoji>
<username></username>
<startNotification>false</startNotification> <startNotification>false</startNotification>
<notifySuccess>false</notifySuccess> <notifySuccess>false</notifySuccess>
<notifyAborted>true</notifyAborted> <notifyAborted>true</notifyAborted>
...@@ -89,6 +93,7 @@ feature/CRM-5290</description> ...@@ -89,6 +93,7 @@ feature/CRM-5290</description>
<notifyUnstable>true</notifyUnstable> <notifyUnstable>true</notifyUnstable>
<notifyRegression>false</notifyRegression> <notifyRegression>false</notifyRegression>
<notifyFailure>true</notifyFailure> <notifyFailure>true</notifyFailure>
<notifyEveryFailure>false</notifyEveryFailure>
<notifyBackToNormal>true</notifyBackToNormal> <notifyBackToNormal>true</notifyBackToNormal>
<notifyRepeatedFailure>false</notifyRepeatedFailure> <notifyRepeatedFailure>false</notifyRepeatedFailure>
<includeTestSummary>false</includeTestSummary> <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 ...@@ -125,10 +130,26 @@ sed -i &quot;s/&lt;title.*/&lt;title ng-bind=&apos;page_title&apos;&gt;CRM v${ve
</prebuilders> </prebuilders>
<postbuilders> <postbuilders>
<hudson.tasks.Shell> <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) tempdir=$(mktemp -d)
sudo rm -f ${chm}/lib/* 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