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
0a085b22
Commit
0a085b22
authored
Dec 18, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott: Job [Deploy_DHP_HRA_Prod] configuration updated
Change performed by ·¨¼y°ó
parent
8f5d395d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
jobs/Deploy_DHP_HRA_Prod/config.xml
jobs/Deploy_DHP_HRA_Prod/config.xml
+11
-4
No files found.
jobs/Deploy_DHP_HRA_Prod/config.xml
View file @
0a085b22
...
@@ -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>
fals
e
</includeCustomMessage>
<includeCustomMessage>
tru
e
</includeCustomMessage>
<customMessage></customMessage>
<customMessage></customMessage>
</jenkins.plugins.slack.SlackNotifier>
</jenkins.plugins.slack.SlackNotifier>
</publishers>
</publishers>
...
@@ -125,12 +124,20 @@ echo Version:%VAR%
...
@@ -125,12 +124,20 @@ echo Version:%VAR%
"
C:\Program Files\Git\usr\bin\sed
"
-i
"
s/
<
title.*/
<
title
>
Form v%VAR%
<
\/title\/
>
/
"
WebContent\WEB-INF\jsp\home\home.jsp

"
C:\Program Files\Git\usr\bin\sed
"
-i
"
s/
<
title.*/
<
title
>
Form v%VAR%
<
\/title\/
>
/
"
WebContent\WEB-INF\jsp\home\home.jsp

</command>
</command>
</hudson.tasks.BatchFile>
</hudson.tasks.BatchFile>
<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\/
>
/
"
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%;
"
C:\Program Files\Git\usr\bin
"
;

<command>
set path=%path%;
"
C:\Program Files\Git\usr\bin
"
;

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>
...
...
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