Increasing the slave idle timeout

The Jenkins master creates slaves to build the project. These slaves remain alive only for 15 minutes after building the project, that is, they will be reused only if the next build request is received within 15 minutes of finishing the first build. If they don't receive the build request in 15 minutes after building the project, then the Jenkins master will kill the slave instance. The next build request will again create a new slave and build the application on it. Slave creation is a time-consuming process and is not ideal during the development cycle, when you expect quick feedback from your CI server.

In this recipe, you will learn how to increase the slave idle timeout so that you can reuse the slave for ...

Get OpenShift Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.