The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Pipeline Keep Running Step

keepRunning: Keep the process running even if the build has finished.

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.


    Was this page helpful?

    Please submit your feedback about this page through this quick form.

    Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

        


    See existing feedback here.