Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenkins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ym
jenkins
Commits
323552bf
Commit
323552bf
authored
Dec 19, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott: Job [Deploy_DHP_Form_Prod] configuration updated
Change performed by ·¨¼y°ó
parent
f89445c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
jobs/Deploy_DHP_Form_Prod/config.xml
jobs/Deploy_DHP_Form_Prod/config.xml
+3
-2
No files found.
jobs/Deploy_DHP_Form_Prod/config.xml
View file @
323552bf
...
...
@@ -113,12 +113,13 @@ hotfix/1.15.1GA</description>
<hudson.tasks.Shell>
<command>
VAR=$(git rev-parse --short HEAD)_$(date +
"
%Y%m%d_%H%M
"
)
version=${GIT_BRANCH##*/}
sed -i
"
s/
<
title.*/
<
title
>
Form v
%VAR%
<
\/title\/
>
/
"
src/main/webapp/WEB-INF/jsp/home.jsp
</command>
sed -i
"
s/
<
title.*/
<
title
>
Form v
${version}_${VAR}
<
\/title\/
>
/
"
src/main/webapp/WEB-INF/jsp/home.jsp
</command>
</hudson.tasks.Shell>
</prebuilders>
<postbuilders>
<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
"
rm -f designer.war
"
scp -i /root/.ssh/id_rsa target/designer.war ec2-user@18.224.85.13:~/
</command>
</hudson.tasks.Shell>
</postbuilders>
<runPostStepsIfResult>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment