Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
maven_test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
郭灿峰
maven_test
Commits
25f4f55f
Commit
25f4f55f
authored
Jul 07, 2020
by
郭灿峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Jenkinsfile
parent
4949f086
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Jenkinsfile
Jenkinsfile
+1
-1
No files found.
Jenkinsfile
View file @
25f4f55f
...
@@ -8,7 +8,7 @@ pipeline {
...
@@ -8,7 +8,7 @@ pipeline {
}
}
stage
(
'deploy'
)
{
stage
(
'deploy'
)
{
steps
{
steps
{
sshPublisher
(
publishers:
[
sshPublisherDesc
(
configName:
'nginx'
,
transfers:
[
sshTransfer
(
cleanRemote:
false
,
excludes:
''
,
execCommand:
'cd /app ; ps -ef | grep pybbs.jar | grep -v grep | cut -c 9-15 | xargs kill ;java -jar pybbs.jar --spring.profiles.active=prod > log.file 2>&1 &'
,
execTimeout:
120000
,
flatten:
false
,
makeEmptyDirs:
false
,
noDefaultExcludes:
false
,
patternSeparator:
'[, ]+'
,
remoteDirectory:
'/app/'
,
remoteDirectorySDF:
false
,
removePrefix:
''
,
sourceFiles:
'./target/pybbs.jar'
)],
usePromotionTimestamp:
false
,
useWorkspaceInPromotion:
false
,
verbose:
false
)])
sshPublisher
(
publishers:
[
sshPublisherDesc
(
configName:
'nginx'
,
transfers:
[
sshTransfer
(
cleanRemote:
false
,
excludes:
''
,
execCommand:
'cd /app ; ps -ef | grep pybbs.jar | grep -v grep | cut -c 9-15 | xargs kill ;java -jar pybbs.jar --spring.profiles.active=prod > log.file 2>&1 &'
,
execTimeout:
120000
,
flatten:
false
,
makeEmptyDirs:
false
,
noDefaultExcludes:
false
,
patternSeparator:
'[, ]+'
,
remoteDirectory:
'/app/
pybbs.jar
'
,
remoteDirectorySDF:
false
,
removePrefix:
''
,
sourceFiles:
'./target/pybbs.jar'
)],
usePromotionTimestamp:
false
,
useWorkspaceInPromotion:
false
,
verbose:
false
)])
}
}
}
}
}
}
...
...
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