Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent nodes that are still starting up from being idle-stopped
Per JENKINS-23792, the EC2 plugin will shut down nodes that're still starting up if the idle timeout is shorter than the time the node takes to go from launch request to successfully starting its first job on an executor. To prevent this, don't perform idle shutdown on a node that is marked offline. When it comes online, executors will be created and the new idle time will become the executor creation time, effectively resetting the timer.
- Loading branch information