public class AWSDeviceFarmRecorder
extends hudson.tasks.Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
AWSDeviceFarmRecorder.DescriptorImpl
Descriptor for AWSDeviceFarmRecorder.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
AWSDeviceFarmRecorder(String projectName,
String devicePoolName,
String appArtifact,
String testToRun,
Boolean storeResults,
String eventCount,
String eventThrottle,
String seed,
String appiumJavaJUnitTest,
String appiumJavaTestNGTest,
String calabashFeatures,
String calabashTags,
String junitArtifact,
String junitFilter,
String uiautomatorArtifact,
String uiautomatorFilter)
The Device Farm recorder class for running post-build steps on Jenkins.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAkid()
Access key ID getter.
|
AWSDeviceFarm |
getAWSDeviceFarm()
Getter for the Device Farm API.
|
AWSDeviceFarmRecorder.DescriptorImpl |
getDescriptor()
Getter for the Device Farm descriptor.
|
Collection<hudson.model.Action> |
getProjectActions(hudson.model.AbstractProject<?,?> project)
Return collection of all Jenkins actions to be attached to this project.
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
In a concurrent environment, this MUST run after the has completed.
|
String |
getRoleArn()
Role ARN getter.
|
String |
getSkid()
Secret key ID getter.
|
String |
isTestType(String testTypeName)
Test if the test type names match (for marking the radio button).
|
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Perform the post-build test action.
|
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, perform, prebuildpublic String projectName
public String devicePoolName
public String appArtifact
public String testToRun
public Boolean storeResults
public String eventCount
public String eventThrottle
public String seed
public String appiumJavaJUnitTest
public String appiumJavaTestNGTest
public String calabashFeatures
public String calabashTags
public String junitArtifact
public String junitFilter
public String uiautomatorArtifact
public String uiautomatorFilter
public PrintStream log
@DataBoundConstructor public AWSDeviceFarmRecorder(String projectName, String devicePoolName, String appArtifact, String testToRun, Boolean storeResults, String eventCount, String eventThrottle, String seed, String appiumJavaJUnitTest, String appiumJavaTestNGTest, String calabashFeatures, String calabashTags, String junitArtifact, String junitFilter, String uiautomatorArtifact, String uiautomatorFilter)
projectName - The name of the Device Farm project.devicePoolName - The name of the Device Farm device pool.appArtifact - The path to the app to be tested.testToRun - The type of test to be run.storeResults - Download the results to a local archive.eventCount - The number of fuzz events to run.eventThrottle - The the fuzz event throttle count.seed - The initial seed of fuzz events.appiumJavaJUnitTest - appiumJavaTestNGTest - calabashFeatures - The path to the Calabash tests to be run.calabashTags - Calabash tags to attach to the test.junitArtifact - The path to the Instrumentation JUnit tests.junitFilter - The filter to apply to the Instrumentation JUnit tests.uiautomatorArtifact - The path to the UI Automator tests to be run.uiautomatorFilter - public String isTestType(String testTypeName)
testTypeName - The String representation of the test type.public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - The build to follow.launcher - The launcher.listener - The build launcher.IOExceptionInterruptedExceptionpublic String getRoleArn()
public String getAkid()
public String getSkid()
public AWSDeviceFarm getAWSDeviceFarm()
public AWSDeviceFarmRecorder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic Collection<hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
getProjectActions in interface hudson.tasks.BuildStepgetProjectActions in class hudson.tasks.BuildStepCompatibilityLayerproject - The AWS Device Farm Jenkins project.public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Copyright © 2004-2015. All Rights Reserved.