public
Description: Upload Hudson build artifacts to Amazon S3
Homepage:
Clone URL: git://github.com/dougm/hudson-s3.git
name age message
file .classpath Tue Jan 20 20:59:50 -0800 2009 add eclipse project files [dougm]
file .project Tue Jan 20 20:59:50 -0800 2009 add eclipse project files [dougm]
directory .settings/ Tue Jan 20 20:59:50 -0800 2009 add eclipse project files [dougm]
file README.markdown Tue Jan 20 20:15:49 -0800 2009 initial import [dougm]
file dotm2_settings.xml Tue Jan 20 20:15:49 -0800 2009 initial import [dougm]
file pom.xml Tue Jan 20 20:15:49 -0800 2009 initial import [dougm]
directory src/ Wed Jan 21 00:06:04 -0800 2009 FilePath.read required for remote builds [dougm]
README.markdown

Install

  • Upload target/s3.hpi to your instance of Hudson
  • Configure S3 profile: Manage Hudson -> Configure System -> Amazon S3 profiles
  • Project -> Configure -> [x] Publish artifacts to S3 Bucket

Building

You do try either:

  1. Within the Hudson tree
  2. The plugin originally expected to live in the hudson/plugins/s3 directory of a Hudson svn checkout
  3. While in the s3 directory, just run mvn
  4. Standalone tree
  5. While in the hudson-s3 directory, with no parent Hudson source, mvn might work
  6. Note: you may have to move dotm2_settings.xml to ~/.m2/settings.xml

Notes

  • Only the basename of source files is use as the object key name, an option to include the path name relative to the workspace should probably added.

Acknowledgements

  • The Hudson scp plugin author for providing a great place to start copy/pasting from
  • http://github.com/stephenh/hudson-git2 - for this README.markdown template and a great git plugin for hudson
  • jets3t - http://jets3t.s3.amazonaws.com/index.html