mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
test
This commit is contained in:
parent
e6685c4dc8
commit
2932b53ee5
2 changed files with 3 additions and 2 deletions
|
@ -45,8 +45,7 @@ pipeline {
|
|||
}
|
||||
stage("Deploy"){
|
||||
steps {
|
||||
sh 'nohup java -jar target/*.jar &'
|
||||
sh 'disown'
|
||||
sh 'runbg.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
runbg.sh
Normal file
2
runbg.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
nohup java -jar target/*.jar > output.log 2>&1 &
|
Loading…
Reference in a new issue