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

scott: Job [Deploy_DHP_HRA_Prod] configuration updated

Change performed by ·¨¼y°ó
parent 8f5d395d
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<description> <description>
release/1.15GA release/1.15GA
hotfix/1.15.1GA</description> hotfix/1.15.1GA</description>
<defaultValue>master</defaultValue> <defaultValue>feature/I18N</defaultValue>
<trim>false</trim> <trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition> </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions> </parameterDefinitions>
...@@ -45,7 +45,7 @@ hotfix/1.15.1GA</description> ...@@ -45,7 +45,7 @@ hotfix/1.15.1GA</description>
<submoduleCfg class="list"/> <submoduleCfg class="list"/>
<extensions/> <extensions/>
</scm> </scm>
<assignedNode>Build_Prod_127</assignedNode> <assignedNode>HCC_Proxy</assignedNode>
<canRoam>false</canRoam> <canRoam>false</canRoam>
<disabled>false</disabled> <disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
...@@ -77,7 +77,6 @@ hotfix/1.15.1GA</description> ...@@ -77,7 +77,6 @@ hotfix/1.15.1GA</description>
<jenkins.plugins.slack.SlackNotifier plugin="slack@2.9"> <jenkins.plugins.slack.SlackNotifier plugin="slack@2.9">
<baseUrl></baseUrl> <baseUrl></baseUrl>
<teamDomain></teamDomain> <teamDomain></teamDomain>
<authToken></authToken>
<tokenCredentialId></tokenCredentialId> <tokenCredentialId></tokenCredentialId>
<botUser>false</botUser> <botUser>false</botUser>
<room></room> <room></room>
...@@ -93,7 +92,7 @@ hotfix/1.15.1GA</description> ...@@ -93,7 +92,7 @@ hotfix/1.15.1GA</description>
<includeTestSummary>false</includeTestSummary> <includeTestSummary>false</includeTestSummary>
<includeFailedTests>false</includeFailedTests> <includeFailedTests>false</includeFailedTests>
<commitInfoChoice>NONE</commitInfoChoice> <commitInfoChoice>NONE</commitInfoChoice>
<includeCustomMessage>false</includeCustomMessage> <includeCustomMessage>true</includeCustomMessage>
<customMessage></customMessage> <customMessage></customMessage>
</jenkins.plugins.slack.SlackNotifier> </jenkins.plugins.slack.SlackNotifier>
</publishers> </publishers>
...@@ -125,12 +124,20 @@ echo Version:%VAR%&#xd; ...@@ -125,12 +124,20 @@ echo Version:%VAR%&#xd;
&quot;C:\Program Files\Git\usr\bin\sed&quot; -i &quot;s/&lt;title.*/&lt;title&gt;Form v%VAR%&lt;\/title\/&gt;/&quot; WebContent\WEB-INF\jsp\home\home.jsp&#xd; &quot;C:\Program Files\Git\usr\bin\sed&quot; -i &quot;s/&lt;title.*/&lt;title&gt;Form v%VAR%&lt;\/title\/&gt;/&quot; WebContent\WEB-INF\jsp\home\home.jsp&#xd;
</command> </command>
</hudson.tasks.BatchFile> </hudson.tasks.BatchFile>
<hudson.tasks.Shell>
<command>VAR=$(git rev-parse --short HEAD)_$(date +&quot;%Y%m%d_%H%M&quot;)
version=${GIT_BRANCH##*/}
sed -i &quot;s/&lt;title.*/&lt;title&gt;Form v%VAR%&lt;\/title\/&gt;/&quot; WebContent/WEB-INF/jsp/home/home.jsp</command>
</hudson.tasks.Shell>
</prebuilders> </prebuilders>
<postbuilders> <postbuilders>
<hudson.tasks.BatchFile> <hudson.tasks.BatchFile>
<command>set path=%path%;&quot;C:\Program Files\Git\usr\bin&quot;;&#xd; <command>set path=%path%;&quot;C:\Program Files\Git\usr\bin&quot;;&#xd;
scp -i F:/jenkins/id_rsa target/ylhealth-hra.war ymadmin@10.36.220.164:~/</command> scp -i F:/jenkins/id_rsa target/ylhealth-hra.war ymadmin@10.36.220.164:~/</command>
</hudson.tasks.BatchFile> </hudson.tasks.BatchFile>
<hudson.tasks.Shell>
<command>scp -i dih target/ylhealth-hra.war ec2-user@3.16.159.120:~/</command>
</hudson.tasks.Shell>
</postbuilders> </postbuilders>
<runPostStepsIfResult> <runPostStepsIfResult>
<name>SUCCESS</name> <name>SUCCESS</name>
......
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