Package org.jenkinsci.plugins.vsphere
package org.jenkinsci.plugins.vsphere
-
ClassDescriptionRecycles the agents that have used all the builds they are allowed, once nothing is using them: disconnects them, which does to their machines what the agents are set to do when idle, and starts their count again when that is done.An agent that has used all its builds and comes online, as one does after a restart, is looked at at once.Looks at all the agents once in a while: the end of a run is not the only way for an agent to become free.Owns how many "limited builds" each vSphere agent has done, so that the agent can be recycled once it reaches its limit.The outcome and the usage of the agent right after.What happened when a run asked to be counted.How the recycling of an agent ended.The recycling of an agent that is under way, which only one thing at a time can do.What happened when a run that may have been counted was over.Tells the tasks that Pipeline queued again after a restart.Startup sanity check: Jenkins identifies a
Cloudby itsname, so two clouds sharing one (as every vSphere cloud did historically, and as a hand-editedconfig.xmlmay again) make URLs like/manage/cloud/<name>/and "Save" on the second one act on the first.Tells administrators thatDuplicateCloudNameFixerhad to rename vSphere clouds at startup because several clouds shared onename(typically after hand-editingconfig.xml, or from before the plugin generated unique names).Offline because the agent has used all the builds it is allowed and is being recycled.Generated localization support class.ANodeProvisioner.Strategythat immediately provisions capacity to meet demand.JENKINS-69035: runOnceCloud is not unique.Keeps new work away from an agent that has used all the builds it is allowed, so that it can finish what it has and be recycled, without anyone being aborted for coming too late.Define a base class for all vSphere build steps.Retains a cloud computer until it has been idle forVSphereCloudRetentionStrategy.getIdleMinutes()minutes (that part is delegated straight toCloudRetentionStrategy), OR -- optionally -- until it has existed forVSphereCloudRetentionStrategy.getLifespanMinutes()minutes in total, whichever happens first.Represents a name/value pair that's sent to a vSphere virtual machine's "guestinfo" object.Offline because the plugin set it offline rather than anyone else.AAsyncPeriodicWorkthat pre-provisions nodes to meet insntanceMin template value.