Uploading any html file to S3 results in the first four characters of the file name or the folder path to the html being cut off in the S3 bucket.
The console output log shows "Publish artifacts to S3 Bucket" with the full file name but looking at the files in S3, the name is cut off.
Example 1: uploading file from workspace "index.html"
Becomes "x.html" in the S3 bucket
Example 2: uploading file from workspace "testing.html"
Becomes "ing.html" in the S3 bucket
Example 3: uploading path and file from workspace "static/index.html"
Becomes "ic/index.html" in the S3 bucket
I've tested this and recreated the Jenkins job and reproduced this bug several times.