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
7505e183
Commit
7505e183
authored
Dec 10, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott: Job [Deploy_HRB_API_Prod] configuration updated
Change performed by ·¨¼y°ó
parent
e593124e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
jobs/Deploy_HRB_API_Prod/config.xml
jobs/Deploy_HRB_API_Prod/config.xml
+6
-6
No files found.
jobs/Deploy_HRB_API_Prod/config.xml
View file @
7505e183
...
...
@@ -2,10 +2,10 @@
<maven2-moduleset
plugin=
"maven-plugin@3.4"
>
<actions/>
<description>
1. 透過MobaXterm到正式環境去發佈

2. Jenkis打包完會放到 10.36.220.162:/opt/HRB/

2. Jenkis打包完會放到 10.36.220.162:/opt/HRB
_API
/

3. 透過MobaXterm進入到正式環境10.36.220.162

4. Command : cd /opt/HRB

5. Command : /opt/HRB/update.sh
</description>
4. Command : cd /opt/HRB
_API

5. Command : /opt/HRB
_API
/update.sh
</description>
<keepDependencies>
false
</keepDependencies>
<properties>
<hudson.security.AuthorizationMatrixProperty>
...
...
@@ -70,7 +70,7 @@ hotfix/1.15.1GA</description>
<configVersion>
2
</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>
https://cm.ylhealth.org/gitlab/ym/HRB.git
</url>
<url>
https://cm.ylhealth.org/gitlab/ym/HRB
_API
.git
</url>
<credentialsId>
3485e854-8389-40e8-8c86-b94e94e91904
</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
...
...
@@ -187,8 +187,8 @@ sed -i "s/<base.*/<base href=\"\/\" version=\"%tags%_%
</prebuilders>
<postbuilders>
<hudson.tasks.BatchFile>
<command>
ssh -i F:/jenkins/id_rsa ymadmin@10.36.220.162
"
rm -f /opt/HRB
/HRB
-pack.zip
"
scp -i F:/jenkins/id_rsa target/HRB
-pack.zip ymadmin@10.36.220.162:/opt/HRB
/

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

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