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

scott: Job [Deploy_DHP_Form_Prod] configuration updated

Change performed by ·¨¼y°ó
parent f89445c6
...@@ -113,12 +113,13 @@ hotfix/1.15.1GA</description> ...@@ -113,12 +113,13 @@ 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&gt;Form v%VAR%&lt;\/title\/&gt;/&quot; src/main/webapp/WEB-INF/jsp/home.jsp</command> sed -i &quot;s/&lt;title.*/&lt;title&gt;Form v${version}_${VAR}&lt;\/title\/&gt;/&quot; src/main/webapp/WEB-INF/jsp/home.jsp</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</prebuilders> </prebuilders>
<postbuilders> <postbuilders>
<hudson.tasks.Shell> <hudson.tasks.Shell>
<command>scp -i dih target/designer.war ec2-user@3.16.159.120:~/</command> <command>ssh -i /root/.ssh/id_rsa ec2-user@18.224.85.13 &quot;rm -f designer.war&quot;
scp -i /root/.ssh/id_rsa target/designer.war ec2-user@18.224.85.13:~/</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