I ran into problems when doing this via the Jenkins ‘Execute Shell’ module:
nohup ./jmeter-server &
As soon as Jenkins shell module completed, the Jmeter server was no longer alive. A ‘ps -ef | grep jmeter’ showed no results as the process was killed.
This blog post really helped me – in fact, it probably saved me my job! Apparently, the Jenkins shell kills the shell process as well as the shell’s children processes – no bueno… To fix this, simply include the following snipped in your Jenkins shell module