com.testfairy.uploader
Class Uploader
java.lang.Object
com.testfairy.uploader.Uploader
public class Uploader
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static String VERSION
USER_AGENT
public static final String USER_AGENT
JENKINS_URL
public static String JENKINS_URL
Uploader
public Uploader(PrintStream logger,
String version)
uploadApp
public net.sf.json.JSONObject uploadApp(String apkFilename,
String changeLog,
TestFairyBaseRecorder recorder)
throws IOException,
TestFairyException
- Upload an APK using /api/upload REST service.
- Parameters:
apkFilename - changeLog - recorder -
- Returns:
-
- Throws:
IOException
TestFairyException
uploadSignedApk
public net.sf.json.JSONObject uploadSignedApk(String apkFilename,
TestFairyBaseRecorder recorder)
throws IOException,
TestFairyException
- Upload a signed APK using /api/upload-signed REST service.
- Parameters:
apkFilename - recorder -
- Returns:
-
- Throws:
IOException
TestFairyException
signingApk
public String signingApk(TestFairyAndroidRecorder.AndroidBuildEnvironment environment,
String apkFilename,
TestFairyAndroidRecorder recorder)
throws IOException,
InterruptedException,
TestFairyException
- return the path to the signed Apk
- Parameters:
environment - apkFilename - recorder -
- Returns:
- the path to the signed Apk
- Throws:
IOException
InterruptedException
TestFairyException
setServer
public static void setServer(hudson.EnvVars vars,
PrintStream logger)
Copyright © 2004-2015. All Rights Reserved.