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

scott: Job [Deploy_HRB_oAuth_Resource_DEMO_10] configuration updated

Change performed by ·¨¼y°ó
parent 53fed327
<?xml version='1.1' encoding='UTF-8'?>
<maven2-moduleset plugin="maven-plugin@3.1.2">
<maven2-moduleset plugin="maven-plugin@3.2">
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.10">
<com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.11">
<gitLabConnection>ylhealth</gitLabConnection>
</com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
<jenkins.model.BuildDiscarderProperty>
......@@ -16,7 +16,7 @@
</strategy>
</jenkins.model.BuildDiscarderProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1">
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
......@@ -74,11 +74,11 @@
</hudson.maven.reporters.MavenMailer>
</reporters>
<publishers>
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.21">
<baseUrl></baseUrl>
<teamDomain></teamDomain>
<authToken></authToken>
<authTokenCredentialId></authTokenCredentialId>
<tokenCredentialId></tokenCredentialId>
<botUser>false</botUser>
<room></room>
<startNotification>false</startNotification>
......@@ -92,16 +92,23 @@
<notifyRepeatedFailure>false</notifyRepeatedFailure>
<includeTestSummary>false</includeTestSummary>
<includeFailedTests>false</includeFailedTests>
<matrixTriggerMode>ONLY_CONFIGURATIONS</matrixTriggerMode>
<commitInfoChoice>NONE</commitInfoChoice>
<includeCustomMessage>false</includeCustomMessage>
<customMessage></customMessage>
<customMessageSuccess></customMessageSuccess>
<customMessageAborted></customMessageAborted>
<customMessageNotBuilt></customMessageNotBuilt>
<customMessageUnstable></customMessageUnstable>
<customMessageFailure></customMessageFailure>
</jenkins.plugins.slack.SlackNotifier>
</publishers>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.34">
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.37">
<deleteDirs>false</deleteDirs>
<cleanupParameter></cleanupParameter>
<externalDelete></externalDelete>
<disableDeferredWipeout>false</disableDeferredWipeout>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
</buildWrappers>
<prebuilders>
......@@ -115,10 +122,12 @@ version=$(echo $GIT_BRANCH | cut -d&apos;/&apos; -f 3)
<postbuilders>
<hudson.tasks.Shell>
<command>systemctl stop HRBResource
rm -f /opt/HRBResourceServer/HRBResourceServer.jar
mv target/resource_server-*-exec.jar /opt/HRBResourceServer/HRBResourceServer.jar
chmod +x /opt/HRBResourceServer/HRBResourceServer.jar
systemctl start HRBResource</command>
rm -f /opt/HRBResourceServerlib/*.jar
/usr/bin/unzip -j -o target/resource_server-pack.zip &quot;resource_server/lib/*&quot; -d /opt/HRBResourceServer/lib
systemctl start HRBResource
</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