Package com.parallels.jenkins
Class PrlDevopsComputerLauncher
java.lang.Object
hudson.slaves.ComputerLauncher
hudson.slaves.JNLPLauncher
com.parallels.jenkins.PrlDevopsComputerLauncher
- All Implemented Interfaces:
ExtensionPoint,Describable<ComputerLauncher>
JNLPLauncher that bootstraps a Jenkins inbound agent on a Parallels DevOps
VM using the execute API. The agent connects TO the Jenkins controller (not SSH).
This launcher uses the Parallels DevOps executeCommand API to:
- Download agent.jar from Jenkins controller
- Start the inbound agent process that connects back to Jenkins
The VM initiates the connection to Jenkins, eliminating the need for:
- SSH server on the VM
- Direct network routing from Jenkins to VM private IP
- SSH credentials management
The agent establishes a persistent TCP/WebSocket connection to Jenkins. All build execution happens over this remoting channel, not via executeCommand.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.slaves.JNLPLauncher
JNLPLauncher.DescriptorImplNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.slaves.JNLPLauncher
CUSTOM_INBOUND_URL_PROPERTY, DESCRIPTOR, tunnel, vmargsFields inherited from class hudson.slaves.ComputerLauncher
LIST -
Constructor Summary
ConstructorsConstructorDescriptionPrlDevopsComputerLauncher(String cloudName, String vmId, String vmUser, PrlDevopsApiClient apiClient, AgentTemplate template) -
Method Summary
Methods inherited from class hudson.slaves.JNLPLauncher
getInboundAgentUrl, getRemotingOptionsUnix, getRemotingOptionsWindows, getTunnel, getWorkDirOptions, getWorkDirSettings, isConfigured, isLaunchSupported, isWebSocket, readResolve, setTunnel, setWebSocket, setWorkDirSettingsMethods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, launchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
PrlDevopsComputerLauncher
public PrlDevopsComputerLauncher(String cloudName, String vmId, String vmUser, PrlDevopsApiClient apiClient, AgentTemplate template)
-
-
Method Details
-
launch
- Overrides:
launchin classJNLPLauncher
-