pipeline-aws-plugin icon indicating copy to clipboard operation
pipeline-aws-plugin copied to clipboard

S3Upload ignores the 'sseAlgorithm' property when uploading a folder

Open nirtsruya opened this issue 5 years ago • 0 comments

Description

The 'sseAlgorithm' property is ignored when the 'file' property refers to a directory.

Steps to Reproduce

  1. Create a s3 bucket with a sse policy
  2. call s3Upload and pass the 'file' proeprty a path to a directory to upload. specify 'sseAlgorithm'.

Expected behavior: The directory should be upload successfully to s3

Actual behavior: The command fails with an Access Denied exception.

Environment

Jenkins-Version: 2.164.2

Java-Version: Jdk 11

Plugin-Version: 1.36

Master/Slave Setup: Master/Slave setup

nirtsruya avatar May 13 '19 07:05 nirtsruya