Package com.testdroid.jenkins
Class PipelineCloudStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
com.testdroid.jenkins.PipelineCloudStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class PipelineCloudStep
extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
Pipeline build step for Bitbar Cloud's Jenkins plugin.
Can be invoked from pipeline like eg:
...
steps {
runInCloud(
projectId: "144314736",
deviceGroupId: "36085",
appPath: "application.ipa",
testPath: "tests.zip"
)
}
...
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionPipelineCloudStep
(String projectId, String deviceGroupId) Constructor; defined the mandatory parameters to be passed in Pipeline. -
Method Summary
Modifier and TypeMethodDescriptioncom.testdroid.api.model.APIDevice.OsType
boolean
boolean
void
setAppPath
(String appPath) void
setBiometricInstrumentation
(boolean biometricInstrumentation) void
setCloudUrl
(String cloudUrl) void
setCredentialsId
(String credentialsId) void
setDataPath
(String dataPath) void
setFailBuildIfThisStepFailed
(boolean failBuildIfThisStepFailed) void
setFrameworkId
(Long frameworkId) void
setKeyValuePairs
(String keyValuePairs) void
setLanguage
(String language) void
setOsType
(com.testdroid.api.model.APIDevice.OsType osType) void
setScheduler
(String scheduler) void
setScreenshotsDirectory
(String screenshotsDirectory) void
setTestCasesSelect
(String testCasesSelect) void
setTestCasesValue
(String testCasesValue) void
setTestPath
(String testPath) void
setTestRunName
(String testRunName) void
setTestRunner
(String testRunner) void
setTestTimeout
(String testTimeout) void
setVirusScanTimeout
(String virusScanTimeout) void
setWaitForResultsBlock
(WaitForResultsBlock waitForResultsBlock) void
setWithAnnotation
(String withAnnotation) void
setWithoutAnnotation
(String withoutAnnotation) Methods inherited from class org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
prepareInjector, start
Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
PipelineCloudStep
Constructor; defined the mandatory parameters to be passed in Pipeline.- Parameters:
projectId
- Bitbar Cloud project IddeviceGroupId
- Bitbar Cloud device group Id
-
-
Method Details
-
setTestRunName
-
setAppPath
-
setTestRunner
-
setTestPath
-
setScreenshotsDirectory
-
setKeyValuePairs
-
setWithAnnotation
-
setWithoutAnnotation
-
setTestCasesSelect
-
setTestCasesValue
-
setDataPath
-
setLanguage
-
setScheduler
-
setTestTimeout
-
setCredentialsId
-
setCloudUrl
-
setFailBuildIfThisStepFailed
@DataBoundSetter public void setFailBuildIfThisStepFailed(boolean failBuildIfThisStepFailed) -
setFrameworkId
-
setOsType
@DataBoundSetter public void setOsType(com.testdroid.api.model.APIDevice.OsType osType) -
setWaitForResultsBlock
-
setVirusScanTimeout
-
setBiometricInstrumentation
@DataBoundSetter public void setBiometricInstrumentation(boolean biometricInstrumentation) -
getVirusScanTimeout
-
getWaitForResultsBlock
-
getTestRunName
-
getAppPath
-
getTestPath
-
getProjectId
-
getDeviceGroupId
-
getTestRunner
-
getScreenshotsDirectory
-
getKeyValuePairs
-
getWithAnnotation
-
getWithoutAnnotation
-
getTestCasesSelect
-
getTestCasesValue
-
getDataPath
-
getLanguage
-
getScheduler
-
isFailBuildIfThisStepFailed
public boolean isFailBuildIfThisStepFailed() -
getTestTimeout
-
getCredentialsId
-
getCloudUrl
-
getFrameworkId
-
getOsType
public com.testdroid.api.model.APIDevice.OsType getOsType() -
isBiometricInstrumentation
public boolean isBiometricInstrumentation()
-