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
07f5cdea
Commit
07f5cdea
authored
Dec 03, 2018
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20140144: Job [Deploy_HRB_Resource_Server_Prod] configuration updated
Change performed by ·¨¼y°ó
parent
195f8dff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
jobs/Deploy_HRB_Resource_Server_Prod/config.xml
jobs/Deploy_HRB_Resource_Server_Prod/config.xml
+4
-5
No files found.
jobs/Deploy_HRB_Resource_Server_Prod/config.xml
View file @
07f5cdea
...
...
@@ -33,7 +33,7 @@ hotfix/1.15.1GA</description>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>
https://cm.ylhealth.org/gitlab/ym/HRB_
Authorization
_Server.git
</url>
<url>
https://cm.ylhealth.org/gitlab/ym/HRB_
Resource
_Server.git
</url>
<credentialsId>
3485e854-8389-40e8-8c86-b94e94e91904
</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
...
...
@@ -133,14 +133,13 @@ for /f "skip=1 tokens=1-6 delims= " %%a in ('wmic path Win32_Loca
)

for /f
"
tokens=*
"
%%i in (
'
git rev-parse --short HEAD
'
) do set VAR=%%i_%FormattedDate%

for /F
"
delims=/ tokens=3
"
%%i in (
"
%GIT_BRANCH%
"
) do set version=%%i


sed -i
"
s/
<
head.*/
<
head version=\
"
%version%_%VAR%\
"
\/
>
/
"
src/main/webapp/WEB-INF/jsp/login/login.jsp
</command>
</command>
</hudson.tasks.BatchFile>
</prebuilders>
<postbuilders>
<hudson.tasks.BatchFile>
<command>
ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162
"
rm -f /opt/HRB
_oAuth/authservice
-pack.zip
"
scp -i F:/jenkins/id_rsa target/
authservice-pack.zip ymadmin@10.36.220.162:/opt/HRB_oAuth
/

<command>
ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162
"
rm -f /opt/HRB
ResourceServer/resource_server
-pack.zip
"
scp -i F:/jenkins/id_rsa target/
resource_server-pack.zip ymadmin@10.36.220.162:/opt/HRBResourceServer
/

</command>
</hudson.tasks.BatchFile>
</postbuilders>
...
...
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