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
1e9e6da6
Commit
1e9e6da6
authored
Oct 21, 2019
by
YM-RD-AP01\ymadmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20180082: Job [Hi365_SIT_API_Deploy] configuration updated
Change performed by ³¯¾_¶§
parent
c000aafc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
14 deletions
+2
-14
jobs/Hi365_SIT_API_Deploy/config.xml
jobs/Hi365_SIT_API_Deploy/config.xml
+2
-14
No files found.
jobs/Hi365_SIT_API_Deploy/config.xml
View file @
1e9e6da6
...
...
@@ -59,21 +59,9 @@
<passAllAsProjectProperties>
false
</passAllAsProjectProperties>
</hudson.plugins.gradle.Gradle>
<hudson.tasks.Shell>
<command>
systemctl stop CRM
<command>
export GOOGLE_APPLICATION_CREDENTIALS=
"
/var/lib/jenkins/workspace/Hi365_SIT_API_Deploy/hi365-b2622.json
"
chm=/opt/CRM/
tempdir=$(mktemp -d)
rm -f ${chm}/lib/*
rm -rf ${chm}/templates/*
7za x target/CRM-pack.zip -o
"
${tempdir}
"
mv -f ${tempdir}/CRM/lib/*
"
${chm}/lib
"
mv -f ${tempdir}/CRM/templates/*
"
${chm}/templates
"
rm -rf
"
${tempdir}
"
systemctl start CRM
</command>
java -jar
"
/var/lib/jenkins/workspace/Hi365_SIT_API_Deploy/build/libs/hi365-0.0.1-SNAPSHOT.jar
"
</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
...
...
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