Starting a forever process in a Jenkins build step?
Jenkins kills all process spawn by the job.
This can be disabled by setting the BUILD_ID
environment variable to something else:
export BUILD_ID=dontKillMe
see https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller for details