Package hudson.plugins.s3
Class S3Profile
java.lang.Object
hudson.plugins.s3.S3Profile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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 Stringsoftware.amazon.awssdk.services.s3.S3Clientintintfinal intgetName()final Secretintfinal intfinal booleanbooleanbooleanbooleanbooleanvoidsetDeleteArtifactsRecursively(boolean deleteArtifactsRecursively) voidsetUsePathStyle(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:
IOExceptionInterruptedException
-
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:
IOExceptionInterruptedException
-
delete
Delete some artifacts of a given run -
toString
-