After Jenkins has finished building the springboot project, use
java -jar xx.jarThe construction will continue, but use it
nohuo java -jar xx.jar &It will only start once and then shut down. What effective and stable way to keep it running?
You need to use the following commands to continue running:
BUILD_ID=dontKillMe nohup java -jar /var/lib/xxx/xxx.jar &
linux Init.d, SYSTEMd, supervisor can all be