src/main/java/org/jenkinsci/plugins/awsdevicefarm/AWSDeviceFarm.java
public Upload uploadExtraData(Project project, String extraDataArtifact) throws InterruptedException, IOException, AWSDeviceFarmException {
        AWSDeviceFarmUploadType type;
        if (extraDataArtifact.toLowerCase().endsWith("zip")) {
            type = AWSDeviceFarmUploadType.EXTERNAL_DATA;
        } else {
            throw new AWSDeviceFarmException(String.format("Unknown extra data file artifact to upload: %s", extraDataArtifact));
        }

        return upload(project, extraDataArtifact, type);
    }
/**
     * Upload an extra data file to Device Farm.
     *
     * @param project           The Device Farm project to upload to.
     * @param extraDataArtifact String path to the extra data to be uploaded to Device Farm.
     * @return The Device Farm Upload object.
     * @throws IOException
     * @throws AWSDeviceFarmException
     */
Upload an extra data file to Device Farm.
@param project           The Device Farm project to upload to.
@param extraDataArtifact String path to the extra data to be uploaded to Device Farm.
@return The Device Farm Upload object.
Upload an extra data file to Device Farm . @param project The Device Farm project to upload to . @param extraDataArtifact String path to the extra data to be uploaded to Device Farm . @return The Device Farm Upload object .
public Upload uploadExtraData(Project project, String extraDataArtifact) throws InterruptedException, IOException, AWSDeviceFarmException {
        AWSDeviceFarmUploadType type;
        if (extraDataArtifact.toLowerCase().endsWith("zip")) {
            type = AWSDeviceFarmUploadType.EXTERNAL_DATA;
        } else {
            throw new AWSDeviceFarmException(String.format("Unknown extra data file artifact to upload: %s", extraDataArtifact));
        }
        return upload(project, extraDataArtifact, type);
    }
public Upload uploadExtraData ( Project project , String extraDataArtifact ) throws InterruptedException , IOException , AWSDeviceFarmException { AWSDeviceFarmUploadType type ; if ( extraDataArtifact . toLowerCase ( ) . endsWith ( "zip" ) ) { type = AWSDeviceFarmUploadType . EXTERNAL_DATA ; } else { throw new AWSDeviceFarmException ( String . format ( "Unknown extra data file artifact to upload: %s" , extraDataArtifact ) ) ; } return upload ( project , extraDataArtifact , type ) ; }
Upload an extra data file to Device Farm.
Upload an extra data file to Device Farm .