public class AppThwackRecorder
extends hudson.tasks.Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
AppThwackRecorder.DescriptorImpl
Descriptor for AppThwackRecorder.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl| Modifier and Type | Field and Description |
|---|---|
String |
appArtifact |
String |
calabashFeatures |
String |
calabashTags |
String |
devicePoolName |
String |
eventcount |
String |
junitArtifact |
String |
junitFilter |
String |
launchdata |
String |
monkeyArtifact |
String |
monkeyseed |
String |
ocunitArtifact |
String |
password |
String |
projectName |
String |
type |
String |
uiaArtifact |
String |
uiautoArtifact |
String |
uiautoFilter |
String |
username |
String |
xctestArtifact |
| Constructor and Description |
|---|
AppThwackRecorder(String projectName,
String devicePoolName,
String appArtifact,
String type,
String calabashFeatures,
String calabashTags,
String junitArtifact,
String junitFilter,
String monkeyArtifact,
String ocunitArtifact,
String uiaArtifact,
String uiautoArtifact,
String uiautoFilter,
String xctestArtifact,
String eventcount,
String username,
String password,
String launchdata,
String monkeyseed) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
com.appthwack.appthwack.AppThwackApi |
getAppThwackApi() |
File |
getArtifactFile(hudson.FilePath artifactsDir,
hudson.FilePath workspace,
String pattern)
Gets a local File instance of a glob file pattern, pulling it from a slave if necessary.
|
AppThwackRecorder.DescriptorImpl |
getDescriptor() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
In a concurrent environment, this MUST run after the has completed.
|
hudson.FilePath |
getResultsArchive(com.appthwack.appthwack.AppThwackRun run,
hudson.FilePath resultsDir)
Return FilePath within Jenkins run directory where the AppThwack results
archive is stored.
|
String |
isType(String type)
Helper method for the jelly view to determine test type.
|
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, prebuildpublic String projectName
public String devicePoolName
public String appArtifact
public String type
public String calabashFeatures
public String calabashTags
public String junitArtifact
public String junitFilter
public String monkeyArtifact
public String ocunitArtifact
public String uiaArtifact
public String uiautoArtifact
public String uiautoFilter
public String xctestArtifact
public String eventcount
public String username
public String password
public String launchdata
public String monkeyseed
@DataBoundConstructor public AppThwackRecorder(String projectName, String devicePoolName, String appArtifact, String type, String calabashFeatures, String calabashTags, String junitArtifact, String junitFilter, String monkeyArtifact, String ocunitArtifact, String uiaArtifact, String uiautoArtifact, String uiautoFilter, String xctestArtifact, String eventcount, String username, String password, String launchdata, String monkeyseed)
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.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic hudson.FilePath getResultsArchive(com.appthwack.appthwack.AppThwackRun run,
hudson.FilePath resultsDir)
run - AppThwack run we're downloading the results ofresultsDir - AppThwack results directory unique to the current runpublic File getArtifactFile(hudson.FilePath artifactsDir, hudson.FilePath workspace, String pattern)
artifactsDir - artifacts directory on masterworkspace - workspace to search for matches, usually the jenkins workspacepattern - Glob pattern to find artifactspublic String isType(String type)
type - public String getApiKey()
public com.appthwack.appthwack.AppThwackApi getAppThwackApi()
public AppThwackRecorder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Copyright © 2004-2014. All Rights Reserved.