Class TcTestBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,Serializable
,SimpleBuildStep
public class TcTestBuilder extends Builder implements Serializable, SimpleBuildStep
- Author:
- Igor Filin
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TcTestBuilder.BuildStepAction
static class
TcTestBuilder.DescriptorImpl
static class
TcTestBuilder.LaunchConfig
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description TcTestBuilder(String suite)
-
Method Summary
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Constructor Detail
-
TcTestBuilder
@DataBoundConstructor public TcTestBuilder(String suite)
-
-
Method Detail
-
setLaunchConfig
@DataBoundSetter public void setLaunchConfig(TcTestBuilder.LaunchConfig launchConfig)
-
getLaunchConfig
public TcTestBuilder.LaunchConfig getLaunchConfig()
-
setSuite
@DataBoundSetter public void setSuite(String suite)
-
getSuite
public String getSuite()
-
setLaunchType
@DataBoundSetter public void setLaunchType(String launchType)
-
getLaunchType
public String getLaunchType()
-
setProject
@DataBoundSetter public void setProject(String project)
-
getProject
public String getProject()
-
setUnit
@DataBoundSetter public void setUnit(String unit)
-
getUnit
public String getUnit()
-
setRoutine
@DataBoundSetter public void setRoutine(String routine)
-
getRoutine
public String getRoutine()
-
setTest
@DataBoundSetter public void setTest(String test)
-
getTest
public String getTest()
-
setTags
@DataBoundSetter public void setTags(String tags)
-
getTags
public String getTags()
-
setExecutorType
@DataBoundSetter public void setExecutorType(String executorType)
-
getExecutorType
public String getExecutorType()
-
setExecutorVersion
@DataBoundSetter public void setExecutorVersion(String executorVersion)
-
getExecutorVersion
public String getExecutorVersion()
-
setActionOnWarnings
@DataBoundSetter public void setActionOnWarnings(String actionOnWarnings)
-
getActionOnWarnings
public String getActionOnWarnings()
-
setActionOnErrors
@DataBoundSetter public void setActionOnErrors(String actionOnErrors)
-
getActionOnErrors
public String getActionOnErrors()
-
setCommandLineArguments
@DataBoundSetter public void setCommandLineArguments(String commandLineArguments)
-
getCommandLineArguments
public String getCommandLineArguments()
-
setUseTimeout
@DataBoundSetter public void setUseTimeout(boolean useTimeout)
-
getUseTimeout
public boolean getUseTimeout()
-
setTimeout
@DataBoundSetter public void setTimeout(String timeout)
-
getTimeout
public String getTimeout()
-
setUseTCService
@DataBoundSetter public void setUseTCService(boolean useTCService)
-
getUseTCService
public boolean getUseTCService()
-
setUserName
@DataBoundSetter public void setUserName(String userName)
-
getUserName
public String getUserName()
-
setUserPassword
@DataBoundSetter public void setUserPassword(String userPassword)
-
getUserPassword
public Secret getUserPassword()
-
getCredentialsId
public String getCredentialsId()
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
setUseActiveSession
@DataBoundSetter public void setUseActiveSession(boolean useActiveSession)
-
getUseActiveSession
public boolean getUseActiveSession()
-
getAccessKeyId
public String getAccessKeyId()
-
setAccessKeyId
@DataBoundSetter public void setAccessKeyId(String accessKeyId)
-
setSessionScreenResolution
@DataBoundSetter public void setSessionScreenResolution(String sessionScreenResolution)
-
getSessionScreenResolution
public String getSessionScreenResolution()
-
setGenerateMHT
@DataBoundSetter public void setGenerateMHT(boolean generateMHT)
-
getGenerateMHT
public boolean getGenerateMHT()
-
setPublishJUnitReports
@DataBoundSetter public void setPublishJUnitReports(boolean publishJUnitReports)
-
getPublishJUnitReports
public boolean getPublishJUnitReports()
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
- Overrides:
getRequiredMonitorService
in classBuilder
-
usingOldCredentials
public boolean usingOldCredentials()
-
perform
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener taskListener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
performInternal
public void performInternal(Run<?,?> run, FilePath filePath, Launcher launcher, TaskListener listener, Computer currentComputer) throws IOException, InterruptedException, com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.InvalidConfigurationException, com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.CBTException, com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.TagsException, com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.CredentialsNotFoundException
- Throws:
IOException
InterruptedException
com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.InvalidConfigurationException
com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.CBTException
com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.TagsException
com.smartbear.jenkins.plugins.testcomplete.TcTestBuilder.CredentialsNotFoundException
-
getDescriptor
public TcTestBuilder.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
-