Skip to content

Commit a43007f

Browse files
Enable multipart upload support (#353)
1 parent 1b86908 commit a43007f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/hudson/plugins/s3/ClientHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public static S3AsyncClient createAsyncClient(String accessKey, String secretKey
4646
Region awsRegion = getRegionFromString(region);
4747
S3AsyncClientBuilder builder = S3AsyncClient.builder();//.overrideConfiguration(clientConfiguration);
4848
builder.region(awsRegion);
49+
builder.multipartEnabled(true);
4950

5051
if (!useRole) {
5152
builder = builder.credentialsProvider(() -> AwsBasicCredentials.create(accessKey, secretKey));

0 commit comments

Comments
 (0)