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
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionPipelineCloudStep(String projectId, String deviceGroupId) Constructor; defined the mandatory parameters to be passed in Pipeline. -
Method Summary
Modifier and TypeMethodDescriptioncom.testdroid.api.model.APIDevice.OsTypebooleanbooleanvoidsetAppPath(String appPath) voidsetBiometricInstrumentation(boolean biometricInstrumentation) voidsetCloudUrl(String cloudUrl) voidsetCredentialsId(String credentialsId) voidsetDataPath(String dataPath) voidsetFailBuildIfThisStepFailed(boolean failBuildIfThisStepFailed) voidsetFrameworkId(Long frameworkId) voidsetKeyValuePairs(String keyValuePairs) voidsetLanguage(String language) voidsetOsType(com.testdroid.api.model.APIDevice.OsType osType) 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 org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
prepareInjector, startMethods 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
-
setBiometricInstrumentation
@DataBoundSetter public void setBiometricInstrumentation(boolean biometricInstrumentation) -
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()
-