vsphere-cloud-plugin
vsphere-cloud-plugin copied to clipboard
Add nodes pre-provisioning
In order to have instances at the ready at all times and thus speed up CI runs because instance provisioning is done upfront, add a mechanism and the related parameter to configure a minimum number of instances that must be ready at all times.
Also add a mechanism to reconcile total number of nodes based on template/cloud capacity
There is similar functionality presented in openstack cloud plugin: https://github.com/jenkinsci/openstack-cloud-plugin/blob/master/plugin/src/main/java/jenkins/plugins/openstack/compute/JCloudsPreCreationThread.java