mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-11 12:31:11 +00:00
Update Jenkinsfile
Signed-off-by: wodnr533 <wodnr533@naver.com>
This commit is contained in:
parent
1d3d65f83d
commit
b5ae200a92
1 changed files with 4 additions and 3 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
|
@ -51,15 +51,16 @@ pipeline {
|
|||
excludes: '',
|
||||
execCommand: '''
|
||||
fuser -k 8080/tcp
|
||||
export BUILD_ID=Petclinic-Pipeline
|
||||
nohup java -jar /home/ubuntu/deploy/spring-petclinic-3.5.0-SNAPSHOT.jar >> nohup.out 2>&1 &''',
|
||||
export BUILD_ID=WEB01
|
||||
nohup java -jar /home/web01/deploy/spring-petclinic-3.5.0-SNAPSHOT.jar >> nohup.out 2>&1 &\'\'\',
|
||||
''',
|
||||
execTimeout: 120000,
|
||||
flatten: false,
|
||||
makeEmptyDirs: false,
|
||||
noDefaultExcludes: false,
|
||||
patternSeparator: '[, ]+',
|
||||
remoteDirectory: '',
|
||||
remoteDirectorySDF: false,
|
||||
remoteDirectorySDF: false,
|
||||
removePrefix: 'WEB01',
|
||||
sourceFiles: 'target/*.jar')],
|
||||
usePromotionTimestamp: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue