Class KubeVirtProvisioningLauncher

java.lang.Object
hudson.slaves.ComputerLauncher
io.jenkins.plugins.kubevirt.KubeVirtProvisioningLauncher
All Implemented Interfaces:
ExtensionPoint, Describable<ComputerLauncher>

public class KubeVirtProvisioningLauncher extends ComputerLauncher
A provisioning-aware launcher that handles the full VM lifecycle before delegating to the real SSH launcher.

This launcher is set on the KubeVirtAgent at construction time, allowing Jenkins to register the node immediately (making it visible in the UI as "offline / connecting"). When Jenkins core invokes launch(hudson.slaves.SlaveComputer, hudson.model.TaskListener), the launcher creates the VM, waits for it to become ready, obtains the IP address (if needed), creates the real SSH launcher, and then delegates the actual SSH connection to it.

All provisioning log messages are written to the TaskListener provided by Jenkins, so they appear live on the agent's /computer/<name>/log page.