About once a year I revisit (link) this topic again (usually when the plugin causes trouble). Now I get this signature error
AWS Error Code: SignatureDoesNotMatch, AWS Error Message: The request signature we calculated does not match the signature you provided. Check your key and signing method., S3 Extended Request ID:..
The good news first:
The S3 plugin became mainstream, you can install it from the plugin page under Jenkins Administration | Plugin Manager. You dont need to build the plugin any longer by yourself and can skip the rest of this entry.
The long version:
It seems the error is caused by a ‘+’ sign in the access key troubling the encoding function used (see issue). The latest build (Sep 2012) should fix this problem.
If you want to build by yourself, you need to get the sourcecode from git and build the plugin file, beware as it requires Maven 3 now. Below instructions apply fro Ubuntu.
- sudo add-apt-repository http://ppa.launchpad.net/natecarlson/maven3/ubuntu
- sudo apt-get update
- apt-get install maven3
- Change to any folder and clone the plugin from https://github.com/jenkinsci/s3-plugin
git clone https://github.com/jenkinsci/s3-plugin.git
- After a while of downloading dependencies you should get a hpi file for Jenkins