Package hudson.plugins.s3
Class S3Profile
- java.lang.Object
-
- hudson.plugins.s3.S3Profile
-
public class S3Profile extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(Run run, FingerprintRecord record)
Delete some artifacts of a given runList<FingerprintRecord>
downloadAll(Run<?,?> build, List<FingerprintRecord> artifacts, String includeFilter, String excludeFilter, FilePath targetDir, boolean flatten)
Download all artifacts from a given buildString
getAccessKey()
com.amazonaws.services.s3.AmazonS3
getClient(String region)
int
getDownloadRetryTime()
int
getMaxDownloadRetries()
int
getMaxUploadRetries()
String
getName()
Secret
getSecretKey()
int
getSignedUrlExpirySeconds()
int
getUploadRetryTime()
boolean
getUseRole()
boolean
isKeepStructure()
boolean
isUseRole()
List<String>
list(Run build, String bucket)
String
toString()
List<FingerprintRecord>
upload(Run<?,?> run, String bucketName, List<FilePath> filePaths, List<String> fileNames, Map<String,String> userMetadata, String storageClass, String selregion, boolean uploadFromSlave, boolean managedArtifacts, boolean useServerSideEncryption, boolean gzipFiles)
-
-
-
Method Detail
-
isKeepStructure
public boolean isKeepStructure()
-
getMaxDownloadRetries
public int getMaxDownloadRetries()
-
getDownloadRetryTime
public int getDownloadRetryTime()
-
getAccessKey
public final String getAccessKey()
-
getSecretKey
public final Secret getSecretKey()
-
getMaxUploadRetries
public final int getMaxUploadRetries()
-
getUploadRetryTime
public final int getUploadRetryTime()
-
getName
public String getName()
-
getUseRole
public final boolean getUseRole()
-
isUseRole
public boolean isUseRole()
-
getSignedUrlExpirySeconds
public int getSignedUrlExpirySeconds()
-
getClient
public com.amazonaws.services.s3.AmazonS3 getClient(String region)
-
upload
public List<FingerprintRecord> upload(Run<?,?> run, String bucketName, List<FilePath> filePaths, List<String> fileNames, Map<String,String> userMetadata, String storageClass, String selregion, boolean uploadFromSlave, boolean managedArtifacts, boolean useServerSideEncryption, boolean gzipFiles) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
downloadAll
public List<FingerprintRecord> downloadAll(Run<?,?> build, List<FingerprintRecord> artifacts, String includeFilter, String excludeFilter, FilePath targetDir, boolean flatten) throws IOException, InterruptedException
Download all artifacts from a given build- Throws:
IOException
InterruptedException
-
delete
public void delete(Run run, FingerprintRecord record)
Delete some artifacts of a given run
-
-