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