public class NodeHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getNodeName(hudson.FilePath path)
Helper: find the node name used for the build
|
static hudson.model.Node |
workspaceToNode(hudson.FilePath workspace)
Helper: find the Node for slave build or return current instance.
|
public static String getNodeName(hudson.FilePath path)
path
- Jenkins workspace on build nodepublic static hudson.model.Node workspaceToNode(hudson.FilePath workspace)
workspace
- Jenkins workspace on build nodeCopyright © 2016–2019. All rights reserved.