Package hudson.plugins.s3
Class S3Profile
java.lang.Object
hudson.plugins.s3.S3Profile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(Run run, FingerprintRecord record) Delete some artifacts of a given rundownloadAll
(Run<?, ?> build, List<FingerprintRecord> artifacts, String includeFilter, String excludeFilter, FilePath targetDir, boolean flatten) Download all artifacts from a given buildfinal String
com.amazonaws.services.s3.AmazonS3
int
int
final int
getName()
final Secret
int
final int
final boolean
boolean
boolean
toString()
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)
-
Constructor Details
-
S3Profile
-
-
Method Details
-
isKeepStructure
public boolean isKeepStructure() -
getMaxDownloadRetries
public int getMaxDownloadRetries() -
getDownloadRetryTime
public int getDownloadRetryTime() -
getAccessKey
-
getSecretKey
-
getMaxUploadRetries
public final int getMaxUploadRetries() -
getUploadRetryTime
public final int getUploadRetryTime() -
getName
-
getUseRole
public final boolean getUseRole() -
isUseRole
public boolean isUseRole() -
getSignedUrlExpirySeconds
public int getSignedUrlExpirySeconds() -
getClient
-
upload
public List<FingerprintRecord> upload(Run<?, ?> run, String bucketName, List<FilePath> filePaths, List<String> fileNames, Map<String, throws IOException, InterruptedExceptionString> userMetadata, String storageClass, String selregion, boolean uploadFromSlave, boolean managedArtifacts, boolean useServerSideEncryption, boolean gzipFiles) - Throws:
IOException
InterruptedException
-
list
-
downloadAll
public List<FingerprintRecord> downloadAll(Run<?, ?> build, List<FingerprintRecord> artifacts, String includeFilter, String excludeFilter, FilePath targetDir, boolean flatten) throws IOException, InterruptedExceptionDownload all artifacts from a given build- Throws:
IOException
InterruptedException
-
delete
Delete some artifacts of a given run -
toString
-