jenkins run nohup java -jar xx.jar & time automatically omit the last &

Jenkins directly execute nohup command, the process will kill off direct

Two solutions:

First, the shell nohup on a file, execute the file sh

Second, the input box execute shell Jenkins added statement: BUILD_ID = donKillMe to

Guess you like

Origin www.cnblogs.com/starstarstar/p/11617668.html