public class TptPluginSlave
extends hudson.tasks.Builder
TptPluginMasterJobExecutor.| Modifier and Type | Class and Description |
|---|---|
static class |
TptPluginSlave.DescriptorImpl
The Descriptor of TptPluginSlave
|
| Constructor and Description |
|---|
TptPluginSlave(String exePaths,
String tptBindingName,
String tptPort,
String tptStartUpWaitTime)
Those arguments are processed and then passed to the TptPluginSlaveExecutor.
|
| Modifier and Type | Method and Description |
|---|---|
TptPluginSlave.DescriptorImpl |
getDescriptor() |
String |
getExePaths() |
String |
getTptBindingName() |
String |
getTptPort() |
String |
getTptStartUpWaitTime() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
It collects the necesary data (tpt exe path, tpt Port, tpt bindingname and tpt
expandedTptStartupWaitTime) from the environment.
|
@DataBoundConstructor public TptPluginSlave(String exePaths, String tptBindingName, String tptPort, String tptStartUpWaitTime)
exePaths - the paths to the Tpt ExecutablestptBindingName - the binding name used to connect to the TptApi (for the registry)tptPort - the port for binding to the TptApitptStartUpWaitTime - the time it should wait before start tptpublic String getExePaths()
public String getTptBindingName()
public String getTptPort()
public String getTptStartUpWaitTime()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic TptPluginSlave.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2018 PikeTec GmbH. All rights reserved.