Package jenkins.plugins.itemstorage.s3
Class S3UploadAllCallable
java.lang.Object
jenkins.MasterToSlaveFileCallable<T>
jenkins.plugins.itemstorage.s3.S3BaseUploadCallable<Integer>
jenkins.plugins.itemstorage.s3.S3UploadAllCallable
- All Implemented Interfaces:
FilePath.FileCallable<Integer>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- Author:
- Peter Hayes
- See Also:
-
Constructor Summary
ConstructorDescriptionS3UploadAllCallable
(ClientHelper clientHelper, String fileMask, String excludes, boolean useDefaultExcludes, String bucketName, String pathPrefix, Map<String, String> userMetadata, String storageClass, boolean useServerSideEncryption) -
Method Summary
Methods inherited from class jenkins.plugins.itemstorage.s3.S3BaseUploadCallable
buildMetadata
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
-
Constructor Details
-
S3UploadAllCallable
-
-
Method Details
-
invoke
public Integer invoke(com.amazonaws.services.s3.transfer.TransferManager transferManager, File base, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Upload from agent- Throws:
IOException
InterruptedException
-
invoke
public Integer invoke(File f, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Override this if you don't want a transfer manager- Throws:
IOException
InterruptedException
-