Yes, creating fake BUILD_ID
for process tells Jenkins to ignore this process during detection spawned processes, so this process will be not killed after finishing job.
Usage: Enter BUILD_ID=dontKillMe
before your command, for example into Execute shell
build step:
BUILD_ID=dontKillMe nohup ./yourStartScript.sh &
Note: See also nohup
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…