mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-12 21:01:12 +00:00
Update Jenkinsfile
Signed-off-by: wodnr533 <wodnr533@naver.com>
This commit is contained in:
parent
fa55671190
commit
45a65f5a8a
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
|
@ -50,9 +50,9 @@ pipeline {
|
|||
transfers: [sshTransfer(cleanRemote: false,
|
||||
excludes: '',
|
||||
execCommand: '''
|
||||
docker rm -f $(docker ps -aq)
|
||||
docker rmi $(docker images -q)
|
||||
docker run -itd -p 8080:8080 --name=spring-petclinic wodnr8174/spring-petclinic:latest
|
||||
fuser -k 8080/tcp
|
||||
export BUILD_ID=Petclinic-Pipeline
|
||||
nohup java -jar /home/ubuntu/deploy/spring-petclinic-2.7.3.BUILD-SNAPSHOT.jar >> nohup.out 2>&1 &''',
|
||||
''',
|
||||
execTimeout: 120000,
|
||||
flatten: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue