jenkinsci/s3-plugin — pull request #21 by masterzen (2014-01-31 12:46:30+00:00)
Title: JENKINS-21594: Allow to upload file without wildcard

Commit 24a3b88a7b9acb0532deabe686944e53747c49a9 introduced a feature for wildcard uploads, but broke
the original behavior if your upload is configured with a straight
filename.

For instance:
Destination bucket: path/to/dir
Source: file.tar.gz

Would be uploaded as path/to/dir, missing completely the source file name.

This commit fixes this specific issue.

This is tracked in:
https://issues.jenkins-ci.org/browse/JENKINS-21594