pipeline-aws-plugin
pipeline-aws-plugin copied to clipboard
S3Upload ignores the 'sseAlgorithm' property when uploading a folder
Description
The 'sseAlgorithm' property is ignored when the 'file' property refers to a directory.
Steps to Reproduce
- Create a s3 bucket with a sse policy
- 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