public abstract class TcpSocketHostLocator extends Object implements hudson.ExtensionPoint
In simple scenarios both slave agent and maven process do live on same host without specific network constraints, but for some virtualization usages maven process just can't bind a socket on wildcard host network. This extension give infrastructure plugins a chance to configure the adequate hostname. to handle such network constraints
| Constructor and Description |
|---|
TcpSocketHostLocator() |
| Modifier and Type | Method and Description |
|---|---|
static List<TcpSocketHostLocator> |
all() |
abstract String |
getTcpSocketHost()
Try to identify the slave agent TCP socket host name or IP.
|
@CheckForNull public abstract String getTcpSocketHost() throws IOException
null if not found or does not apply to this specific implementationIOExceptionpublic static List<TcpSocketHostLocator> all()
Copyright © 2016–2017. All rights reserved.