Update Jenkinsfile

Signed-off-by: wodnr533 <wodnr533@naver.com>
This commit is contained in:
wodnr533 2025-09-10 15:47:31 +09:00 committed by GitHub
parent 1d3d65f83d
commit b5ae200a92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

7
Jenkinsfile vendored
View file

@ -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,