@Extension public class ComputerListenerImpl extends ComputerListener
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
ComputerListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
preOnline(Computer c,
hudson.remoting.Channel channel,
FilePath root,
TaskListener listener)
Prepares the slave before it gets online by copying the given content in root
and executing the configured setup script.
|
all, onConfigurationChange, onLaunchFailure, onOffline, onOffline, onOnline, onOnline, onTemporarilyOffline, onTemporarilyOnline, preLaunch, register, unregisterpublic void preOnline(Computer c, hudson.remoting.Channel channel, FilePath root, TaskListener listener) throws IOException, InterruptedException
preOnline in class ComputerListenerc - the computer to set upchannel - not usedroot - the root of the slavelistener - log listenerIOException - IO error accessing file on disk (cache)InterruptedException - Pipe BrokenCopyright © 2016–2023. All rights reserved.