Package hudson.plugins.s3
Class S3Profile
java.lang.Object
hudson.plugins.s3.S3Profile
-
Constructor Summary
Constructors -
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
software.amazon.awssdk.services.s3.S3Client
int
int
final int
getName()
final Secret
int
final int
final boolean
boolean
boolean
boolean
boolean
void
setDeleteArtifactsRecursively
(boolean deleteArtifactsRecursively) void
setUsePathStyle
(boolean usePathStyle) 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
-
setUsePathStyle
@DataBoundSetter public void setUsePathStyle(boolean usePathStyle) -
setDeleteArtifactsRecursively
@DataBoundSetter public void setDeleteArtifactsRecursively(boolean deleteArtifactsRecursively) -
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() -
isUsePathStyle
public boolean isUsePathStyle() -
isDeleteArtifactsRecursively
public boolean isDeleteArtifactsRecursively() -
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
-