Package com.testdroid.jenkins
Class RunInCloudBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
com.testdroid.jenkins.AbstractBuilder
com.testdroid.jenkins.RunInCloudBuilder
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionRunInCloudBuilder(String projectId, String appPath, String testPath, String dataPath, String testRunName, String scheduler, String testRunner, String deviceGroupId, String language, String screenshotsDirectory, String keyValuePairs, String withAnnotation, String withoutAnnotation, String testCasesSelect, String testCasesValue, Boolean failBuildIfThisStepFailed, WaitForResultsBlock waitForResultsBlock, String testTimeout, String credentialsId, String cloudUrl, Long frameworkId, com.testdroid.api.model.APIDevice.OsType osType, Boolean biometricInstrumentation) -
Method Summary
Modifier and TypeMethodDescriptionbooleancompleteRun(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) Wrapper around runTest to be used elsewhere, and sensibly log steps of the build procedurecom.testdroid.api.model.APIDevice.OsTypebooleanbooleanbooleanbooleanbooleanbooleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Perform build step, as required by AbstractBuildervoidsetAppPath(String appPath) voidsetBiometricInstrumentation(boolean biometricInstrumentation) voidsetCloudUrl(String cloudUrl) voidsetCredentialsId(String credentialsId) voidsetDataPath(String dataPath) voidsetDeviceGroupId(String deviceGroupId) voidsetFailBuildIfThisStepFailed(boolean failBuildIfThisStepFailed) voidsetFrameworkId(Long frameworkId) voidsetKeyValuePairs(String keyValuePairs) voidsetLanguage(String language) voidsetOsType(com.testdroid.api.model.APIDevice.OsType osType) voidsetProjectId(String projectId) voidsetScheduler(String scheduler) voidsetScreenshotsDirectory(String screenshotsDirectory) voidsetTestCasesSelect(String testCasesSelect) voidsetTestCasesValue(String testCasesValue) voidsetTestPath(String testPath) voidsetTestRunName(String testRunName) voidsetTestRunner(String testRunner) voidsetTestTimeout(String testTimeout) voidsetWaitForResultsBlock(WaitForResultsBlock waitForResultsBlock) voidsetWithAnnotation(String withAnnotation) voidsetWithoutAnnotation(String withoutAnnotation) Methods inherited from class com.testdroid.jenkins.AbstractBuilder
applyMacroMethods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
RunInCloudBuilder
@DataBoundConstructor public RunInCloudBuilder(String projectId, String appPath, String testPath, String dataPath, String testRunName, String scheduler, String testRunner, String deviceGroupId, String language, String screenshotsDirectory, String keyValuePairs, String withAnnotation, String withoutAnnotation, String testCasesSelect, String testCasesValue, Boolean failBuildIfThisStepFailed, WaitForResultsBlock waitForResultsBlock, String testTimeout, String credentialsId, String cloudUrl, Long frameworkId, com.testdroid.api.model.APIDevice.OsType osType, Boolean biometricInstrumentation)
-
-
Method Details
-
getTestRunName
-
setTestRunName
-
getAppPath
-
setAppPath
-
getTestPath
-
setTestPath
-
getProjectId
-
setProjectId
-
getDeviceGroupId
-
setDeviceGroupId
-
getTestRunner
-
setTestRunner
-
getScreenshotsDirectory
-
setScreenshotsDirectory
-
getKeyValuePairs
-
setKeyValuePairs
-
getWithAnnotation
-
setWithAnnotation
-
getWithoutAnnotation
-
setWithoutAnnotation
-
getTestCasesSelect
-
setTestCasesSelect
-
getTestCasesValue
-
setTestCasesValue
-
getDataPath
-
setDataPath
-
getLanguage
-
setLanguage
-
getScheduler
-
setScheduler
-
getTestTimeout
-
setTestTimeout
-
getCredentialsId
-
setCredentialsId
-
getCloudUrl
-
setCloudUrl
-
getWaitForResultsBlock
-
setWaitForResultsBlock
-
isFailBuildIfThisStepFailed
public boolean isFailBuildIfThisStepFailed() -
setFailBuildIfThisStepFailed
public void setFailBuildIfThisStepFailed(boolean failBuildIfThisStepFailed) -
isFullTest
public boolean isFullTest() -
isDataFile
public boolean isDataFile() -
isWaitForResults
public boolean isWaitForResults() -
getFrameworkId
-
setFrameworkId
-
getOsType
public com.testdroid.api.model.APIDevice.OsType getOsType() -
setOsType
public void setOsType(com.testdroid.api.model.APIDevice.OsType osType) -
isBiometricInstrumentation
public boolean isBiometricInstrumentation() -
setBiometricInstrumentation
public void setBiometricInstrumentation(boolean biometricInstrumentation) -
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOExceptionPerform build step, as required by AbstractBuilder- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
completeRun
public boolean completeRun(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOExceptionWrapper around runTest to be used elsewhere, and sensibly log steps of the build procedure- Throws:
InterruptedExceptionIOException
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-