Introduction
This plugin provides keepRunning
step to keep the process (started by Jenkins) running even if the build has finished.
What Problem This Plugin Resolve
When we start new process use Jenkins, for example tomcat:
sh '/usr/local/apache-tomact/bin/startup.sh
When the build finish, tomcat process will also be killed, which cannot keep running in background.
Usage Example
keepRunning {
sh '/usr/local/apache-tomact/bin/startup.sh
}
By ues keepRunning
step, tomcat process will keep running in background.