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

scott: Job [Deploy_DHP_CHM_Prod] configuration updated

Change performed by ·¨¼y°ó
parent c0e8045b
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
master master
release/1.15GA release/1.15GA
hotfix/1.15.1GA</description> hotfix/1.15.1GA</description>
<defaultValue>feature/I18N</defaultValue> <defaultValue>DHP</defaultValue>
<trim>false</trim> <trim>false</trim>
</hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition> </hudson.plugins.global__variable__string__parameter.GlobalVariableStringParameterDefinition>
</parameterDefinitions> </parameterDefinitions>
...@@ -121,15 +121,15 @@ hotfix/1.15.1GA</description> ...@@ -121,15 +121,15 @@ hotfix/1.15.1GA</description>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>VAR=$(git rev-parse --short HEAD)_$(date +&quot;%Y%m%d_%H%M&quot;) <command>VAR=$(git rev-parse --short HEAD)_$(date +&quot;%Y%m%d_%H%M&quot;)
version=${GIT_BRANCH##*/} version=${GIT_BRANCH##*/}
sed -i &quot;s/&lt;title.*/&lt;title ng-bind=&apos;page_title&apos;&gt;CRM %version%_%VAR%&lt;\/title\/&gt;/&quot; src/main/resources/static/index.html sed -i &quot;s/&lt;title.*/&lt;title ng-bind=&apos;page_title&apos;&gt;CRM ${version}_${VAR}&lt;\/title\/&gt;/&quot; src/main/resources/static/index.html
sed -i &quot;s/&lt;base.*/&lt;base href=\&quot;\/CRM\/\&quot; version=\&quot;%version%_%VAR%\&quot;\/&gt;/&quot; src/main/resources/static/indexMinify.html sed -i &quot;s/&lt;base.*/&lt;base href=\&quot;\/CRM\/\&quot; version=\&quot;${version}_${VAR}\&quot;\/&gt;/&quot; src/main/resources/static/indexMinify.html
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</prebuilders> </prebuilders>
<postbuilders> <postbuilders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>ssh -i dih ec2-user@3.16.159.120 &quot;rm -f /opt/chm/CRM-pack.zip&quot; <command>ssh -i ../dih ec2-user@3.16.159.120 &quot;rm -f CRM-pack.zip&quot;
scp -i dih target/CRM-pack.zip ec2-user@3.16.159.120:/opt/chm/</command> scp -i ../dih target/CRM-pack.zip ec2-user@3.16.159.120:~/</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