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
69673952
Commit
69673952
authored
Oct 19, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20180083: Job [Hi365_HRA_SIT_Deploy] configuration updated
Change performed by §õº~?
parent
f39ea9e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
jobs/Hi365_HRA_SIT_Deploy/config.xml
jobs/Hi365_HRA_SIT_Deploy/config.xml
+7
-9
No files found.
jobs/Hi365_HRA_SIT_Deploy/config.xml
View file @
69673952
...
...
@@ -58,7 +58,7 @@
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>
https://cm.ylhealth.org/gitlab/YongYue/hi365-
api
.git
</url>
<url>
https://cm.ylhealth.org/gitlab/YongYue/hi365-
hra
.git
</url>
<credentialsId>
3485e854-8389-40e8-8c86-b94e94e91904
</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
...
...
@@ -82,7 +82,7 @@
<groupId>
com.h2u.hi365.resource
</groupId>
<artifactId>
Resource-Server
</artifactId>
</rootModule>
<goals>
clean package
-Dmaven.test.skip=true -DskipTests=true
</goals>
<goals>
clean package
-Dmaven.test.skip=true -P !jenkins,prod
</goals>
<defaultGoals>
spring-boot:run
</defaultGoals>
<aggregatorStyleBuild>
true
</aggregatorStyleBuild>
<incrementalBuild>
false
</incrementalBuild>
...
...
@@ -113,7 +113,7 @@
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
<configs>
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
<properties>
NotifyMessage=Deploy H
i365 API
done on SIT.
</properties>
<properties>
NotifyMessage=Deploy H
RA
done on SIT.
</properties>
<textParamValueOnNewLine>
false
</textParamValueOnNewLine>
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
</configs>
...
...
@@ -137,16 +137,14 @@
<hudson.tasks.Shell>
<command>
VAR=$(git rev-parse --short HEAD)_$(date +
"
%Y%m%d_%H%M
"
)
version=$(echo $GIT_BRANCH | cut -d
'
/
'
-f 3)
# sed -i
"
s/
<
title.*/
<
title ng-bind=
'
page_title
'>
CRM v${version}_${VAR}
<
\/title\/
>
/
"
src/main/resources/static/index.html
# sed -i
"
s/
<
title.*/
<
title ng-bind=
'
page_title
'>
CRM v${version}_${VAR}
<
\/title\/
>
/
"
src/main/resources/static/indexMinify.html
</command>
sed -i
"
s/
<
base.*/
<
base href=\
"
\/\
"
version=\
"
${version}_${VAR}\
"
\/
>
/
"
WebContent/WEB-INF/jsp/home/home.jsp
</command>
</hudson.tasks.Shell>
</prebuilders>
<postbuilders>
<hudson.tasks.Shell>
<command>
sudo systemctl stop Hi365Resource
sudo rm -f /opt/Hi365ResourceServer/lib/*.jar
sudo /usr/bin/unzip -j -o target/Resource-Server-pack.zip
"
Resource-Server/lib/*
"
-d /opt/Hi365ResourceServer/lib
sudo systemctl start Hi365Resource
</command>
<command>
sudo systemctl stop hra.service
sudo cp target/ylhealth-hra.war /opt/hra/webapps/
sudo systemctl start hra.service
</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