public class S3Profile extends Object
| Constructor and Description |
|---|
S3Profile(String name,
String accessKey,
String secretKey,
boolean useRole,
int signedUrlExpirySeconds,
String maxUploadRetries,
String uploadRetryTime,
String maxDownloadRetries,
String downloadRetryTime,
boolean keepStructure) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(hudson.model.Run run,
FingerprintRecord record)
Delete some artifacts of a given run
|
List<FingerprintRecord> |
downloadAll(hudson.model.Run build,
List<FingerprintRecord> artifacts,
String includeFilter,
String excludeFilter,
hudson.FilePath targetDir,
boolean flatten)
Download all artifacts from a given build
|
String |
getAccessKey() |
com.amazonaws.services.s3.AmazonS3Client |
getClient() |
int |
getDownloadRetryTime() |
String |
getDownloadURL(hudson.model.Run run,
FingerprintRecord record)
Generate a signed download request for a redirect from s3/download.
|
int |
getMaxDownloadRetries() |
int |
getMaxUploadRetries() |
String |
getName() |
hudson.util.Secret |
getSecretKey() |
int |
getSignedUrlExpirySeconds() |
int |
getUploadRetryTime() |
boolean |
getUseRole() |
boolean |
isKeepStructure() |
boolean |
isUseRole() |
List<String> |
list(hudson.model.Run build,
String bucket) |
String |
toString() |
List<FingerprintRecord> |
upload(hudson.model.Run<?,?> run,
String bucketName,
List<hudson.FilePath> filePaths,
List<String> fileNames,
Map<String,String> userMetadata,
String storageClass,
String selregion,
boolean uploadFromSlave,
boolean managedArtifacts,
boolean useServerSideEncryption,
boolean gzipFiles) |
public boolean isKeepStructure()
public int getMaxDownloadRetries()
public int getDownloadRetryTime()
public final String getAccessKey()
public final hudson.util.Secret getSecretKey()
public final int getMaxUploadRetries()
public final int getUploadRetryTime()
public final String getName()
public final boolean getUseRole()
public boolean isUseRole()
public int getSignedUrlExpirySeconds()
public com.amazonaws.services.s3.AmazonS3Client getClient()
public List<FingerprintRecord> upload(hudson.model.Run<?,?> run, String bucketName, List<hudson.FilePath> filePaths, List<String> fileNames, Map<String,String> userMetadata, String storageClass, String selregion, boolean uploadFromSlave, boolean managedArtifacts, boolean useServerSideEncryption, boolean gzipFiles) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic List<FingerprintRecord> downloadAll(hudson.model.Run build, List<FingerprintRecord> artifacts, String includeFilter, String excludeFilter, hudson.FilePath targetDir, boolean flatten) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void delete(hudson.model.Run run,
FingerprintRecord record)
public String getDownloadURL(hudson.model.Run run, FingerprintRecord record)
Copyright © 2004-2016. All Rights Reserved.