Keep the process running even if the build has finished.

Example:

node {
    keepRunning {
        sh '/usr/local/apache-tomcat/bin/startup.sh'
    }
}
	

This step requires a workspace and a task listener, so it must be used inside a node block, just like the sh step it wraps.